Repository navigation
feat(user-interface): add the full taste-measurement key set - #14820
Conversation
Phase 3 of the literal-measurements plan: every taste role gets a config key in defaults.yaml, team.schema.json, the README key table and the defaults test, 101 roles in 112 leaves, including animation.scale.press_min (0.95, the lower limit the audit reports a press scale below). - touch.target_desktop_px, typography.fluid_body.min_rem and typography.fluid_scale.size_narrow_rem carry schema minimums at their floors (24px target size, 16px body). - animation.easing.out moves to 0.32, 0.72, 0, 1; hover gets its own duration key and leaves medium; duration keys are stated as both the value a recipe writes and the role's ceiling. - Sources: course keys per unit in aiforui-course.md, Emil keys at the pin in emilkowalski-skills.md, independent keys in the new user-interface-default-sources.md, heuristics labeled in defaults.yaml. Refs: #14312 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ents-full-key-set
|
PR body contract — issue linkage This PR body does not yet satisfy the issue-linkage contract:
Edit the body and this comment updates itself on the next run. |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-security-review reviewed Security review: PR #14820 (
|
|
claude-review reviewed Code review: no findingsI read every hunk of all 8 changed files in What the change does: it adds the full set of user-interface taste keys to Checks against the code:
Closing issue #14312, acceptance criteria:
Author-claimed and unverified: I did not run these myself.
Path-scoped rules: Spend: none. This change adds no billing and no lane-run spend. |
Closes #14312
Why
Problem: most user-interface measurements are stated inline, so a team cannot change them through config. Intent: "Everything should be configurable and extensible. We should never be hardcoding specific font sizes or ranges or any specific measurements and approaches."
This adds every approved taste key to the defaults file, the schema and the README, so the sweep phases can point references at them.
What changed
animation.scale.press_min(default 0.95), the lower limitauditwill report a project press scale below (owner decision Q11; the audit check itself lands in a later phase).docs/upstream/aiforui-course.md, Emil Kowalski keys indocs/upstream/emilkowalski-skills.md, independent values in a new links-only recorddocs/upstream/user-interface-default-sources.md, and heuristics labeled in the defaults comments.touch.target_desktop_pxcarry schema minimums; a team value below one is refused and the default applies.Scope
defaults.yaml,team.schema.json, the README key table, the defaults test, the upstream records, and one changelog fragment.Verification
node --test plugins/user-interface/tests/*.test.mjs: 171 pass, 0 fail.touch.target_desktop_px: 20resolves to 40 and lists the key in the team layer'serror_keys;detect.mjs --configoutput is 26,617 characters, under the 28,000 limit.Changed defaults and heuristics (AC8)
animation.easing.outmoves from0.23, 1, 0.32, 1to0.32, 0.72, 0, 1(course). Hover leavesanimation.duration_ms.mediumfor its ownanimation.duration_ms.hover, 150.animation.blur_max_pxnow has a source and is no longer a heuristic.animation.easing.in;color.subtle_mix_percent;icon.size_px;layout.breakout_width,grid_track_min_width,media_aspect_ratio,media_small,panel_max_height,sidebar_width;radius.l;spacing.control_padding,spacing.sectionand the heading parts ofspacing.flow;typography.fluid_body,fluid_scale,fluid_max_ratio.Acceptance criteria
reference/defaults.yaml; the defaults test and README are the only other copies.docs/upstream; a value with none is labeled heuristic in the defaults comment.Related
Refs #14214
Review
Local code review: 0 critical, 2 important, 3 suggestions. Fixed:
icon.size_pxno longer requires exactly 5 sizes, since an unnamed ladder is one list. Kept as planned:typography.fluid_scale.size_wide_remhas no 16px-equivalent minimum; the plan puts the floor only on the narrow end. Not changed: thefocus_ring.widthfloor sits insidemax(), where a schema cannot check it; the course-sourced px keys stay integers.Follow-ups
spacingkey" and "thetypographykey" as if each namespace held one key.🤖 Generated with Claude Code