fix(web,ui): fix broken tests and remove legacy dashboard widgets (#457)
All checks were successful
ci/woodpecker/push/orchestrator Pipeline was successful
ci/woodpecker/push/api Pipeline was successful
ci/woodpecker/push/web Pipeline was successful

- Update Button.test.tsx assertions for CSS token-based Button component
- Rewrite page.test.tsx to test Phase 3 dashboard widgets
- Remove 4 unused legacy widgets: DomainOverview, RecentTasks,
  UpcomingEvents, QuickCapture (hardcoded light theme, pre-Phase 3)
- Remove orphaned QuickCaptureWidget test file

Tasks: MS-P1-001, MS-P1-002

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-22 17:58:29 -06:00
parent 4d6070a673
commit 8fa0b3059c
8 changed files with 35 additions and 449 deletions

View File

@@ -4,7 +4,7 @@
| id | status | milestone | description | pr | notes |
| --------- | ----------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ | --- | ------------------------------------------------ |
| MS-P1-001 | not-started | phase-1 | Fix broken test suites: Button.test.tsx (4 fails, old Tailwind classes) + page.test.tsx (5 fails, old widget refs) | — | issue #457, est 15K |
| MS-P1-002 | not-started | phase-1 | Remove legacy unused dashboard widgets: DomainOverviewWidget, RecentTasksWidget, UpcomingEventsWidget, QuickCaptureWidget | — | issue #457, est 5K |
| MS-P1-001 | in-progress | phase-1 | Fix broken test suites: Button.test.tsx (4 fails, old Tailwind classes) + page.test.tsx (5 fails, old widget refs) | — | issue #457, est 15K |
| MS-P1-002 | in-progress | phase-1 | Remove legacy unused dashboard widgets: DomainOverviewWidget, RecentTasksWidget, UpcomingEventsWidget, QuickCaptureWidget | — | issue #457, est 5K |
| MS-P1-003 | not-started | phase-1 | Visual + theme polish: audit current vs design reference, fix gaps, verify dark/light across all components, responsive verification | — | issue #457, est 25K, depends MS-P1-001 MS-P1-002 |
| MS-P1-004 | not-started | phase-1 | Phase verification: all quality gates pass, visual verification dark+light, responsive all breakpoints | — | issue #457, est 5K, depends MS-P1-003 |