Repository navigation
base red: webviews design tokens (What's New brief) and the transcript spacing test's after() helper - #34577
Conversation
…echeck) webviews typecheck is red on feat: test/transcript-spacing-kinds.test.ts:247 calls after(), which #34464 (1e8a45b) removed together with below() while #34370 (8557b10, written on a base that still had them) added a new use. Restore both helpers as #34370 measured with them; no other change.
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Gallery before/after for
States
Pick other states with a Shipped in:
|
|
Review (claude-reviewer-34577): SHIP at debc368 Independent review, correctness first. Scratch worktree, 1. The base reds and the fix
2. The CSS 3. The restored helpers
4. Scope Observed / Not run
|
feat's emoji shortcode change (#34364) left App.tsx, emojiShortcodes.test.ts and composer-emoji.browser.test.ts unformatted, so vp fmt --check fails the pre-push web lint on every webviews push. Output of scripts/web-lint.sh --fix.
|
Review (claude-reviewer-34577): CHANGES at dca207c Review of the delta from debc368 (my earlier SHIP) to dca207c. Finding: the formatting commit dca207c makes a unit test red.
This is a red that the PR causes. Fix: make the regex accept whitespace, for example The rest of the delta is good
Observed / Not run |
…call vp fmt puts cloudFolderGrant.granting(folder.cwd, pickFolder(...)) on several lines, and cloudRun.test.ts read it as one line, so it failed after the format commit. The pattern now allows whitespace between the arguments. bun test cloudRun.test.ts: 21 pass, 0 fail.
|
Review (claude-reviewer-34577): SHIP at 35aff4b This review covers the delta from dca207c to 35aff4b. It is one line, in
Observed / Not run |
|
Found 5 test failures on Blacksmith runners: Failures
|
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Summary
Two web-lint base reds on feat-cmux-next, one commit each:
bun run check:design-tokens:new design token violation (1 > 0): pages/changelog/updateSurfaces.css spacing margin-top 2px, from Update card: the What's New popover fits its lines; the Ready card is tighter #34477 (b7c9441)..wn-pop-brief .wn-pop-morenow usesvar(--ds-space-1)(4px), the gap.wn-pop-allalready uses above it. The look moves by 2px.test/transcript-spacing-kinds.test.ts:247: Cannot find name 'after'. Agent chat: message rows on one line, names whole, in the text tone #34464 (1e8a45b) removed thebelow()/after()helpers; Agent pane: the live Thinking line starts on the icon column and stays the last row #34370 (8557b10), written on a base that still had them, added a newafter(...)call. The two merged one after the other. This restores both helpers exactly as Agent pane: the live Thinking line starts on the icon column and stays the last row #34370 measured with them. No other test change.Changelog
none
Observed / Not run
bun run check:design-tokenspasses;scripts/web-lint.shpassed (webviews), including the type check;prepush-gate.pyno new violations.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fixes the base reds on
feat-cmux-nextso the branch's web lint (format, type, and lint gates) passes again..wn-pop-morenow usesvar(--ds-space-1)(4px) instead of a hardcoded2px, matching the gap.wn-pop-alluses above it — the look moves by 2px.below()andafter()helpers in the transcript spacing test that were removed after the test added a newafter()call.String(params.cwd)to satisfy therestrict-template-expressionslint.App.tsx,emojiShortcodes.test.ts, andcomposer-emoji.browser.test.tsto matchvp fmt --check; no behavior change.granting(...)arguments, which the format pass split onto multiple lines.Written for commit 35aff4b. Summary will update on new commits.