-
Notifications
You must be signed in to change notification settings - Fork 190
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
Move subscribe button to search area of Navigation #2932
Conversation
Signed-off-by: Laurent Gabardos <l.gabardos@proton.me>
5bd8996
to
6e7c8e0
Compare
Thanks for your PR, but as I said in the discussions thread the #search slot has its own purpose and unlike the contact app, news has no in-app search.
Looking where NcAppNavigationNew is used, e.g. global accounts setting in nextcloud, in the notes app, etc where it behave the same, let me think that this is a bug in the component, which should reported upstream. |
Let’s wait for your feedback on that |
Reading Nextcloud Vue Components it seems to be no bug, but you need to mock the content like described in the examples. e.g.:
You can do this if you want and if so you can also move the "new folder" button above, this should not belong to the list. |
I'm adding more intel I think it's an issue of the "default" template on the NcAppNavigation For this PR, I'm thinking to do the same as "polls", use a "hack" css to display properly the ".app-navigation__body". |
You are right, this seems to be a leftover from news 24, but I'm also not yet through what can be removed. |
Unfortunately, the style scoped cannot be used here because the [data-xxx] applied to the scoped css cannot target the ".app-navigation__body" class
I got a preference for the last one |
This should work in Sidebar.vue
|
Move new folder in the default template instead of list Signed-off-by: Laurent Gabardos <l.gabardos@proton.me>
d0ee1c4
to
1839680
Compare
Thanks. Please fix the linter errors showing by |
Signed-off-by: Laurent Gabardos <l.gabardos@proton.me>
256b820
to
e4530cf
Compare
Changed - Items list style in compact mode to improve readability (and better match v24's style) (#2918) - add shortcuts `e` or `enter` to open and `esc` to close article details in compact mode (#2934) Fixed - scrollbar in sidebar subscribe area / move new folder button in same area than subscribe (#2932) - move shortcuts to list component to work also in compact mode (#2934) - add proper title to icons in item list and details view for better accessibility (#2934) Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed - Items list style in compact mode to improve readability (and better match v24's style) (#2918) - add shortcuts `e` or `enter` to open and `esc` to close article details in compact mode (#2934) Fixed - scrollbar in sidebar subscribe area / move new folder button in same area than subscribe (#2932) - move shortcuts to list component to work also in compact mode (#2934) - add proper title to icons in item list and details view for better accessibility (#2934) Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Summary
The subscribe button is inside a container which is expecting to have more entries
The NcAppNavigation is having a dedicated place where an action button should belong, it's in the "search" slot (according to Nextcloud Contact app )
Checklist