refactor(web): extract Dashboard screen #360

Merged
timothy merged 1 commits from codex/246-dashboard-screen into main 2026-07-15 21:30:52 +02:00
Owner

Refs #246

Summary

  • extract Dashboard rendering and dashboard-specific helpers into DashboardScreen.tsx
  • move detailed Dashboard coverage beside the screen while keeping a thin App route smoke
  • keep App-owned health querying because the shell/sidebar also consumes it
  • preserve API, routes, CSS, server state, and behavior

Verification

  • npm test — 85 files, 762 tests passed
  • npm run lint
  • npm run typecheck
  • npm run build
  • npm run check:api

This is a pure SPA leaf refactor, so live E2E was not required.

Review and docs posture

No docs update is needed because no route or convention changed. A current-head cold-review verdict will be posted separately.

Refs #246 ## Summary - extract Dashboard rendering and dashboard-specific helpers into `DashboardScreen.tsx` - move detailed Dashboard coverage beside the screen while keeping a thin App route smoke - keep App-owned health querying because the shell/sidebar also consumes it - preserve API, routes, CSS, server state, and behavior ## Verification - `npm test` — 85 files, 762 tests passed - `npm run lint` - `npm run typecheck` - `npm run build` - `npm run check:api` This is a pure SPA leaf refactor, so live E2E was not required. ## Review and docs posture No docs update is needed because no route or convention changed. A current-head cold-review verdict will be posted separately.
timothy added 1 commit 2026-07-15 21:19:00 +02:00
refactor(web): extract Dashboard screen
Build ErsatzTV Image / Docs update reminder (pull_request) Successful in 13s
Build ErsatzTV Image / decisions.md append-only (pull_request) Successful in 15s
Build ErsatzTV Image / API docs in sync (OpenAPI + endpoint index) (pull_request) Successful in 9s
Build ErsatzTV Image / Formatting (changed .cs conform to .editorconfig) (pull_request) Successful in 8s
Build ErsatzTV Image / Build & test (.NET) (pull_request) Successful in 8m18s
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (pull_request) Successful in 9m50s
Build ErsatzTV Image / Build & push image (amd64) (pull_request) Has been skipped
Build ErsatzTV Image / Docs update reminder (push) Has been skipped
Build ErsatzTV Image / decisions.md append-only (push) Has been skipped
Build ErsatzTV Image / API docs in sync (OpenAPI + endpoint index) (push) Has been skipped
Build ErsatzTV Image / Formatting (changed .cs conform to .editorconfig) (push) Has been skipped
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (push) Successful in 4m21s
Build ErsatzTV Image / Build & test (.NET) (push) Successful in 5m19s
Build ErsatzTV Image / Build & push image (amd64) (push) Successful in 3m57s
bceffef856
Move Dashboard rendering, health and on-air helpers, and detailed behavior tests into a screen-owned module while retaining only shell composition coverage in App.

Refs #246

Co-Authored-By: OpenAI Codex <codex@openai.com>
Author
Owner

Independent cold-context adversarial review found no issues. App retains shell-wide health ownership and the thin route smoke; Dashboard owns its rendering, helpers, and detailed tests. API behavior, routes, and CSS are preserved.

Review-verdict: MERGEABLE @ bceffef856

Independent cold-context adversarial review found no issues. App retains shell-wide health ownership and the thin route smoke; Dashboard owns its rendering, helpers, and detailed tests. API behavior, routes, and CSS are preserved. Review-verdict: MERGEABLE @ bceffef856bb43efb7d638511ea1e066afa3075c
timothy merged commit bceffef856 into main 2026-07-15 21:30:52 +02:00
timothy deleted branch codex/246-dashboard-screen 2026-07-15 21:30:52 +02:00
Sign in to join this conversation.