Skip to content

Hide sidebar top fade at scroll boundary#5643

Merged
ComputelessComputer merged 1 commit into
mainfrom
fix/sidebar-top-scroll-fade
Jun 21, 2026
Merged

Hide sidebar top fade at scroll boundary#5643
ComputelessComputer merged 1 commit into
mainfrom
fix/sidebar-top-scroll-fade

Conversation

@ComputelessComputer

@ComputelessComputer ComputelessComputer commented Jun 21, 2026

Copy link
Copy Markdown
Collaborator

Render the timeline top fade only after the sidebar has scrolled down and cover the boundary in timeline tests.


Note

Low Risk
Small conditional UI change in sidebar timeline chrome with updated unit tests; no data, auth, or API impact.

Overview
The sidebar timeline top chrome gradient overlay (data-sidebar-timeline-top-fade) no longer renders when the list is at the top of the scroll area. It now appears only when topChromeInset is enabled and the user has scrolled down (!isScrolledToTop), matching the existing scroll-mask behavior for hidden future content.

Tests assert the fade is absent before scrolling, then simulate scroll and verify the fade still uses the expected compact h-16 styling when the “Go back to now” chip path is active.

Reviewed by Cursor Bugbot for commit b2583e7. Bugbot is set up for automated code reviews on this repo. Configure here.

Render the timeline top fade only after the sidebar has scrolled down and cover the boundary in timeline tests.
@netlify

netlify Bot commented Jun 21, 2026

Copy link
Copy Markdown

Deploy Preview for old-char canceled.

Name Link
🔨 Latest commit b2583e7
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a37f17f1ffae400084612d5

@ComputelessComputer ComputelessComputer merged commit 2b9d773 into main Jun 21, 2026
10 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/sidebar-top-scroll-fade branch June 21, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant