Skip to content

desktop: sidebar scrollbar only shows on hover (+ run-desktop skill) - #114

Open
pallaoro wants to merge 2 commits into
mainfrom
show-sidebar-scrollbar-opacity-only-on
Open

desktop: sidebar scrollbar only shows on hover (+ run-desktop skill)#114
pallaoro wants to merge 2 commits into
mainfrom
show-sidebar-scrollbar-opacity-only-on

Conversation

@pallaoro

@pallaoro pallaoro commented Aug 6, 2026

Copy link
Copy Markdown
Member

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 when bun install lands the wrong better-sqlite3 prebuild, a db seeder for list states, and a CDP driver whose synthetic mouse is the only thing that makes :hover fire 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 and rgb(47,47,55) on hover, confirmed in cropped screenshots.

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
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.
@pallaoro pallaoro changed the title desktop: sidebar scrollbar only shows on hover desktop: sidebar scrollbar only shows on hover (+ run-desktop skill) Aug 6, 2026
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