feat(ui): damascus-ui v1 read-only dashboard (P4) #17
Reference in New Issue
Block a user
Delete Branch "feat/entry-points-ui-v1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
P4 read-only dashboard.
Stack: Vite 6 + React 19 + MUI 6 + @tanstack/react-query.
Routes: Dashboard (section 7 widgets: phase bar, open issues count, cost today, last cycle), Items (MUI DataGrid), ItemDrawer (right-side panel for /items/:id).
Filter+sort+limit wired to URL hash for shareable links.
React Query handles caching; 5s staleTime on live-polled dashboard, 0 on items page so URL changes refetch immediately.
Compose: one-shot damascus-ui-build service produces the bundle into named volume damascus_ui. P2's damascus-api will mount that volume at /opt/damascus/ui:ro and serve it via FastAPI StaticFiles.
E2E: 4 Playwright tests (dashboard, items table, drawer with item+open_issues+recent_events, phase filter narrows results) run against an in-repo FastAPI fixture (tests/e2e/fixture_api.py) so they work without a live damascus-api. All 4 green.
Acceptance: