From 79c84097ad6f6b5b8ce45b7affc929ba8edc72b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 15 May 2026 18:51:12 +0200 Subject: [PATCH] docs(planning): R3d MB2 tap-target bucket report --- .planning/round-3d-mb2-tap-target-report.md | 116 ++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 .planning/round-3d-mb2-tap-target-report.md diff --git a/.planning/round-3d-mb2-tap-target-report.md b/.planning/round-3d-mb2-tap-target-report.md new file mode 100644 index 000000000..7acd8ca9f --- /dev/null +++ b/.planning/round-3d-mb2-tap-target-report.md @@ -0,0 +1,116 @@ +# Round 3d MB2 — tap-target floor sweep + +Bucket MB2 of the v1.4.27 R3d mobile fix pass. Owns CF-7, CF-8, CF-13, +CF-14, CF-18, CF-22, CF-27, CF-28, CF-29, CF-45, CF-54, CF-60, CF-63, +CF-64. + +## Commits landed on develop + +| SHA | Subject | +|---|---| +| `fb6fb4f5` | `feat(ui): lift Button, Input, Select, DropdownMenu defaults to honour the WCAG 2.5.5 floor` | +| `b2568340` | `refactor(ui): move PasswordInput into the shared UI layer with a 44 px toggle` | +| `44554729` | `chore(insights): apply the tap-target floor across the insights surface` | +| `beb2b40f` | `chore(coach): lift the rail-tray chevrons out of the overlay` | +| `bba8921e` | `chore(measurements,medications): apply the tap-target floor across list and form surfaces` | +| `17aed374` | `chore(dashboard): apply the tap-target floor across the dashboard tile and onboarding chrome` | +| `4464d2c9` | `chore(charts,errors): apply the tap-target floor across charts and error chrome` | + +Total: 7 commits. All gates (typecheck + lint + 3989 unit tests) green. +Pushed to `origin/develop`. + +## Primitive default changes (commit 1 — `fb6fb4f5`) + +- `src/components/ui/button.tsx` + - `default`: `h-9` → `h-10` (40 px) + - `lg`: `h-10` → `h-11` (44 px) + - `icon`: `size-9` → `size-10` + - `icon-lg`: `size-10` → `size-11` + - `sm` / `xs` / `icon-sm` / `icon-xs` unchanged (compact contexts). +- `src/components/ui/input.tsx` + - `h-9` → `h-10`. +- `src/components/ui/select.tsx` + - Trigger `data-[size=default]:h-9` → `data-[size=default]:h-10`. +- `src/components/ui/dropdown-menu.tsx` + - `DropdownMenuItem` gains `min-h-11` plus `py-2` (was `py-1.5`). + +## DialogContent close-X (Decision I) + +`src/components/ui/dialog.tsx` close-X grew from `h-6 w-6` (24 px) to +`min-h-9 min-w-9` (36 px), repositioned to `top-3 right-4`. This is the +documented exception per Decision I — 36 px (WCAG 2.5.8 minimum, not the +2.5.5 floor) is the intentional compromise because a 44 px close-X +would crowd the dialog header. + +The change landed in the parallel MB1 `feat(ui): introduce the +ResponsiveSheet primitive` commit (`65fd0bff`) because both buckets +share the same `dialog.tsx` file in the working tree. + +## PasswordInput move (Decision J — commit 2 `b2568340`) + +- Moved: `src/components/settings/password-input.tsx` → `src/components/ui/password-input.tsx` +- Toggle wrapper: bare `