Feat v0.6.16 usability survey gate (#51)
All checks were successful
All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #51.
This commit is contained in:
@@ -99,18 +99,11 @@ Chat participants resolved from users table instead of snapshot. All admin
|
||||
surfaces show `display_name || username || 'Unknown'`. Chat-core snapshot
|
||||
column deprecated. 5 new handler tests. See CHANGELOG.md.
|
||||
|
||||
### v0.6.16 — Usability Survey Gate
|
||||
### v0.6.16 — Usability Survey Gate ✅
|
||||
|
||||
Make the UI machine-auditable so Claude Code can run an automated survey.
|
||||
|
||||
| Step | Description |
|
||||
|------|-------------|
|
||||
| UI inventory manifest | `scripts/generate-ui-inventory.sh` — walks kernel CSS + package CSS, extracts every rendered class, groups by surface, outputs `ui-inventory.json`. Fields: `{surface, component, classes, file, line, responsive_breakpoints, spacing_tokens_used, font_size_tokens_used}`. |
|
||||
| Contrast checker | Script that parses `variables.css` light/dark token pairs and checks WCAG AA contrast ratios for all `text-*` on `bg-*` combinations. Outputs pass/fail report. |
|
||||
| Component coverage matrix | Markdown table: each kernel primitive (button, input, dropdown, dialog, toast, menu, tabs, avatar, spinner, tooltip, drawer, banner) × each surface that uses it. Identifies surfaces still using deprecated old-style components. |
|
||||
| Touch target audit | Script that finds all `<button>`, `[role=button]`, clickable elements across templates and JS, checks for `min-width/min-height ≥ 44px` on mobile breakpoint. |
|
||||
| Claude Code survey prompt | `docs/USABILITY-SURVEY.md` — structured prompt template that Claude Code can execute against the codebase. Sections: viewport correctness, banner integration, responsive behavior, styling consistency, accessibility basics (contrast, touch targets, focus indicators), component uniformity. Each section has pass/fail criteria and file paths to inspect. |
|
||||
| Survey dry-run | Run the survey. Fix anything it catches. Tag `v0.6.16` only after clean survey. |
|
||||
Shipped. Four audit scripts, structured survey prompt, contrast/touch-target
|
||||
fixes, Docker docs corrected. All 48 contrast pairings pass, all close buttons
|
||||
have 44px mobile targets, focus-visible on all key primitives. See CHANGELOG.md.
|
||||
|
||||
---
|
||||
|
||||
@@ -131,7 +124,7 @@ v0.6.14 Visual Polish ✅ SHIPPED
|
||||
↓
|
||||
v0.6.15 User Display Audit ✅ SHIPPED
|
||||
↓
|
||||
v0.6.16 Usability Survey Gate ← Machine-audit the finished product
|
||||
v0.6.16 Usability Survey Gate ✅ SHIPPED
|
||||
```
|
||||
|
||||
Each version is independently shippable and testable. No version depends on
|
||||
@@ -141,7 +134,7 @@ anything after it.
|
||||
|
||||
## What "Usability Survey by Code" Means
|
||||
|
||||
The v0.6.15 deliverables give Claude Code (or any automated tool) three things:
|
||||
The v0.6.16 deliverables give Claude Code (or any automated tool) three things:
|
||||
|
||||
1. **A structured inventory** (`ui-inventory.json`) of every component, on every
|
||||
surface, with its CSS file and line number.
|
||||
|
||||
Reference in New Issue
Block a user