-
Notifications
You must be signed in to change notification settings - Fork 85
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 the space between navigation icon and label #2343
Conversation
It would also help to correctly align the three dot menus on the right. |
and with this you mean to have it always on the right, and not to depend on the mailbox label? |
#1808 was merged and so any change on master is going to be 5.x. we have to backport this |
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.
@GretaD How do you even get more than one level nesting with |
Remove the && top here: https://github.com/nextcloud/mail/blob/e2978c668d11ad2a190bc372315e3d6a11444239/src/components/NavigationMailbox.vue#L58 |
And a quick review from @jancborchardt, @skjnldsv or @nimishavijay would be good, since it affects the global layout a bit and I am not the one to judge what is intended there. |
We had a call with Nimisha, so she is aware, but would be nice to have a final look. |
9956456
to
38083ca
Compare
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.
Looks really nice here, but since this a change in the component itself can we be sure that other apps are not affected? Eg. Deck
They sure will be affected. Every app which uses |
All apps that use this component are affected but the scenario with more than one children is only mail(IIRC). The space between icon and label is very wide everywhere, thats why we did it here. |
Every app will be affected. That's why it needs approval from the Designer team 😉 |
@jancborchardt please also tell us if you consider this more of a design change or a bugfix. Only if the old intention was a design bug I would backport. Otherwise this should only come with v5.0 and marked as breaking design change. Not breaking in the sense of the old app code needs to be adjusted but that the component now renders differently and app devs have to decide what versions of Nextcloud they want to ship this. |
this screenshot doesnt have my changes, check the one on the ticket. The result you see now its the space that the icon "forces" because its 44h and 44w. I am not sure if we should change that. |
Many apps have only one sublevel of hierarchy, no? (Files, Deck, Notes) In that case less indentation would look odd. This is kind of an edge case in Mail. Would it be possible to enforce this reduced indentation only when there are more than 3 sub levels? What do you think? cc @jancborchardt |
Files dont use the component, but i tested it with Deck and it looks very nice. I dont have a screenshot, but try to test it and see. No its not an edge case, icon is too far from the text starting from the main level and then to the children. So it will look odd if we change it only for mail IMO. |
The change makes sense and @GretaD’s fix & screenshot looks good – cause the folder icon of the subentry is exactly between the icon and text of the parent. It is also ok to do it as a general change for every app. Additionally, cause Files is the only of the "Hub" apps which doesn’t use the components yet, could the change also be done there so it looks common? If it should be backported or not I would say is your call @ChristophWurst. |
Signed-off-by: greta <gretadoci@gmail.com>
38083ca
to
07d9124
Compare
Please open a ticket on server for it :) |
there's a lot of space between the icon and the label. On mail app that doesnt look good when we have more than one level submailbox. Even though we removed the option to add more than one level submailbox, the people who added more than one level before we removed it, have problem reading the name of their mailboxes.
before
after