Repository navigation
Conversation
Adds docs/spec/table/table.md: a table as a run-time description that any C++ model can offer (one or many per model), a single pipeline for document tables, model-backed tables, collections and server pages, unloaded cells and data levels with partial pages and keyed refetches, the server level cache and client cache rules, where sort and filter run for a browser client, table configuration (column order/hide/resize/pin, chained sort, Excel-like filters, column groups with quantifiers, values with units), persisted table state through an injected store, and benchmarks with budgets at 100,000 x 300 on an in-memory C++ model. engine.md, database_pages.md and the spec index point at it. Refs #1085 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01No1NzmrVC1p6J5NnZm43g2
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
table.md: how a column shows its cells (places, rounding, empty text, units, labels), tone, tooltip and lock from companion columns, and acting on rows: a selection of the whole view resolved on the server against its membership, the application's menu entries, rows an action changed kept in view, key changes, busy, failed and locked rows, a disabled header, shared views and a sort bound up to 32. Paging in a database leaves the design: a model's rows in a database are a DataSource the server sorts and filters with apply. editing.md (new): grids of a form's ObjectArray on the forms field model, derived values through evaluate and a derive action, cells of a model's table edited through CellEdit and RowEdit actions, the walk, cell selection, paste and fill, header bands, spans, summary rows and fixed grids. docs/superpowers/plans/2026-11-17-one-table.md: one implementation plan for both specs, task by task in their delivery order, including the removal of paging in a database. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The index (2026-11-17-one-table.md) gains the parts table and 29 cross-part decisions that every part follows. Parts A to G plan table.md steps 0 to 9c and editing.md steps 1 to 6 with exact signatures, tests and commands. Every part has had one review round; the handover file lists the findings still open for parts C, D, E and G and the spec questions for the author. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been 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.
Design only: no code. Adds
docs/spec/table/table.md, the spec for one generic, optimized table that every surface reuses. Refs #1085; this PR does not close it.What the spec covers
BRIDGE_REGISTER_TABLE). Columns can depend on the session, and generic pages go on the wire. Typed rows are a convenience layer on top.tablenodes over rows, model-backed tables, forms collections and server pages, with the fate of each existing path.RemoteServer::announce, with no polling.LevelCache(load once, deduplicated, explicit invalidation tied to effects, leases and backoff);PageWindowunder changes;oneOf;Measurewith a unit registry filled at run time);table::ITableStateStore, loaded before the first query.bench::WideTableModel, in memory, no database) and budgets at 100,000 × 300 for the server, wire, caches, the frontend at 60 fps (including column virtualization) and the browser.engine.md,database_pages.mdand the spec index link to it. Sections owed in neighbouring specs are listed with the step each lands in.Review status
engine.mdor marked provisional until step 0 records baselines.Open questions
viewssaves without a conditional write inIPreferencesStore.🤖 Generated with Claude Code
https://claude.ai/code/session_01No1NzmrVC1p6J5NnZm43g2