Repository navigation
docs: design the chunks of a sheet for lazy loading - #1249
Merged
Merged
Conversation
`content-visibility` has no effect on a table row, so a chunk of a sheet is a table of its own (decision 6): - A `div.odr-sheet` takes the attributes of the sheet. - The ruler gets a sticky table of its own. - Every column gets a fixed width. A column that states none gets the width of its longest text. - A chunk ends only where no merge is open. - Each chunk states the estimated height of its rows. - The first chunk stays near where shapes hang from A1. For each script that reads the rows or the geometry, the design states how it works with chunks. Level 2 of a text file drops out of the order of work, because it gained little when measured. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017QtawyvLP2SCnoBtnVfFed
The status said that nothing of the design has landed, but #1247 and #1248 did. Also say how `spreadsheet.js` learns that a chunk became near: `viewport.js` dispatches an event on it. A change of the class alone tells no script. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHNzLmVv1mFWfPitHASucN
andiwand
force-pushed
the
docs/sheet-chunks
branch
from
October 24, 2026 18:58
c0db2a1 to
2aea42a
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.
🤖 Generated with Claude Code
Refs #764.
Summary
This adds decision 6 to
docs/design/lazy-loading.md: a sheet at level 1.content-visibilityhas no effect on atror atbody, so a chunk of a sheet is a<table>of its own.div.odr-sheettakes the attributes thattable.odr-sheetstates today. Rules of the form.odr-sheet tdstay as they are.theadsticks only inside its own table, so the column letters get a sticky table before the chunks. The row labels stay sticky at the left in each chunk.table-layout: fixedand the samecolgroup. A column that states no width, for example in a csv, sizes by its content today, so each chunk would size it differently. The writer gives such a column the width of its longest text in the first 1000 rows, inch, from 4 to 60.rowspanis open.contain-intrinsic-height: auto. A wrapped row corrects itself on first layout. Safari may lack scroll anchoring, so the page there can move by the error of the estimate.reflowof a hidden chunk, the selection overlay, the pin throughodr.chunks.show, and the formulas.Level 2 of a text file drops out of the order of work. When measured, it gained little over the hidden chunks.
Review fixes
viewport.js"raisesodr-chunk-near" when a chunk becomes near, which is the name of the class. A class change tells no script, so the table now says thatviewport.jsdispatches an event on the chunk.