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

Design improvements & issues in ListItem #2853

Closed
2 tasks done
jancborchardt opened this issue Jul 18, 2022 · 6 comments
Closed
2 tasks done

Design improvements & issues in ListItem #2853

jancborchardt opened this issue Jul 18, 2022 · 6 comments
Labels
bug Something isn't working design Design, UX, interface and interaction design feature: app-content-list Related to the app-content-list component
Milestone

Comments

@jancborchardt
Copy link
Contributor

jancborchardt commented Jul 18, 2022

Based on the Mail app, here are some proposed design improvements and issues in AppContentListItem:

  • There is no whitespace left and right of the element. E.g. 4px whitespace would make it look much better, like we do for the updated AppNavigation: Use large border-radius in AppNavigation #2571 (comment)
  • For improved focus, we could always bold the main text, in this case the sender. Then we could also put the subline in color-main-text, and only bold the subline on unread. (The unread bubble indicator is also there like in Talk, so that is plenty indication.)

@marcoambrosini @GretaD what do you think?

→ Issues specific to Mail filed at nextcloud/mail#6901

Mail navigation

@jancborchardt jancborchardt added bug Something isn't working 1. to develop Accepted and waiting to be taken care of design Design, UX, interface and interaction design feature: app-content-list Related to the app-content-list component labels Jul 18, 2022
@jancborchardt
Copy link
Contributor Author

Ref also nextcloud/mail#6079 by @nimishavijay which has a complete mockup of it.

@marcoambrosini marcoambrosini changed the title Design improvements & issues in AppContentListItem Design improvements & issues in ListItem Jul 18, 2022
@marcoambrosini
Copy link
Contributor

marcoambrosini commented Jul 18, 2022

Whitespace: I'd refrain from adding margin to these components, given that they can be used in different contexts and might require fine tuning in the white space around them. I'd add some padding left and right to the parent component instead (AppNavigation or AppContentList), since we don't want anything at all to touch those edges anyway.

Focus behaviour: changing the font weight on focus will result in words jumping around and being ellipsized at different lengths depending on the focus state. I think we should implement something similar to the button component instead:

Screen.Recording.2022-07-18.at.15.43.36.mov

Another comment here for the groupware team since this is assigned to them. You can see that the content of the list item is not vertically centred with its background, I suspect you're populating the slot for the tags with something even when there are no tags.

@nimishavijay
Copy link

For improved focus, we could always bold the main text, in this case the sender.

Bolding is used as a read/unread indicator in some apps, so should take that into consideration.
Agreed about the whitespace ✓

@jancborchardt
Copy link
Contributor Author

jancborchardt commented Jul 19, 2022

I'd add some padding left and right to the parent component instead (AppNavigation or AppContentList), since we don't want anything at all to touch those edges anyway.

Sounds good to me! :)

Bolding is used as a read/unread indicator in some apps, so should take that into consideration.

Yup, which is why I noted: "and only bold the subline on unread. (The unread bubble indicator is also there like in Talk, so that is plenty indication.)" :)

@marcoambrosini I am not saying to bold the text of the focused item – you are right then it would jump. I’m saying to always bold the main line (the sender in Mail, the conversation title in Talk, the name in Contacts):

Current Title line bold: Way more focus, easier to scan
title before names bold

@marcoambrosini
Copy link
Contributor

oh ok, sgtm too then :)

@jancborchardt
Copy link
Contributor Author

These points have been fixed meanwhile! :)

@jancborchardt jancborchardt added this to the 7.0.0 milestone Oct 20, 2022
@jancborchardt jancborchardt removed the 1. to develop Accepted and waiting to be taken care of label Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working design Design, UX, interface and interaction design feature: app-content-list Related to the app-content-list component
Projects
None yet
Development

No branches or pull requests

3 participants