Skip to content

feat: redesign the desktop chrome and consolidate the stylesheet - #18

Merged
b404dev merged 1 commit into
mainfrom
feat/frontend-design-pass
Sep 4, 2026
Merged

b404dev merged 1 commit into
mainfrom
feat/frontend-design-pass

Conversation

@b404dev

@b404dev b404dev commented Sep 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

A front-end design pass aimed at hierarchy, legibility, and UX friction. Rendered through the mock harness before and after; screenshots are in the review page linked from the conversation.

Changed

  • One stylesheet. styles.css, security.css, and cockpit.css had five overlapping "passes" redefining the same selectors (the shell grid alone was declared five times) with !important overrides and ~40% dead rules. They are now styles.css (tokens → base → chrome → views → overlays), themes.css (one block per theme, generated by merging the three per-theme fragments), and splash.css (the brand animation, moved verbatim).
  • Type scale. Nothing below 10px. Labels 11px, body 12–13px, view titles 24px.
  • Shell. The workspace header row is gone; Pull latest, Editor, and GitHub live in the titlebar. The rail is a fixed 72px strip with visible labels; it no longer expands to 204px on hover and covers the view you just opened.
  • Lint opens from a header button instead of a permanent 38px bar above the code.
  • Command palette now includes Pull latest, Refresh, and "Switch to " for local repositories.
  • Toasts surface failures with a "View logs" shortcut instead of only a badge on the rail.
  • Stats replaces the branch-count bar (meaningless) with a contributor commit-share bar.
  • Splash is 5s and skippable by clicking anywhere.
  • Keyboard: tree toggle moved from Tab to T.

Fixed

  • Branch picker showed the first branch when the current branch was unknown.
  • The whole-app scale transform sized the shell from an already-scaled unit (100vh / scale²), leaving a gap at 120%. The root chain is now pinned to the viewport and clipped, so scrollIntoView in tree navigation cannot scroll the page.
  • The Selenium harness lacked GitIdentity, so the titlebar threw on startup and the suite has been red since 0.1.16. The bridge cache now also converts synchronous failures into rejections.

Verification

  • make check passes (vitest, tsc/vite build, go test, vet, gofmt).
  • npm run test:e2e passes.
  • Screenshotted every view at 1440×900, 1180×740, and 120% UI scale, in Abduction Night, Daylight Sighting (light), Lost Mary, and Terminal Contact.

Replace the three accreted stylesheets (styles, security, cockpit) with one
cascade plus a generated themes.css and a self-contained splash.css. Introduce
a real type scale, a single interactive highlight, consistent radii, and a
restrained glow budget.

Shell: remove the redundant workspace header row and move repository actions
into the titlebar; make the rail a fixed-width strip with visible labels
instead of expanding over content on hover; add failure toasts with a
"View logs" shortcut; list repositories and repository actions in the
command palette.

Code view: lint opens from a header button instead of a permanent bar; the
tree toggle moves from Tab to T so focus navigation works.

Fixes: placeholder when the current branch is unknown; pin the root chain to
the viewport so the UI scale transform fills the window and scrollIntoView
cannot scroll the page; mock GitIdentity in the Selenium harness so the suite
runs again; convert synchronous bridge failures into rejections.
@b404dev
b404dev force-pushed the feat/frontend-design-pass branch from 2eb800d to a825911 Compare September 4, 2026 13:55
@b404dev
b404dev merged commit f681ff9 into main Sep 4, 2026
1 check passed
@b404dev
b404dev deleted the feat/frontend-design-pass branch September 4, 2026 14:05
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