-
Notifications
You must be signed in to change notification settings - Fork 91
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
Create ListItem component #616
Create ListItem component #616
Conversation
@ma12-co this will tackle the first 2 issues at nextcloud/mail#2110, right? Let me know if there’s any way to test it with that. :) |
@jancborchardt it will, but this is still very basic and it will need quite a bit of work to support all the features required by mail, contacts and talk. |
Finally coming back to this. Peek.2021-02-12.14-14.mp4So while I'm pretty confident that this will work for talk, I'm not sure about the other apps that use the two lines layout on the right side (e.g. mail). I'd be happy to see the tendency of unifying actions in the main content and stop showing these columns of 3 dot buttons in the navigation, but I'm not sure that's a suitable solution for every app. So I'd like to know from you @jancborchardt @ChristophWurst and @skjnldsv what are your thoughts on this. Should we have a toggle for these 2 types of layout? Should we have only one type? |
I like the design! Looks really nice.
As usual, the show-on-hover is strongly advised against for accessibility purpose. It's non-discoverable and incompatible with touch devices. :/ I'm afraid I can't agree with anything else that would always show the menu by default. |
If we commit to this to the letter, by extension all talk's messages should show the 3 dot menus permanently. So we'd have yet another column of those. If we take the spirit over the letter, I think there's room for discussion on when we might want do the hover/focus trick. |
Yep, I've said it numerous time too 🤷 |
Well it seems that we're about to have 2 buttons per message now, so that would be even more messy. @jancborchardt can you please share your take here? |
Not disagreeing here, the design won't be as nifty. I don't make the accessibility guidelines nor am I directly concerned by this as I am grateful to have proper vision. But I'm sure that if any of us had accessibility issues or were using voice command all day long, we would not have this "debate". |
So in the example of the menu for the individual Talk messages: This should show on hover or focus of message, but also on tap of the message → problem solved there for touchscreens. For the navigation menus it's a bit different since of course it opens something on tap and changes the view. What do you think about those 2 fixes? |
Upon further reading of
It seems that we'd only need to add the ability to dismiss the triggered hover state by pressing |
I'm honestly fine with any solution that take everything into account :)
Good question. Maybe my link was not the best suitable ressource. I found it by memory in my bookmarks. |
@ma12-co maybe there is a way to detect touch screens? That doesn't cover the keyboard-only-no-mouse usage. But if the menu is focusable and appear on focus, that might be ok for keyboard with//or keyboards? 🤔 |
Not sure about that, cause:
|
Thinking about this, in talk we really use this component in other places, like the participant selection for a new group conversation, or the participant display in the right sidebar. |
I would as well, yes. |
current state, I've been testing with talk and I think this is ready for review Peek.2021-03-29.13-39.mp4 |
42ac070
to
a83c47d
Compare
a83c47d
to
26f5596
Compare
3ac9851
to
a67978b
Compare
a67978b
to
300efa4
Compare
ce7340a
to
83a86bb
Compare
Don't forget to rebase and squash though! |
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
83a86bb
to
d01fcc7
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.
🐘
This component will be used for talk's conversations, mail's envelopes and contact's list items. The goal here is to have a unified 'layout component' that you can wrap with your custom one and add your own logic on top of it.