-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Move date-range-picker to Top for Logbook and History #22947
Move date-range-picker to Top for Logbook and History #22947
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@boern99 can you add a mobile screenshot too please? |
|
In your mobile screenshot I miss the button to select a date? |
can be selected by clicking on the date |
should i use a shorter Date Format? But when i leave the time Information: it would need more space than in Energy Dashboard: 2 Lines for start and end date as in this PR? Leave the Dateselector until there is no space left? Would it be better to hide the Date and leave the Dateselector? If you like to change the code feel free to make a Suggestion. |
It's a good idea, but we have to discuss this with the UX team. I am pretty sure we can get an awesome design to improve this selector, it is possible that it can take some time. |
@boern99 We've prepared a design that should solve some of the UI/UX problems. |
Yes this would be better than now but in my opinion not as good as my last version in this pull request. Why has the Energy-Dashboard its Date-Selector in the Header and Loogbook and History should not? That doesn't really look right to me. The header would also have the advantage that it sticks at the top what specially for mobiles would have an advantage. |
The difference to energy dashboards are:
We would like to have all inputs together time range + target picker, that won't be possible in the top bar. |
😄 good catch. Yeah I would say it is not right placed. I understand that you invested time in implementing your solution and thats awesome thank you! We discussed it and ask for design help from @marcinbauer85. We know that not all parts are consistent and that there are multiple oppinions on how to design panels. We have one more designer and try our best to work on a consistent design everywhere. If you don't have enough time to change it to Marcins version, I can try to implement it next week. |
@boern99 the energy dashboard has a old design implemented, which doesn't account for corner cases like for history and logbook. The top bar is overcrowded especially on mobile, and based even on old MD2 design principles it shouldn't be used for picking dates and filtering (top bars are mostly for navigation and general view options), hence the UI proposed in the design is in the content area, which will lay a foundation for future UX improvements to this and other views. @wendevlin might help with the input situation. As for zoom in/out, these are controls that are related to the graph itself, so having them near the date picker might be confusing. Also graphs could benefit of pinch/pan/zoom gestures on mobile, rather than specific buttons. |
UX is still subject to change but I am working on zoom for graphs #23183 |
@boern99 there is |
0353f2e
to
ddd6460
Compare
Breaking change
Proposed change
This is an missing Style-Improvement for bed470f
@wendevlin: referring your discussion: #22802 (comment)
Displays Prev. and Next buttons also on mobiles.
Similar to the Energy Dashboard, selecting the date in the header area offers added value, especially on mobile devices.
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: