Repository navigation
Sheets: every cell wraps, and every row fits its content - #49
Merged
Merged
Conversation
…t and column resize The grid showed a long value as one line with an ellipsis, and the only rows that grew were the ones a run had just touched: the run measured them once and stored their heights. reifyui 0.8.4 wraps every cell and lets the table fit each row to its tallest cell, up to eight lines, past which the cell scrolls inside itself. So the kit stops doing that work. The run no longer writes row heights: a stored height now means a row someone sized, and it would stop the row refitting when its column is resized or its text edited. The layout effect that worked out a line clamp for every cell on every render is gone with the clamp. An agent cell's answer, and the live text of a running cell, wrap the way the grid's own text does. package.json and the lock take reifyui 0.8.4 (npm ci, npm test 64 of 64 and npm run build pass on node 22, the image's version). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
richard-epsilla
force-pushed
the
sheets-wrap-cells
branch
from
October 26, 2026 07:09
3dba3b2 to
3abe2bf
Compare
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.
A long value in a sheet cell showed as one line with an ellipsis. Only the rows a run had just touched grew, because the run measured them once and stored their heights.
With reifyui 0.8.4 (published on the
maintenance-0.8line):So the kit stops doing that work: the run no longer stores row heights (a stored height now means a row someone sized), and the per-render line clamp is gone. An agent cell's answer and a running cell's live text wrap the same way.
Checked:
npm ci,npm test(64 of 64) andnpm run buildon Node 22, and a headless check at 1440, 1024, 768 and 390 wide. At every width: no horizontal page scroll; long notes, multi-line values and unbroken strings wrap and grow their row; a 45-line cell stops at the cap and scrolls; nothing clips or shows an ellipsis. Editing and column resizing refit the row at 1440 and 390.Rows in existing sheets keep the heights earlier runs stored for them. Those were measured to fit their content, so they still show it; double-clicking a row's edge hands it back to the grid.
🤖 Generated with Claude Code