refactor: redesign notebook cell dimensions and responsive views - #606
Open
emrberk wants to merge 17 commits into
Open
refactor: redesign notebook cell dimensions and responsive views#606emrberk wants to merge 17 commits into
emrberk wants to merge 17 commits into
Conversation
Replace isViewMaximized/wideView/compactView with one stored preferredView. The rendered pane layout derives from that preference, result availability, and the responsive tier; resizing never rewrites it. - Persisted isViewMaximized migrates to preferredView on read and import. - Agent reads report preferred_view plus live view/tier from the renderer's hydration-aware pane state. - Drop legacy tool inputs: editor_visible, is_view_maximized, grid h back-solve, and the set_cell_view_maximized tool. - Reveal a result hidden by an editor preference when the user runs, or switches to Table/Chart, in any tier. - Reserve grid rows for a multi-statement result when any statement renders a grid, not only the first. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ceLPBG4yUmAWH1zqYD9w8
…ontract - Cells resolve their pane layout during render. The grid expansion delay is gone, so tool responses and the rendered pane always agree. - Grid transitions run for drag, drop, and width changes. They are suppressed only while the notebook container is being resized. Item height never animates, so a pane switch and its box land together. - The measured grid container width is published once per notebook and read by set_cell_layout, instead of travelling through every cell. - apply_notebook_state rejects changing an existing cell's kind. - Markdown cells report preferred_view, view, and result_height as null. view and result_height inputs are ignored for markdown instead of rejected. auto_refresh is dropped for markdown. - Tool descriptions and the notebook prompt describe the new contract. - e2e/questdb submodule bumped to current master. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015sKRGPKxxoNvBSKEPrEP4K
…fter persist, statement key memo - Stop button in the cell header for a first run or first chart fetch: cancels the run, or aborts the chart round with a cancelled canvas state and Retry. Draw from an empty cell counts as a first run, so its validation can be stopped too. Refreshes never show it. - Cancel markers: a launched statement keeps the unverifiable "Cancelled by user" error; a queued or never-started one is recorded as cancelled by the user, and the sequential cascade tells an abort from a failure. - A deleted cell's in-flight run is superseded, so the agent is told the cell was deleted instead of that its result was cleared. - Snapshot rows drop only after the document write lands; the live controller's transitions settle after the write and report persist_failed on failure. - Per-consumer statement key memo and per-frame result key cache, so a keystroke over a large script formats one statement. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…le, linear key passes - delete the 500-entry identity map, the per-consumer key memo, and the per-frame WeakMap; normalizeStatementIdentity calls the formatter directly - charts compare statements by formatter identity: a whitespace or casing edit keeps the frame and runs nothing - an edit-triggered chart settle carries every statement with chartable rows and executes only the edited ones; poll ticks and manual refresh still run all - CellBottomContent derives its tab list from the engine debounced queries, so a keystroke never re-keys the cell - the engine keeps slotKeys and identities per entry, derived once per SQL change; grid rounds carry frame keys through commits instead of re-keying per slot; reconcile and hydration take precomputed keys - resultsEquivalent skips the identity compare for byte-identical queries - statementIdentityPasses.test pins formatter calls per event Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Member
Author
PR #606 ReviewReviewing PR #606 at level 3 Reviewed head: The title and description follow the repository conventions. Issues
Validation
Summary
|
emrberk
marked this pull request as ready for review
September 8, 2026 10:33
Web Console deploy preview
|
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.
Summary
Validation
Deferred follow-up