Просмотр исходного кода

SPEC.md: note task-table polish hotfix in §9 + §13

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
chiappa 3 дней назад
Родитель
Сommit
53891b2662
1 измененных файлов с 28 добавлено и 0 удалено
  1. 28 0
      SPEC.md

+ 28 - 0
SPEC.md

@@ -698,6 +698,29 @@ with a `BOOTSTRAP_ADMIN` audit row.
       four cases, days writes preserving status,
       `InvalidArgumentException` guard, `statusGridForSprint`).
 
+- [x] **Task table polish** (`f204611`): three small UX bugs in the
+      shared task list partial fixed in one commit. (a) Sortable
+      headers (Task / Owner / Prio / Tot) gained `whitespace-nowrap`;
+      previously the label and the ↕ sort indicator could wrap to
+      two lines on narrow viewports. (b) Per-row assignment cells
+      gained `whitespace-nowrap` so the day input and the Phase 18
+      status `<select>` always sit on the same line — no second-row
+      flow when the cell shrinks. (c) `.assign-status-select` was
+      effectively invisible — `width: 1rem` (16px), `border: 0`,
+      `font-size: 0`, transparent background — bumped to 22×22 px
+      with a real bordered button affordance, `text-indent:
+      -9999px` to hide the selected text reliably (works where
+      Safari's `font-size: 0` cancels the chevron too), and a dark-
+      mode variant. (d) `.assign-status-*` tint moved off the `<td>`
+      onto the inner `input[data-assign]` / read-only span — cell
+      padding no longer paints a stripe of status colour around the
+      field; only the field itself reflects state. The class still
+      lives on the `<td>` so the Status filter and JS reads off
+      `data-status` are unchanged. `buildTaskRow` in
+      `sprint-planner.js` mirrors the new `whitespace-nowrap` on
+      JS-built assignment cells (admin "+ Add task" path). Pure
+      CSS / Twig / vanilla JS — tests untouched at 108 / 281.
+
 - [x] **Phase 19 — Twig 3 + Tailwind 3 + Alpine CSP + htmx + SortableJS,
       jQuery removed** (`75e96e2`). Stack-shift of the entire UI layer
       with zero changes to controllers, repositories, schema, capacity
@@ -822,6 +845,11 @@ before acting — nothing here is load-bearing once it grows stale.
 ## 13. Git history (as of this writing)
 
 ```
+f204611 Fix: task table header alignment + status dropdown visibility + per-input tint
+55f9726 Merge branch 'phase-19-stack-shift'
+64d2782 Track composer.lock — fixes stale-cache Docker builds after Phase 19
+c9e5b26 Merge pull request 'Phase 19...' (#1) from phase-19-stack-shift into main
+9dd1340 SPEC.md: mark Phase 19 shipped (stack-shift to Twig+Alpine+htmx+Sortable)
 75e96e2 Phase 19: Twig 3 + Tailwind 3 + Alpine CSP + htmx + SortableJS, jQuery removed
 b3e5ec8 SPEC.md: note Phase 18 cell-markup hotfix
 3e115f5 Fix: Phase 18 cell markup — drop span wrapper, color goes on <td>