Repository navigation
refactor(user-interface): move layout, type and touch references to keys - #14849
Conversation
The terminal, touch-web and web layout, icon, shape, state and
typography references name their taste keys instead of stating
numbers. Reading-column caps use {{typography.measure_ch}}
placeholders with a pointer to reference/values.md. Floors stay
stated as numbers for Phase 8.
Refs: #14315
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…urements-layout-type-touch
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 #14849, head 9cbc94bI found no security issues. I read every hunk of all 13 changed files. The PR changes a changelog fragment and 12 design-guidance reference files under What I checked:
critical-footer-check: n/a |
|
claude-review reviewed Code review: PR #14849 (user-interface: layout, type and touch references now name config keys)I read every hunk in all 13 changed files. Each key the change names exists in
The two values whose numbers change on purpose are the ones the PR description names:
The new relative links ( Findings
Closing issue #14315
No plugin manifest changed, so there are no manifest lines. There was no embedded-instruction text in the PR context. This was the lane's first review of the PR (no prior findings). |
Closes #14315
Summary
Problem: layout, type and touch references stated taste values inline, so a team could not 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."
These references now name their config key instead of restating a default number.
Fix
reference/types/(icons, layout, marketing pages, shape and depth, states, terminal, touch, typography and its subfiles) name keys, and recipes use the{{key}}form fromreference/values.md.typography.measure_ch(65), and the play-triangle nudge and fallback margin (about 1px) resolve tospacing.optical_icon_px(2).Verification
icons.md:30rows that had no key now nameicon.size_px).node --test plugins/user-interface/tests/*.test.mjs: 171 pass, 0 fail.scripts/check-affected.sh: 13 passed, 3 skipped; changelog fragments and typos clean.Acceptance criteria
Related
Refs #14214
Follow-ups
typography.mdstill restates thetypography.long_form_body_pxdefault beside its key; that key belongs to feat(user-interface): default two-axis touch elements to tap-to-activate #14213's scope, not this stream.🤖 Generated with Claude Code
https://claude.ai/code/session_01UJUn7KASirHW2j2WiD68Ur