@ai-matrx/records-ui 0.93.2 → 0.93.3

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog — @ai-matrx/records-ui
2
2
 
3
+ ## 0.93.3
4
+ ### lane RENDER-AUDIT (2026-09-26): one cell edit redraws one row, and nothing above the table
5
+
6
+ - **`RecordsMount` keeps the host's identity while its parts are the same.** It spread the host into a new object on every render (`{ ...host }`) — the value of the context every screen of this package reads — so ANY render above the mount (a search parameter moving, the organization list arriving, a toast) re-rendered the table page, its view bar, the grid and every cell. Guard: `one-cell-edit-redraws-one-row.test.tsx` ("the host's route re-renders").
7
+ - **The grid hands the data table stable parts.** The cells read the editing session through one handle that never changes (they closed over a session object rebuilt on every keystroke, save and refusal, which rebuilt every column); `editing.rowSignature(rowId)` (new on `GridEditing`) tells the table which row changed, as `rowVersion`. The summary and "Add row" footer cells read the latest summaries through a ref instead of rebuilding every column; `getRowId`, the selection's `isRowSelectable`, the copy config, the table style and the row actions are held still, their handlers reaching the grid as it is now. `withAddRowCells` also takes a function that draws the line.
8
+ - **Proof (design-system memoised rows + the records client's row sharing):** `one-cell-edit-redraws-one-row.test.tsx` — on Cedar Ridge's Appointments table page, one cell edit renders the page chrome (a shell beside it, the page header, `TablePage`, `ViewBar`) zero times and redraws only the edited row (plus the row Tab carried the cursor to); a realtime notice about one record redraws that one row without re-reading the page; a host route render with an inline host redraws nothing below the mount. RED 5/5 on the pre-lane bytes, GREEN 5/5 after. `testkit/renderCensus.ts` is the counter (a minimal React DevTools hook).
9
+
3
10
  ## 0.93.2 (2026-09-26 — files from the app's own window; notes read formatted)
4
11
 
5
12
  - **New host port `pickFiles({ multiple, accept? }) → file ids | null`.** An attachment cell opens