2.0 KiB
2.0 KiB
id, title, status, wave, depends_on, plan, spec, role, model_tier
| id | title | status | wave | depends_on | plan | spec | role | model_tier |
|---|---|---|---|---|---|---|---|---|
| 01-device-view-and-workflow-fix | Device-local view and workflow fix | done | 1 | plan.md | ../../specs/ui/requirements/task-listing-display-preferences.md | implementer | balanced |
Task 01: Device-local view and workflow fix
Acceptance
- All Workflows remains
nullwith exactly one visible workflow and has a failing-then-passing unit regression. - Kanban/Pipeline/List changes write the versioned device-local preference and no longer PATCH the backend view mode.
- Home restores List or the desktop Kanban/Pipeline preference; phone falls back from Pipeline to Kanban without changing stored Pipeline.
Verification
cd apps && pnpm --filter @kandev/web test -- --run lib/kanban/resolve-workflow.test.ts lib/task-listing/view-preference.test.tscd apps/web && pnpm run typecheck
Files likely touched
apps/web/lib/kanban/resolve-workflow.tsapps/web/lib/kanban/resolve-workflow.test.tsapps/web/lib/task-listing/view-preference.tsapps/web/lib/task-listing/view-preference.test.tsapps/web/hooks/use-task-listing-view.tsapps/web/hooks/use-kanban-display-settings.tsapps/web/hooks/use-user-display-settings.tsapps/web/app/page-client.tsxapps/web/app/tasks/tasks-page-client.tsxapps/web/components/kanban/kanban-header.tsxapps/web/components/kanban/mobile-menu-sheet.tsxapps/web/app/page.tsxapps/web/app/tasks/page.tsxapps/web/src/spa-routes.tsx
Inputs
- Spec: What, Device-local view preference, and device-view scenarios.
- Plan: Root cause, Workflow-filter correction, Device-local task-listing view, and Mobile design contract.
- Existing pattern:
apps/web/hooks/use-global-view-mode.ts.
Output contract
Return a compact handoff with intent/acceptance, base/head SHA if committed,
changed files and entry points, spec sections, localized + user-flow + persistence risk tags, exact command results, uncertainties, and the task-file
status update. Do not edit plan.md.