3.2 KiB
3.2 KiB
id, title, status, wave, depends_on, plan, requirements, acceptance_criteria, system_design
| id | title | status | wave | depends_on | plan | requirements | acceptance_criteria | system_design | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 04-normalize-structured-task-confirmations | Normalize structured task confirmations | pending | 2 |
|
plan.md |
|
|
|
Task 04: Normalize Structured Task Confirmations
Summary
Normalize the remaining task-domain AlertDialog descriptions with nested content: session deletion, task detachment, and environment reset.
In scope
- Preserve one accessible Radix description boundary in each dialog.
- Add semantic paragraph/list grouping, readable spacing, explicit left alignment, and min-width containment where needed.
- Preserve all localized copy, warnings, loading/disabled behavior, and callbacks.
- Add or extend focused component tests, including a long dynamic task/session value.
Out of scope
- Task archive/delete cleanup surfaces owned by Task 03.
- Copy rewrites, action sizing/variants, shared primitives, and browser E2E.
Implementation acceptance
- All three dialogs render structured, left-aligned prose through one accessible description node and inherit pretty body wrapping.
- Long task/session values stay contained without hiding warning content.
- Confirmation, cancellation, disabled-state, and close behavior remain unchanged.
TDD sequence
- Extend existing tests and add the missing environment-reset regression for rendered description structure, alignment, and a long-value case; observe expected failures.
- Apply the smallest local markup/class changes.
- Run focused tests GREEN, then typecheck, lint, and i18n checks.
Verification
cd apps
pnpm --filter @kandev/web test -- components/task/session-tab-menu.test.tsx components/task/task-detach-confirm-dialog.test.tsx components/task/task-reset-env-confirm-dialog.test.tsx
pnpm --filter @kandev/web run typecheck
cd web
pnpm exec eslint --max-warnings 0 components/task/session-tab-menu.tsx components/task/session-tab-menu.test.tsx components/task/task-detach-confirm-dialog.tsx components/task/task-detach-confirm-dialog.test.tsx components/task/task-reset-env-confirm-dialog.tsx components/task/task-reset-env-confirm-dialog.test.tsx
pnpm run i18n:check
Files likely touched
apps/web/components/task/session-tab-menu.tsxapps/web/components/task/session-tab-menu.test.tsxapps/web/components/task/task-detach-confirm-dialog.tsxapps/web/components/task/task-detach-confirm-dialog.test.tsxapps/web/components/task/task-reset-env-confirm-dialog.tsxapps/web/components/task/task-reset-env-confirm-dialog.test.tsx(new)
Dependencies
- Task 01 must be integrated before final verification.
Parallelism
parallel-wave-2
Inputs
docs/specs/ui/requirements/surface-text-hierarchy.mddocs/specs/ui/system-design/surface-text-hierarchy.mddocs/plans/surface-text-hierarchy/plan.mdapps/web/AGENTS.md.agents/skills/tdd/SKILL.md.agents/skills/mobile-parity/SKILL.md
Results
Pending implementation.