Skip to content

All flagged old-UI surfaces rebuilt on the design system - #119

Merged
ib823 merged 1 commit into
mainfrom
claude/codebase-audit-optimization-p6i6co
Aug 8, 2026
Merged

All flagged old-UI surfaces rebuilt on the design system#119
ib823 merged 1 commit into
mainfrom
claude/codebase-audit-optimization-p6i6co

Conversation

@ib823

@ib823 ib823 commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Response to the flagged surfaces still showing old UI. All four rebuilt on ds with behavior preserved:

  • /dashboard: stat tiles + quick-action link cards on ds PageHeader/Card, token-only CSS; MetricCard/QuickActionCard deleted; same fetches and admin gating.
  • /admin/users: UserManagementClient rewritten without antd (zero antd imports) on ds DataTable/Modal/Input/Select/StatusPill; identical endpoints, validation and security semantics; two-step ds delete confirm. One latent bug fixed: blank name omitted from the PATCH body instead of a schema-rejected null.
  • Gantt Context tab: ds Cards/Fields/Textareas/Buttons; DOMPurify sanitisation, exact API body, dirty tracking, ⌘S unchanged.
  • /architecture/v3: hand-rolled tab strip → ds Tabs (arrow-key nav from the composite); all three tab bodies (~2,200 lines) restyled onto ds Cards/DataTables/Banners/StatusPills/Modals with saved data shapes byte-identical; team sidebar chrome tokenised.

Also: the orphaned-resource repair tool rehomed as a ds warning banner on the Timeline surface; dead e2e specs deleted (they asserted the removed legacy UI or routes that don't exist); the two production-only migrations documented as a non-issue (0_init already contains their objects).

Verified: tsc, lint, 1776 unit tests, fresh production build with all 23 bundle budgets green; admin aria-label suite (16 tests) and architecture API-shape tests green.


Generated by Claude Code

Response to "/dashboard still old UI … /gantt-tool (Context) old UI …
/architecture/v3 old UI … /admin/users old UI". The earlier slices had
replaced shells and the canvas; the content inside these four surfaces
was still the old components. Now rebuilt on ds, behavior preserved:

- /dashboard: stat tiles and quick-action link cards on ds PageHeader/
  Card with token-only CSS; MetricCard and QuickActionCard deleted.
  Same fetches, same admin gating; router.push buttons became real
  links.
- /admin/users: UserManagementClient rewritten without antd (zero antd
  imports remain) on ds DataTable/Modal/Field/Input/Select/StatusPill;
  identical endpoints, bodies, validation and security semantics;
  delete is the two-step ds confirm naming the user. One latent bug
  fixed: a blank name is now omitted from the PATCH body instead of
  being sent as null, which the schema rejected with a 400.
- Gantt Context tab: ds Cards/Fields/Textareas/Buttons; DOMPurify
  sanitisation, exact API body, dirty tracking, ⌘S — all unchanged.
- /architecture/v3: the hand-rolled tab strip replaced by ds Tabs
  (arrow-key navigation comes from the composite); all three tab
  bodies (~2,200 lines) restyled onto ds Cards/DataTables/Banners/
  StatusPills/Modals with data shapes byte-identical; the team sidebar
  chrome tokenised, resize behavior kept.

Also in this commit:
- The orphaned-resource repair tool rehomed as a ds warning banner on
  the Timeline surface (it lost its home when the legacy side panel was
  deleted): appears only when manager references are broken, explains
  the consequence, one-click repair.
- Dead e2e specs deleted (view-switching, plan-timeline placeholders,
  visual-regression/*, user-journeys/*): every one asserted the removed
  legacy UI, a ?view= model that never existed, or routes this app does
  not have. smoke, login-flows and team-capacity-api remain.
- The "restore-drill risk" for the two production-only migrations is
  closed as a non-issue and documented: 0_init already contains their
  objects, so a fresh restore reproduces the live schema; matching
  files would double-apply DDL and break restores.

Verified: tsc, lint, 1776 unit tests, fresh production build with all
23 bundle budgets green. Per-surface verification by parallel rebuild
agents included the admin aria-label suite (16 tests) and the
architecture API-shape tests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TArsz4CrMDAKmeALMozkR5
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cockpit Ready Ready Preview Aug 8, 2026 9:48am

@ib823
ib823 marked this pull request as ready for review August 8, 2026 10:00
@ib823
ib823 merged commit 130e7f2 into main Aug 8, 2026
4 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.

2 participants