Skip to content

Share page scaffolding CSS across the Insights-style views (#1447 pass C) - #1450

Merged
currentbits merged 1 commit into
mainfrom
coder/refactor-c-shared-insights-page-css-6c0a9e
Oct 4, 2026
Merged

currentbits merged 1 commit into
mainfrom
coder/refactor-c-shared-insights-page-css-6c0a9e

Conversation

@currentbits

Copy link
Copy Markdown
Owner

Pass C of #1447. Activity, Insights, Fleet, Digest, PrList, Kanban and Planboard each carried copies of the same page CSS (shell, header, title, refresh/retry buttons, list/group/row scaffolding, empty state, board columns). It now lives in one src/components/pageShell.module.css, and the views pick it up with CSS Modules composes. No TSX file and no exported class name changes.

  • Only byte-identical declarations moved. Rules that had drifted (emptyHint max-width, grid columns, column border, the Fleet/Digest/Planboard headers, the Insights row) stay in their own view.
  • test/deCardUi.test.ts: the header border assertion now reads pageShell.module.css, where the rule lives.
  • Not changed: the duplicated block inside App.module.css.

Diff: 9 files, +386 / −737.

Verification

  • Screenshots of all 7 views in dark and light, before and after: 12 of 14 are pixel-identical, and the 2 Digest shots differ only in a clock reading ("since 07:22" vs "07:28").
  • npm run typecheck and npx vite build clean; renderer 2713/2713. One test failed while the electron suite was running alongside and passed on rerun.

🤖 Generated with Claude Code

)

Extract the page shell, header, title, refresh/retry buttons, list/group/row
scaffolding, empty state and board columns copied across Activity, Insights,
Fleet, Digest, PrList, Kanban and Planboard into pageShell.module.css. Views
pick them up with `composes`, so no TSX or exported class names change.

Only byte-identical declarations moved. Drifted ones (emptyHint max-width,
grid columns, column border, Fleet/Digest/Planboard headers, Insights row)
stay per view. Vite emits composed rules after the composing module in the
prod bundle, so views never re-set a shared property at equal specificity;
state rules they override (.row:hover) stay local.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@currentbits
currentbits merged commit c3fc7c6 into main Oct 4, 2026
6 checks passed
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