Skip to content
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

fix: open settings button #2098

Merged
merged 3 commits into from
Oct 23, 2023
Merged

fix: open settings button #2098

merged 3 commits into from
Oct 23, 2023

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Oct 21, 2023

A part of https://github.com/nextcloud/andy/issues/5

Error: Element li not allowed as child of element div in this context. (Suppressing further errors from this subtree.)

<NcAppNavigationItem> - renders as a list item <li> and is not allowed in the navigation footer without UL wrapper.

But this part of the UI is not a list or navigation link, it only opens a modal.

This PR replaces navigation item with button.

The position of the icon is still a bit not in line, but IMO it should be fixed on the Nextcloud/vue side.

Also fixed new Vue 2.7 :deep selector usage.

Before After
image image

@ShGKme ShGKme added bug Something isn't working 3. to review Waiting for reviews accessibility labels Oct 21, 2023
@ShGKme ShGKme self-assigned this Oct 21, 2023
@ShGKme ShGKme changed the title fix: open settings button fix: open settings button and minor changes Oct 21, 2023
@ShGKme ShGKme force-pushed the fix/show-settings-button branch from c2ee50b to 28f5c16 Compare October 21, 2023 14:27
@ShGKme ShGKme marked this pull request as draft October 21, 2023 14:28
Signed-off-by: Grigorii K. Shartsev <[email protected]>
@ShGKme ShGKme force-pushed the fix/show-settings-button branch from 28f5c16 to cfe9479 Compare October 21, 2023 14:53
@ShGKme ShGKme requested a review from susnux October 21, 2023 14:59
@ShGKme ShGKme added this to the Nextcloud 28 milestone Oct 21, 2023
@ShGKme
Copy link
Contributor Author

ShGKme commented Oct 21, 2023

/compile / amend

@ShGKme ShGKme marked this pull request as ready for review October 21, 2023 15:04
@ShGKme ShGKme changed the title fix: open settings button and minor changes fix: open settings button Oct 21, 2023
Signed-off-by: nextcloud-command <[email protected]>
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

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

We probably should have this in the library as an alternative to NcAppNavigationSettings

@ShGKme
Copy link
Contributor Author

ShGKme commented Oct 23, 2023

We probably should have this in the library as an alternative to NcAppNavigationSettings

Just a boolean prop to show the settings button? Hmm, makes sense.

@ShGKme ShGKme merged commit fb96c79 into master Oct 23, 2023
23 checks passed
@ShGKme ShGKme deleted the fix/show-settings-button branch October 23, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews accessibility bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants