diff --git a/.planning/phases/04-tasks-kanban/04-UI-SPEC.md b/.planning/phases/04-tasks-kanban/04-UI-SPEC.md index 1bc7d8f..e402581 100644 --- a/.planning/phases/04-tasks-kanban/04-UI-SPEC.md +++ b/.planning/phases/04-tasks-kanban/04-UI-SPEC.md @@ -104,7 +104,7 @@ All components used in this phase and their source: |-----------|------|--------|-------| | `ui.Card` | existing | `backend/internal/web/ui/card.templ` | Task card display state; use `templ.Attributes` for `data-task-id`, drag class | | `ui.Button` (solid default md) | existing | `backend/internal/web/ui/button.templ` | "Add task" submit, "Save changes" on edit form | -| `ui.Button` (soft neutral md) | existing | `backend/internal/web/ui/button.templ` | "Cancel" on add-task form, "Discard changes" on edit form | +| `ui.Button` (soft neutral md) | existing | `backend/internal/web/ui/button.templ` | "Discard task" on add-task form, "Discard changes" on edit form | | `ui.Button` (solid danger md) | existing | `backend/internal/web/ui/button.templ` | "Yes, delete" in task delete confirmation | | `ui.Button` (soft danger md) | new variant needed | `backend/internal/web/ui/button.css` | Task delete trigger button — same `.ui-button-soft-danger-md` class pattern as Phase 3's `soft-neutral`; add CSS rule | | `ui.Badge` (info) | existing | `backend/internal/web/ui/badge.templ` | Task count per column header: `BadgeVariantInfo`, e.g. "3" | @@ -156,6 +156,8 @@ Column wrapper: `flex-shrink-0 w-72` (288px). Column list area: `min-h-16 space- Column header: `flex items-center justify-between mb-2` with `
No tasks yet
` inside the sortable div, so the column still accepts drops (min-h-16 ensures drop zone height) @@ -171,7 +173,7 @@ Column header: `flex items-center justify-between mb-2` with `` @@ -255,7 +257,7 @@ No dedicated UI. Satisfied by the reorder endpoint writing `position` to the DB | Primary CTA (save edit) | "Save changes" | codebase — tablos.templ existing pattern | | Primary CTA (confirm delete) | "Yes, delete" | codebase — tablos.templ existing pattern | | Cancel edit | "Discard changes" | codebase — tablos.templ existing pattern | -| Cancel add | "Cancel" | default — consistent with form cancel patterns | +| Cancel add | "Discard task" | mirrors "Discard changes" pattern; specific verb + noun | | Cancel delete | "Keep task" | mirroring codebase "Keep tablo" pattern | | Empty column state | "No tasks yet" | default — minimal, specific to context | | Task create form heading | (none — form is compact, column header already names context) | CONTEXT.md D-09 "title only for quick capture" |