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

Show day/date when spanning across days #364

Closed
theone11 opened this issue Apr 8, 2023 · 7 comments · Fixed by #379
Closed

Show day/date when spanning across days #364

theone11 opened this issue Apr 8, 2023 · 7 comments · Fixed by #379
Assignees
Labels
enhancement New feature or request

Comments

@theone11
Copy link

theone11 commented Apr 8, 2023

Is your feature request related to a problem? Please describe.
I use OpenWeatherMap for the hourly weather and it gives data each 3 hours.
I have the card configured to show 36 segments that span multiple days but it is difficult to understand which day it is for each segment.

image

Describe the solution you'd like
It would be great if there was an option (1 or more) to enable showing day seperator and/or day and/or date

Describe alternatives you've considered
If not then maybe a color change of the text for each day (swap between 2 colors for each day change)

@decompil3d
Copy link
Owner

I like the idea, but not sure yet on the best way to do this in the UX. Let me think on it a bit. If folks have suggestions for me to consider (beyond your initial proposals above) please comment.

@decompil3d
Copy link
Owner

@theone11 Can you please give me your thoughts on some of these ideas?

  • What if the "tick mark" for a segment was a different color at each day boundary? Like, in your screenshot, the mark between 9pm and 3am could be white instead of gray to indicate a day change.
  • What if hovering on the time gave the time and date?

@theone11
Copy link
Author

By "tick mark" do you mean the text? If yes then I would choose a totaly different color so it will stand out more - white and gray are too similar - maybe choose the active color of the theme?

Hovering for time/date won't help in my case because I use a touchscreen (tablet, smartphone, touch display) which has no "hover" functionality.

@decompil3d
Copy link
Owner

It seems like perhaps your theme or card is customized, but the standard look of the card has some small vertical lines between the bar and the labels below that delineate each segment boundary.

For hover, I could use the tooltip module that is used on the bar itself, so tapping on the hour would show the tooltip. You'd want to adjust the action config on the card to open the more-info view on double-tap or long-tap though. Would that work?

Otherwise, I could add an option to show the date whenever it's different than the prior label. It would push down all the labels by 1 line, though. Would that be ok? It'd be optional and off by default, so most users would not be impacted.

@theone11
Copy link
Author

I like the optional option you suggested. My theme is indeed custom (AMOLED Blue)

@decompil3d
Copy link
Owner

Would you expect the date to show above the hour or below it? Here's what it looks like above, when using the mode that only shows dates on day boundaries:

image

@decompil3d decompil3d self-assigned this Apr 24, 2023
@decompil3d decompil3d added the enhancement New feature or request label Apr 24, 2023
@theone11
Copy link
Author

Above like in your picture. Looks excellent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants