Repository navigation
fix(session-ui): polish compaction divider hover, sticky summary header and long tool rows - #59330
Open
kitlangton wants to merge 6 commits into
Open
kitlangton wants to merge 6 commits into
kitlangton wants to merge 6 commits into
Conversation
kitlangton
force-pushed
the
compaction-polish
branch
from
October 26, 2026 17:42
9f07ece to
5403c74
Compare
kitlangton
force-pushed
the
compaction-polish
branch
from
October 26, 2026 20:04
d48df52 to
308bd3e
Compare
1 task done
kitlangton
force-pushed
the
compaction-polish
branch
from
October 28, 2026 15:49
308bd3e to
c8fc902
Compare
…er and tool row fade
…p following on stuck collapse
kitlangton
force-pushed
the
compaction-polish
branch
from
October 30, 2026 02:57
c8fc902 to
67b300f
Compare
This branch has not been deployed
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.
The "Compacted" divider now warms as one word on hover, stays reachable while its summary is open, and long tool rows fade out instead of cutting off.
Compaction is when the app folds old conversation into a short summary; the "Compacted" divider opens it. Short tool rows and closed summaries look the same as before.
❌ Before
✅ After
📊 Proof
Fades zoomed at 2x: the previous linear ramps (16px under stuck headers, 24px on rows) left a visible band; the eased ramps don't.
Against
dev(the After shots here predate the eased fades):Right-to-left rows:
Sticky collapse clip: https://problems.kitlangton.com/media/5YbxoGAnpJKcHyfT66D-CA.mp4
Three new component tests (sticky header collapses in place and shows its fade only while stuck; overflowing row fades, short one doesn't; long web search query fades with no ellipsis) fail without the change and pass here. Keeping the summary open across remounts and the unpin have no automated test: both need the app's virtualized timeline with real compaction rows.
👀 Read: the stuck-header fade uses
scroll-statecontainer queries; without them a header just keeps today's hard edge. When a file card sticks right under an open tool group header, the fade also softens that card's top border.basic-tool.css, the row fade. It relies on scroll-driven animation, so a browser without it shows plain clipped text with no ellipsis; Electron and current Chromium have it. Shell commands stay left-to-right, so their fade stays on the right even in an RTL layout. The rest is routine.Found while using the session timeline · screenshots from the component stories · zoomed fade stills taken on the current head
Checks run
bun typecheckinpackages/session-ui: no errors;bun run lint:changed: clean