@ai-matrx/records-ui 0.93.3 → 0.93.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/index.cjs +396 -227
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +397 -228
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.93.4
|
|
4
|
+
### Unreleased
|
|
5
|
+
### lane RENDER-3 (2026-09-27): one cell edit redraws one row — and none of the data table's toolbar, headers or footer
|
|
6
|
+
|
|
7
|
+
- **The grid hands the data table's chrome props that hold still** (design-system `MatrxTableChrome`, same release train). `query`, `footerRows`, `spreadsheet`, `toolbar`, `coverage`, `detail`, `window` and `virtualize` were written inline and so were new on each of the grid's ~9 renders per cell edit. Each is now rebuilt only when what it draws changes; the handlers whose inputs move with every keystroke act through refs (`sheetNow`, `addRowRef`, `footerNow`).
|
|
8
|
+
- **Columns are held by what they hold.** The merged grid's header menus are rebuilt whenever their context moves (every accepted cell); a menu and a column filter are now held while what they SHOW is the same, a menu choice runs the handler its place holds NOW, and `columns` is the same array while every column in it is. `useMergedGridControls().columns` is memoised.
|
|
9
|
+
- **The footer redraws when its cells would draw differently** — the summaries chosen, their values, the row count, loading, the "Add row" busy state — and never otherwise; its buttons act through `footerNow`.
|
|
10
|
+
- **The Undo / Redo pair reads its own source** (`useUndoSource`, `UndoRedoLive`, `UndoFace`): a new undo step redraws the pair, not the toolbar around it. `UndoRedoButtons` is unchanged for other callers.
|
|
11
|
+
- **Proof:** `one-cell-edit-redraws-one-row.test.tsx` now also asserts the data table's toolbar, column headers and footer (with the pager) render ZERO times on a cell edit and on a realtime notice, in both grids, and the merged grid's Undo pair at most once. `testkit/renderCensus.ts` counts by region (header / footer / toolbar / undo) and only components React actually ran (its PerformedWork flag — a memo wrapper whose compare bailed out no longer counts). RED 4/5 on the pre-lane bytes (a HEAD export of records-ui + design-system), GREEN 5/5 after. Merged-grid cell edit in jsdom: 7,750 renders → 1,482.
|
|
12
|
+
|
|
3
13
|
## 0.93.3
|
|
4
14
|
### lane RENDER-AUDIT (2026-09-26): one cell edit redraws one row, and nothing above the table
|
|
5
15
|
|