Skip to content

fix(ui): draw the op list in the dark theme - #84

Merged
yultyyev merged 1 commit into
fix/ui-clip-file-namesfrom
fix/op-list-dark-rows
Nov 16, 2026
Merged

yultyyev merged 1 commit into
fix/ui-clip-file-namesfrom
fix/op-list-dark-rows

Conversation

@yultyyev

@yultyyev yultyyev commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #81

Stacked on #83. Merge this into fix/ui-clip-file-names first, then merge #83 into main, so both fixes ship in one release.

Op list before and after: light gray buttons before, dark rows after

The op list on the left of clip ui, from the same workspace before and after. Row 2 is selected and row 3 is hovered.

What

  • Clears the browser's button styles on .op-list .op in src/ui/web/src/styles.css: background, border, border radius, font, text alignment, width and text color.
  • The existing rules for each state now show. Ops sit on the panel color (--bg-1) with --border dividers. A hovered op turns --bg-2, and the selected op gets --accent-soft with the --accent bar on the left.

Why

  • Each op is a <button>, and the rule never cleared the browser's default button look. Ops showed as light gray boxes with centered text and a raised border, and the light gray text on them was hard to read.
  • No new colors: the rule only uses the theme's existing variables. Picked from three mocked styles (flat rows, cards, compact rows), taken as screenshots of the real UI.

Release

Merging this PR publishes nothing, because it lands on #83's branch. Merging #83 into main then publishes one patch (0.5.2) with both fixes and the README changes already on main since 0.5.1. #81 closes then, from the Closes #81 line in this commit's message.

Checks

  • pnpm lint: pass. The 7 warnings are already on main, all in tests/.
  • pnpm type-check: pass.
  • pnpm test: 845 passed, 27 skipped.
  • pnpm build: pass.
  • /verify: typecheck, lint and build pass. Tests show UNMAPPED, because no test covers styles.css. The screenshots cover it instead.
  • Browser: checked in headless Chrome against vite dev and a scratch API server, with ops from a demo workspace (three imported clips and a trim). Checked the default, hover and selected states, and long paths now end in an ellipsis.
  • Codex review (codex review --base main): no findings. Its summary: "No actionable regressions were identified." Nothing to fix or rebut.

Each op in the list left of the monitor is a <button>, and `.op-list .op`
never cleared the browser's button styles. Ops showed as light gray boxes
with centered text and a raised border, and the light gray text on them
was hard to read. Clear the background, border, font and alignment so the
existing dark rules show: the panel color by default, a lighter row on
hover, and the blue tint and left bar when selected.

Closes #81

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yultyyev
yultyyev changed the base branch from main to fix/ui-clip-file-names November 16, 2026 02:20
@yultyyev
yultyyev merged commit 59542e7 into fix/ui-clip-file-names Nov 16, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.5.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI: op list renders light boxes in the dark theme

1 participant