Repository navigation
fix(app): keep Home's date headers visible while scrolling - #64665
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
I recommend merging this as is. On the base, the Home story filtered to a project with a single session today shows its "Today" header at opacity 0. With this change the header is visible, stays stuck while scrolling, and fades out as "Yesterday" reaches the sticky position. I checked this in headless Chromium against the Home story on both checkouts. The src/home unit tests and tsc -b pass.
The public API is unchanged: only Home's internal scroll controller and session view are touched.
No concerns.
1 task
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.


Summary
Home's "Today" header could stay invisible: the header fade measured each group header from the wrong frame, and headers reused in place stayed registered under the group they were created for.
No feature flag: bug fix.
Evidence
After: "Today" shows, sticks while scrolling, and hands off to "Yesterday"; checked by hand in the desktop app.
Merge Danger
Door: two-way
Blast Radius: Home's date-header fade only.