Skip to content

feat(viewer): page and settings scrollbars in the gutter, seconds they stay in settings - #431

Merged
daggerok merged 1 commit into
mainfrom
feat/page-gutter-scrollbar
Dec 3, 2026
Merged

daggerok merged 1 commit into
mainfrom
feat/page-gutter-scrollbar

Conversation

@daggerok

@daggerok daggerok commented Dec 3, 2026

Copy link
Copy Markdown
Owner

What

  • The page's own scrollbar is hidden; our gutter bar (the one the tables use) runs in the middle of the gutter right of the cards, and left of them when that side is chosen. It works on every page (one scrolling box for all tabs); a phone, where the whole page scrolls, keeps the browser's
  • The ⚙️ Settings panel scrolls with the same bar in the gutter right of the panel, drawn in the panel's layer above its halo
  • ⚙️ Settings: right after Right Below Left Above, on the same line, the seconds the bars stay after a scroll: 1, 2, 3, 5, 10 s, 3 by default (app/scroll-shown.ts, key accounts.scrollbarSeconds). It holds for every bar: the gutter bars and the native ones (revealScrollbars reads it at each scroll)
  • Removed useScrollbarRoom and app/scrollbar-room.ts (the room of the native page bar is no longer needed)

Why

Owner 2026-12-03: "vertical scroll is hiding too fast and its not in a mid of here", "our configuration should be applied to the whole site and all its pages properly not only fidelity summary", "also add in settings time configuration how many secconds it will be visible after moving", "right after a [the sides] in the same line". The browser's bar stood at the window's edge and a Mac hid it after about a second

Checks

  • bun test: 544 pass (new: scroll-shown.test.ts, the time read at each scroll in scrollbars.test.ts)
  • .claude/tools/etfs/tc/check.sh on the changed files: clean
  • parcel build: ok
  • Chrome on localhost:1237 with made-up data: the page bar at x 2044 with the cards ending at 2032 and the window at 2056; shown at 2.5 s and gone at 3.5 s with 3 s, shown at 8 s and gone at 10.5 s with 10 s; the Settings bar in the same gutter middle, in the panel layer; at 360 and 400 px the seconds wrap under the sides, nothing scrolls sideways

@daggerok
daggerok merged commit f650984 into main Dec 3, 2026
1 check passed
@daggerok
daggerok deleted the feat/page-gutter-scrollbar branch December 3, 2026 14:39
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