Add web UI form wiring regression tests and preserve dashboard draft state

This commit is contained in:
William Valentin
2026-02-21 22:36:21 -08:00
parent 9707b5a5df
commit 387906ce4d
7 changed files with 1093 additions and 4 deletions
+28 -1
View File
@@ -1,8 +1,35 @@
{
"version": "1.0",
"updated_at": "2026-02-21",
"updated_at": "2026-02-22",
"description": "Tracks the status of all Flynn plans and implementation phases",
"plans": {
"web-ui-form-wiring-regression-tests": {
"status": "completed",
"date": "2026-02-22",
"updated": "2026-02-22",
"summary": "Added page-level web UI regression coverage for interactive form/button wiring across dashboard, settings, sessions, usage, and chat pages, including assistant control draft-preservation under periodic refresh and key action dispatch paths (`config.patch`, `tools.invoke`, session actions, token usage refresh, chat send/cancel/search).",
"files_modified": [
"src/gateway/ui/pages/dashboard.test.ts",
"src/gateway/ui/pages/settings.test.ts",
"src/gateway/ui/pages/sessions.test.ts",
"src/gateway/ui/pages/usage.test.ts",
"src/gateway/ui/pages/chat.test.ts",
"docs/plans/state.json"
],
"test_status": "pnpm typecheck + pnpm test:run src/gateway/ui/pages/dashboard.test.ts src/gateway/ui/pages/settings.test.ts src/gateway/ui/pages/sessions.test.ts src/gateway/ui/pages/usage.test.ts src/gateway/ui/pages/chat.test.ts passing"
},
"dashboard-assistant-controls-draft-preservation": {
"status": "completed",
"date": "2026-02-22",
"updated": "2026-02-22",
"summary": "Fixed dashboard assistant control state resets during periodic slow refreshes by preserving unsaved local input/select/checkbox draft values across re-renders (with TTL expiry), including council dropdowns and model-tier selectors.",
"files_modified": [
"src/gateway/ui/pages/dashboard.js",
"src/gateway/ui/pages/dashboard.test.ts",
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/gateway/ui/pages/dashboard.test.ts + pnpm typecheck passing"
},
"slash-command-parity-and-authoritative-tools": {
"status": "completed",
"date": "2026-02-21",