Repository navigation
feat(grid): soft-wrap + dynamic row height + auto-grow cell editor (web-design audit #1/#2/#6) - #71
Merged
Merged
Conversation
…itor (web-design bar) Lands the cell-editing standard on the surface it names. Per the surface web-design audit (docs/design/SURFACE_WEB_DESIGN_AUDIT.md), the data grid was the worst-scoring surface (3.5/10): single-line <input> editor, fixed 27px nowrap+ellipsis cells, primary GenericSheet read-only. - Display: cells soft-wrap (white-space:normal; overflow-wrap:anywhere; word-break) and rows grow to fit the tallest cell (vertical-align:top + min-height) - no clip, no in-cell scroll. Applied to the generic grid + research grid; numbers stay nowrap. - Editor: EditableCell + new GridCellEditor use an auto-grow <textarea> (height tracks scrollHeight; resize:none; overflow:hidden; pre-wrap). Enter commits, Shift+Enter newline, Esc cancels. No resize handle, no scrollbar. - GenericSheet is now editable (double-click / Enter / F2) through the same commit()+CAS path, PAYLOAD-SAFE (preserves evidence/status/formula), gated on locked/proposed/merged. - Keyboard grammar: Arrow keys move the active cell, Tab/Shift+Tab move, Enter/F2 edit, Esc cancels. - Cell-meta badge moved top-right (was vertically-centered, floated over wrapped text). Verified live (memory mode): longest research cell wraps to 73px (was 27); editor is a TEXTAREA, height===scrollHeight, no scroll; zero console errors. Typecheck clean. e2e grid specs pass (work-surface-split, stage-focus, intake, mention, semantic-rebase); excel-grid:57 is the pre-existing blank-sheet-seeding failure, unrelated. Also commits the full surface web-design audit (research -> audit of all 7 surfaces). Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
HomenShum
added a commit
that referenced
this pull request
Jun 29, 2026
…board nav (#6) onto the fleet editor Reconciles PR #81 with the concurrent commit 94c2986 (Nebius) that replaced the #71 cell editor and dropped #6. Rebased onto main's editingId/.r-cell-editor editor (kept intact) + layered additively: - #18: row-density presets (Compact clips, Default/Comfortable wrap; persisted per artifact) + name-box/value-bar (selected cell A1 + full value) + .num nowrap. - #6 (restored): grid keyboard grammar - arrows move the active cell, Tab moves, Enter/F2 opens the fleet's editor (beginEdit), gated on locked/proposed/merged. Verified live: namebox A1 / valuebar CardioNova; compact->nowrap, comfortable->normal; ArrowDown moves sel (cardionova->mercury), Enter opens .r-cell-editor; no console errors. Typecheck/build clean. Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum
added a commit
that referenced
this pull request
Jun 29, 2026
…PRs #71-#87) The demo-room-mobile baseline was last captured 2026-06-16 (6a86863), before the entire web-design audit program landed (~15 styles/layout commits). It was failing on a cumulative vertical reflow, not a functional break: actual render verified correct (all surfaces present, mask region intact). Desktop + blank-room already passed. Regenerated against the current served build; full design-baseline green (3/3). Co-Authored-By: Claude Opus 4.8 <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
ultracodeweb-design audit (full ranked queue, batch 1/7 — data-grid, the worst-scoring surface at 3.5/10 and the user's reference standard). Research + per-surface audit committed indocs/design/SURFACE_WEB_DESIGN_AUDIT.md.The cell-editing best-practice (Airtable/Retool/Notion/Coyier: auto-grow, soft-wrap, no in-cell scroll, dynamic row height) was not shipped here — single-line
<input>, fixed-27px nowrap+ellipsis cells, and the primary GenericSheet was read-only. This lands it.Changes (audit #1, #2, #6)
white-space:normal; overflow-wrap:anywhere; word-break; rows grow to the tallest cell (vertical-align:top+min-height). No clip, no in-cell scroll. Numbers staynowrap.EditableCell+ newGridCellEditoruse an auto-grow<textarea>(height = scrollHeight;resize:none; overflow:hidden; pre-wrap). Enter commits, Shift+Enter newline, Esc cancels.commit()+CAS path — payload-safe (preserves evidence/status/formula), gated on locked/proposed/merged so no-clobber is never bypassed.Verification (live, memory mode)
TEXTAREAwith height === scrollHeight (auto-grown, no scrollbar),resize:none,white-space:pre-wrap. Zero console errors. Screenshot confirms multi-line cells + dynamic rows.excel-grid:57is the pre-existing blank-sheet-seeding timeout, unrelated.Deferred to a follow-up data-grid pass (P1/L): density presets + name-box/value-bar + column resize (#18).
🤖 Generated with Claude Code