Rebuild the page's controls with Carbon web components #70

Open
opened 2026-11-13 18:29:07 +00:00 by chris-kreidl · 0 comments
chris-kreidl commented 2026-11-13 18:29:07 +00:00 (Migrated from github.com)

🤖 Claude: Story from Chris's review of #68. It builds on #67's layout, so it starts after #68 merges.

As the user, I want the page's controls built from IBM's Carbon design system, so that the screener looks and behaves like a finished, consistent product.

Decisions (Chris, on the #68 discussion)

  • Packages approved: @carbon/web-components, plus @carbon/styles for the table's styling.
  • Sliders: start with Carbon's two-handle slider (cds-slider with unstable_valueUpper). It is marked unstable, so if it misbehaves we fall back and say so on this issue.
  • Look: Carbon's own themes, light (g10) and dark (g100), following the system setting. DESIGN.md is rewritten around Carbon. The layout stays.

Acceptance criteria

  • The layout stays as in #67: top bar with title, price date, the four-step pipeline strip and Run the whole pipeline; the notice band; the filter column; the rankings table filling the rest and scrolling inside itself.
  • Carbon web components for the controls:
    • buttons;
    • sector checkboxes;
    • market cap min/max number inputs;
    • a two-handle slider each for ROTC and EY (shown values stay "any" at the ends);
    • Clear filters;
    • inline notifications in the notice band (resume/start-over choice, refused starts, lost connection);
    • Carbon progress bars in the pipeline steps.
  • The rankings table stays a native <table> (1,391 rows; Carbon's table has no sticky header yet), styled with Carbon's data-table CSS from @carbon/styles, with a sticky header, and our own sorting and re-ranking kept.
  • Carbon's light and dark themes follow the system setting.
  • No behaviour changes: filtering, re-ranking, sorting, starting jobs, the resume prompt and live updates work as before. test/app.test.ts is updated for the new controls and still covers all of it. First task: confirm Lit components work in happy-dom.
  • IBM's install-time telemetry stays off: the package is not added to trustedDependencies, so its install script doesn't run, and IBM_TELEMETRY_DISABLED=true is documented.
  • Usable by keyboard and at narrow widths, as now.
  • DESIGN.md (and .impeccable/design.json) describe the Carbon-based system; CLAUDE.md mentions the Carbon packages.
🤖 **Claude:** Story from Chris's review of #68. It builds on #67's layout, so it starts after #68 merges. **As** the user, **I want** the page's controls built from IBM's Carbon design system, **so that** the screener looks and behaves like a finished, consistent product. ### Decisions (Chris, on the #68 discussion) - **Packages approved:** `@carbon/web-components`, plus `@carbon/styles` for the table's styling. - **Sliders:** start with Carbon's two-handle slider (`cds-slider` with `unstable_valueUpper`). It is marked unstable, so if it misbehaves we fall back and say so on this issue. - **Look:** Carbon's own themes, light (`g10`) and dark (`g100`), following the system setting. DESIGN.md is rewritten around Carbon. The layout stays. ### Acceptance criteria - [ ] The layout stays as in #67: top bar with title, price date, the four-step pipeline strip and Run the whole pipeline; the notice band; the filter column; the rankings table filling the rest and scrolling inside itself. - [ ] Carbon web components for the controls: - buttons; - sector checkboxes; - market cap min/max number inputs; - a two-handle slider each for ROTC and EY (shown values stay "any" at the ends); - Clear filters; - inline notifications in the notice band (resume/start-over choice, refused starts, lost connection); - Carbon progress bars in the pipeline steps. - [ ] The rankings table stays a native `<table>` (1,391 rows; Carbon's table has no sticky header yet), styled with Carbon's data-table CSS from `@carbon/styles`, with a sticky header, and our own sorting and re-ranking kept. - [ ] Carbon's light and dark themes follow the system setting. - [ ] No behaviour changes: filtering, re-ranking, sorting, starting jobs, the resume prompt and live updates work as before. `test/app.test.ts` is updated for the new controls and still covers all of it. First task: confirm Lit components work in happy-dom. - [ ] IBM's install-time telemetry stays off: the package is not added to `trustedDependencies`, so its install script doesn't run, and `IBM_TELEMETRY_DISABLED=true` is documented. - [ ] Usable by keyboard and at narrow widths, as now. - [ ] DESIGN.md (and `.impeccable/design.json`) describe the Carbon-based system; CLAUDE.md mentions the Carbon packages.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ckreidl/screener#70
No description provided.