Add lines to graph and mini graph for "current time" on prior days - #644
Merged
marionbarker merged 4 commits intoSep 17, 2026
Merged
Conversation
- Add vertical dotted orange lines to main graph for "this time" on prior days when scrolling back - Add vertical dotted orange lines to the mini graph for "this time" on prior days
- Removed unneeded empty lines
aug0211
requested review from
bjorkert,
codebymini and
marionbarker
as code owners
August 11, 2026 04:36
Member
|
In what way are they tappable, what should happen if you tap them? |
Contributor
Author
Member
|
Thanks for the clarification and for updating the description. Tapping anywhere on the mini graph already positions the main graph at that time, lines or not, so that part is existing behavior rather than something this PR introduces. The lines themselves are a nice visual aid. Before proceeding I would like them behind a Graph settings toggle next to Show Midnight Lines, default off, like the other time markers. |
Contributor
Author
|
Good idea that makes sense. |
The vertical dotted orange lines marking the current time on prior days rendered unconditionally on both the main and mini graphs. Gate them on a new "Show Prior Day Time Lines" toggle in Graph Settings, defaulting to off, so they behave like Show Midnight Lines and the other time markers. The new storage key is unset for existing users, which reads as false, so the lines are hidden until explicitly enabled.
Contributor
Author
|
@bjorkert I took a crack at this and it's committed now. |
bjorkert
approved these changes
Sep 17, 2026
marionbarker
approved these changes
Sep 17, 2026
marionbarker
left a comment
Collaborator
There was a problem hiding this comment.
Approve by test on iPhone 15 pro with 4 days of data.
Very nice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Uh oh!
There was an error while loading. Please reload this page.