Repository navigation
refactor(user-interface): press scale and control padding through config keys - #14789
Conversation
…fig keys
Add animation.scale.press and spacing.control_padding, and
reference/values.md as the one home for value precedence and the
{{key}} placeholder form. The press behavior, the press-feedback recipe
and the text-box button recipe name the keys; every skill's config step
points at values.md. detect.test derives unset keys from defaults.yaml.
Refs: #14311
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The setup skill has no eval case, and the changed-skills gate requires one when its SKILL.md changes; its config edits move to the phase that already changes setup. Refs: #14311 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 #14789, incremental (
|
|
claude-review reviewed Code review: PR #14789 (incremental, b00f957 → 7edf6b7), blocking onlyNo findings. This was an incremental, blocking-only review: the lane already reviewed an earlier head, so advisory findings are not reported this round. I read both changed hunks, in 2 of 2 files, and checked them against the files at head. What changed, and whether it fixes the earlier findings
Earlier threads: both earlier inline threads are resolved, and their lines have not changed since they were resolved. Nothing from them is raised again. Not covered
Spend: none. |
The Tailwind press illustration now writes the press keys as placeholders, and the press recipe no longer points at scale limits the motion concern no longer states (the range folded into animation.scale.press at design). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closes #14311
Summary
Phase 2 of the #14214 plan: the press scale and control padding become config keys end to end, and one reference says how every skill picks and writes a value.
animation.scale.press(0.97) andspacing.control_padding(0.75rem,1.25rem) indefaults.yaml, the schema, the README and the defaults test.reference/values.md: which value wins (a matching project token, a team or personal key,css.token_fallbackwhen tokens of that kind exist, then the key's value), the{{key}}placeholder form, how each mention form is written, naming dropped settings fromconfig.layers[].errors, and nesting keys in a team file.press-feedbackrecipe and the text-box button recipe name the keys; the two recipes use placeholders and point atvalues.md.values.md; write-animation, audit and design now pass thecss_*userConfig values, socss.token_fallbackset there is honored; write-css reads the shipped defaults when the resolver cannot run and uses a key's value instead of "your own values".detect.test.mjsbuilds the unset keys' expected values and provenance fromdefaults.yaml(D6), so a new key no longer needs a third copy of the defaults.Fix
Entry gate: #14213 closed; no
plugins/user-interfacechange since b0a0df2 other than the release bump f14246f (git log f14246f1e1..origin/main -- plugins/user-interfaceempty at 7d48611), so there was no new delta for the owner.The setup skill's two edits (nest keys in
apply, show shipped defaults withoutnode) are left for Phase 10: the changed-skills gate requires an eval case taggingsetupwhenever its SKILL.md changes, and the exemption list bars setup skills. AC12 is met by the four skills that pick values.Verification
node --test plugins/user-interface/tests/*.test.mjs: 169 pass, 0 fail (the defaults and detect tests: 98 pass).{"files":91,"placeholders":14,"names":83,"readmeRows":18,"failures":0}; it fails on a probe file with an unknown key, a past-the-end list index and an unknown backticked name.animation.scale.press,spacing.control_padding,animation.duration_ms.press): 11 rows, 10 pass, 1 moved, 0 remaining. Moved row:reference/animation/behaviors.md:29 0.95 -> animation.scale.press @ 28. Over all 313 taste rows, 298 remain for Phases 3 to 7, and 4 rows (reference/types/web/icons.md:30x3,skills/audit/reference/launch-scope.md:375) are off by one in the role maps, for those phases to re-key.grep -c "scale(0.9" plugins/user-interface/skills/write-css/reference/interaction.md: 0.scripts/check-changelog-fragments.sh --checkand--check-required origin/main: pass.Proof runs (AC14, AC12, D5), each on a scratch git copy of
with-dswith the team file indocs/conventions/user-interface.yaml,claude -p --plugin-dir <this branch's plugin> --setting-sources project,local --model opus --permission-mode dontAsk; the runner refused to launch unlessdetect.mjs --configshowed the team layer loaded and the run's key fromteam. Every run loadeduser-interfaceonly from the branch, and no answer holds{{.animation.scale.press: 0.9, token--press-scale: 0.93transform: scale(var(--press-scale)), citing the token over the team key0.9, press duration120scale: 0.9,transition: scale 120ms …spacing.control_padding: [0.6rem, 1.4rem]padding-block: 0.6rem; padding-inline: 1.4remsmall: 240,exit_factor: 0.5120ms("240ms × 0.5"), entrance240mscss.token_fallback: literal0.75rem/1.25rem, namingspacing.control_padding0.94and170scale: 0.94,170ms, after readingreference/defaults.yamlRun 7 uses unusual shipped values so a pass cannot come from habit.
css-press-scalethroughclaude plugin eval --runs 1: VALID, with-arm 1.00, without-arm 0 (one run; this grader accepts 0.95 to 0.98, so it shows the case still passes, not that the key was read). Nothing from the runs is committed.Related
Follow-ups
🤖 Generated with Claude Code