-
Notifications
You must be signed in to change notification settings - Fork 33
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 time menu click area #4125
Fix time menu click area #4125
Conversation
This pull request resolves issue when the click area and the hover shadow were not overlaping the three dots. However, the overall layout may need some changes to look neater. I suggest discussing them and writing a new wanted behaviour here before reworking this area. Here are some issues with the current layout and my suggestions how to resolve it: Position of the menu dotsIt's part B of the expected behavior in the original issue #4009: the menu being too far avay from the time.
A possible fix could be setting some extra distance between the time containers. For example even 10 extra pixels visually separate the menu from the next time block: What to discuss:
Vertical alignmentTime areas are not aligned into the columns when the participants have structure levels with different lenghts. The smaller the screen, the more noticeable this problem is. Possible solution:
Handling long structure level namesUsers are allowed to create long structure level names. If they do so, it makes the widgets positioning less consistent: Possible solution is to limit the widget width and wrap the text if it's too long. In this example the widget width is 2 times bigger than the time width: However, this change would make the widgets taller. Is that okay? Top line widthShould its length remain dependent on the structure level text width (like on all the first 3 screenshots) or be fixed (like on the last one)? Second option looks neater to me. |
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.
The fix needs some improvements and best a conversation about it.
-
In the current state the fix leads to to the situation, that the mat cards left to the speaking times widget are smaller. This is not good. Especially on on smaller screen sizes, like tablets, this isn't user friendly. -> The mat card width should not be changed. Changes should only be made inside the cards.
-
The three-dot-menu is still not optimal places. The elements can't easily be dinstingushed if the strcuture levels have a color. It must ne easier to separate the logical elements groups from each other. -> A solution could be to cut off the color a bit. Emanuel and I think, that a time in the style -999:99 should be the max value. The color should be trimmed around this value.
-
The three-dot-menu is still no far from the number. Maybe the second CR can help, but I think, we should place is a bit nearer to the number even if this would lead to an overlapping of the elements.
Please excuse me for not responding directly to your suggestions. I had only looked at the PR and based my CR on it. That was not correct. About the implementation: The last picture looks good. The arrangement along a grid is a good idea. However, a few points would need to be considered.
Context for the second key point: The three-dot menu appears detached from the associated element or, due to the length of the color strokes, it currently appears that this menu could also belong to another element. I hope that the above changes will be sufficient to make it easier to distinguish the elements that belong together. |
Width 111px corresponds the length of the time block when time is equal to -999:59 (longest possible value).
The list of changes:
Changes for phones (screen size < 500px)
@MSoeb if some proportins still don't feel right, we can arrange a meeting to check different size options together and find the best combination. |
Resolves #4009
Class 'icon-less-space-to-left' reduced the menu opening dots area width in order to fit all the times into the widget.
This commit restores this area width and reduces its right margin to make the click area overlap the dots correctly without increasing the time block width.