Phone hit: editor toolbar, emoji sidebar, upload cards, client root #139
Loading…
Reference in a new issue
No description provided.
Delete branch "void/phone-hit-editor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Group 2 of the IconButton phone hit-area audit (foundation: #129). Variants only; no button's own drawn size changes, but on phones the Spread/Room variants add margin, so layout does change (see Layout regression risk). Test:
src/app/phoneHit.editor.test.ts(variant per button in source order, size tie per file, plus one check for the estate button).Changed
The Toolbar buttons sit in a Scroll (overflow auto) with 4 px padding, which holds the 4 px reach of a 36 px Spread button exactly.
Skipped
css.Targets(min 44 x 44 for every button there). Audit proposed Spread36; wrong, a class would be redundant. The test pins that the button has no PhoneHit, is nested inside the Box carrying Targets (JSX nesting counted), and that the phone rule is on that class's own ident.Mutants (all killed)
css.Targetsremoved: 1 failedVitest run: phoneHit.editor, phoneTapTargets, phoneHitTestKit 62/62 pass; eslint (only 3 pre-existing warnings in ClientRoot) and prettier clean.
Layout regression risk (unmeasured)
Unmeasured on a real phone
Nothing here was measured on a phone. Unverified: the Exit chip's real width, the emoji sidebar's overlap behaviour, the Menu height growth from Room36, the Retry chip shifting position from Spread28's extra margin on phones, and that ClientRoot's corner button taps cleanly at the screen edge.
🤖 Generated with Claude Code