Skip to content

Conversation

marcoambrosini
Copy link
Member

@marcoambrosini marcoambrosini commented Jun 11, 2025

requires https://github.com/nextcloud-libraries/nextcloud-vue/pull/7036/files

If we have enough similar instances we should probably upstream these changes to the NcModal component, and provide a prop to hide the header there.

Before After
Screenshot 2025-06-11 at 11 50 43 Screenshot 2025-06-11 at 11 52 11

If we have enough similar instances we should probably upstream
these changes to the NcModal component, and provide a prop to
hide the header there.

Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
@marcoambrosini marcoambrosini requested review from julien-nc, edward-ly and Jana702 and removed request for Jana702 June 11, 2025 09:53
@marcoambrosini marcoambrosini self-assigned this Jun 11, 2025
@marcoambrosini marcoambrosini added bug Something isn't working enhancement New feature or request design Design, UI, UX, etc. labels Jun 11, 2025
@julien-nc
Copy link
Member

It looks nicer indeed.
I didn't check why yet but: The close button cannot be clicked when the assistant is opened with the smart picker.

@marcoambrosini
Copy link
Member Author

The close button cannot be clicked when the assistant is opened with the smart picker.

I have no way to test this yet because I don't have any model setup so I don't see these actions. Is it a regression from this pr @julien-nc?

@julien-nc
Copy link
Member

You can enable the "testing" app which contains some providers.

Yes it is a regression. The close button can be clicked when building the main branch.

@marcoambrosini
Copy link
Member Author

Hmm, the reason is that the modal header div overlays the button, blocking it
Screenshot 2025-06-11 at 13 50 58
I don't know why the header is still there though. Is the modal mounted elsewhere when invoking it from the smart picker @julien-nc ?

@jancborchardt jancborchardt moved this to 🏗️ At engineering in 🖍 Design team Jun 11, 2025
@julien-nc
Copy link
Member

Yes it's mounted inside the smart picker modal (which contains nothing, it's a trick) to make sure it is displayed on top of it.

@marcoambrosini
Copy link
Member Author

Oh, so that's the header of the smart picker modal :)

@julien-nc
Copy link
Member

On which the assistant has no control 😞

@marcoambrosini
Copy link
Member Author

Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The combination of this and the change in nextcloud/vue works fine. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working design Design, UI, UX, etc. enhancement New feature or request
Projects
Status: 🏗️ At engineering
Development

Successfully merging this pull request may close these issues.

2 participants