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

Use large border-radius in AppNavigation #2571

Conversation

quentinguidee
Copy link
Contributor

@quentinguidee quentinguidee commented Mar 23, 2022

Border-radius! Now for the AppNavigation (closes #2460).

Capture d’écran 2022-03-23 à 16 59 01

Change(s) to do before merging this PR

@quentinguidee
Copy link
Contributor Author

quentinguidee commented Mar 23, 2022

Before #2572

jZhmJ9P - Imgur

After #2572

2571.mov

@quentinguidee quentinguidee added 2. developing Work in progress enhancement New feature or request feature: app-navigation Related to the app-navigation component labels Mar 24, 2022
@GretaD
Copy link
Contributor

GretaD commented May 17, 2022

Hey @quentinguidee, thank you for initiating this. Do you need any help to finish it?

@quentinguidee
Copy link
Contributor Author

Hi @GretaD, I don't have much time right now, but from what I had deduced, this PR first requires #2572 to work. But after that feel free to improve this PR!

Also, these two PR are made only using the styleguide. Don't hesitate to check if they work with Nextcloud without breaking anything ^^

@GretaD
Copy link
Contributor

GretaD commented May 17, 2022

Hi @GretaD, I don't have much time right now, but from what I had deduced, this PR first requires #2572 to work. But after that feel free to improve this PR!

Also, these two PR are made only using the styleguide. Don't hesitate to check if they work with Nextcloud without breaking anything ^^

thank you very much for the quick follow up, i will review them both and help you

@GretaD
Copy link
Contributor

GretaD commented May 30, 2022

What is left now is the Action Buttons, should i add those here or open a new pr?

@raimund-schluessler
Copy link
Contributor

What is left now is the Action Buttons, should i add those here or open a new pr?

I would vote for a separate PR. Makes reviewing and testing easier.

@GretaD
Copy link
Contributor

GretaD commented May 30, 2022

@raimund-schluessler can you please be the second reviewer?

Copy link
Contributor

@raimund-schluessler raimund-schluessler left a comment

Choose a reason for hiding this comment

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

I think this is to much padding. It looks a bit weird to me.
With padding:
Screenshot 2022-05-30 at 22-32-58 Tasks - Nextcloud

And without (proposed):
Screenshot 2022-05-30 at 22-33-22 Tasks - Nextcloud

@jancborchardt @nimishavijay

Besides the that, it works as expected.

@jancborchardt
Copy link
Contributor

Agree the padding on right and left is a tad much, but it also should not be none.

How much is it in Talk, 4px @marcoambrosini? We should do the same, and the padding on the top of the list should be same as on sides.

@raimund-schluessler
Copy link
Contributor

Agree the padding on right and left is a tad much, but it also should not be none.

How much is it in Talk, 4px @marcoambrosini? We should do the same, and the padding on the top of the list should be same as on sides.

4px sounds good. We use the same in the Actions dropdown now.

@marcoambrosini
Copy link
Contributor

Yes that sounds good. Mail is not a good benchmark here because the hover and active feedbacks of the listitem actually touches the edge, and that should never happen. Basically we should avoid visual tangents at all costs, as they create tension and discomfort.

Screenshot 2022-05-31 at 16 30 49

Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
@raimund-schluessler
Copy link
Contributor

I rebased the branch and adjusted the padding. This is how it looks now (with the new Action menu as reference):

Screenshot 2022-05-31 at 23-06-30 Tasks - Nextcloud

@raimund-schluessler raimund-schluessler added 3. to review Waiting for reviews and removed 2. developing Work in progress labels May 31, 2022
Copy link
Contributor

@marcoambrosini marcoambrosini left a comment

Choose a reason for hiding this comment

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

very nice!

although the element will need a height increase of 8px to avoid the tangents of the action element hover feedback, but it's a separate issue

Screenshot 2022-06-01 at 13 31 13

@raimund-schluessler raimund-schluessler merged commit 2660f5e into nextcloud-libraries:master Jun 1, 2022
@jancborchardt
Copy link
Contributor

Is there a related pull request in Files for this? @PVince81 @skjnldsv or does it use the Vue components already?

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 enhancement New feature or request feature: app-navigation Related to the app-navigation component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Round background of AppNavigationItem
5 participants