-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enh(breadcrumb): conditionally renders button when no redirection link given #5077
enh(breadcrumb): conditionally renders button when no redirection link given #5077
Conversation
after reviews given on this PR: nextcloud-libraries/nextcloud-dialogs#1169 , came to the conclusion that rendering a button for the breadcrumbs makes the most sense semantically 👍 |
22149cd
to
000d3a7
Compare
Since |
000d3a7
to
2c7aab6
Compare
Changed to use NcButton 👍! |
:title="title" | ||
:aria-label="icon ? name : undefined" | ||
v-bind="linkAttributes" | ||
v-on="$listeners"> | ||
<!-- @slot Slot for passing a material design icon. Precedes the icon and name prop. --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be kept for the docs 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CSS changes break the hiding of the breadcrumbs. @emoral435 Do you mind if I push a commit to fix this?
@emoral435 I hope you don't mind that I pushed a commit here to handle the visual changes introduced by switching to |
b4bb21f
to
7347ea6
Compare
…k given Signed-off-by: Eduardo Morales <[email protected]>
Signed-off-by: Raimund Schlüßler <[email protected]>
7347ea6
to
3062161
Compare
I personally did not mind! Thank you for the changes :) enabling auto-merge 🫡 |
☑️ For nextcloud/server#42624
This fixes the semantic problems when no redirection link is provided to the NcBreadcrumb component, so it renders our own NcButton. To fix the problem references, nextcloud/server#42624, we would have to update NcDialog's library version for vue
🖼️ Screenshots
🏁 Checklist