desktop: sidebar scrollbar only shows on hover (+ run-desktop skill) - #114
Open
pallaoro wants to merge 2 commits into
Open
desktop: sidebar scrollbar only shows on hover (+ run-desktop skill)#114pallaoro wants to merge 2 commits into
pallaoro wants to merge 2 commits into
Conversation
The sidebar's scroll thumb sat there permanently once the task list overflowed. Keep the thumb transparent by default and paint it only while the pointer is over the sidebar. The track keeps its width in both states, so revealing it never reflows the list.
pallaoro
enabled auto-merge (squash)
August 6, 2026 20:20
Captures what it took to see the sidebar hover change working: launch against a throwaway user-data dir so the developer's real data and any sibling worktree's dev instance stay out of the way, rebuild native modules when bun install lands the wrong arch, seed the sqlite db to reach list states, and drive the renderer over CDP — whose synthetic mouse is the only thing that makes :hover fire for a screenshot.
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 sidebar's scroll thumb sat there permanently once the task list overflowed. Keep the thumb transparent by default and paint it only while the pointer is over the sidebar.
The track keeps its width in both states, so revealing it never reflows the list. No transition — Chromium doesn't reliably animate
::-webkit-scrollbar-thumb, so a fade there would be dead code.Also adds
.claude/skills/run-desktop— the launch-and-drive procedure this change was verified with, so the next UI change doesn't rediscover it: isolated--user-data-dir(keeps the real app data and any sibling worktree's dev instance out of the blast radius), an arch check that rebuilds native modules whenbun installlands the wrongbetter-sqlite3prebuild, a db seeder for list states, and a CDP driver whose synthetic mouse is the only thing that makes:hoverfire for a screenshot.Verified in the running app with 45 seeded tasks (sidebar scrollHeight 1264 vs clientHeight 900): thumb computes to
rgba(0,0,0,0)at rest andrgb(47,47,55)on hover, confirmed in cropped screenshots.