@ai-matrx/records-ui 0.116.103 → 0.116.104

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.116.104
4
+
5
+ UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
6
+ Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
7
+
3
8
  ## 0.116.103
4
9
 
5
10
  - **A field marked hidden stays off every default view (lane HIDDEN-FIELD-DEFAULT, 2026-10-23).** A field whose definition carries `config.hidden === true` (the Notion importer's "Notion ID") is now left out wherever a view has no saved choice: the grid's and merged grid's columns, the gallery tiles, board/list/calendar/timeline card fields and the org-chart/swipe card lines. One shared helper (`systemFields.ts`: `isSystemField`, `hiddenOrSystemDefault`, `hiddenToWrite`). A view's own saved `hiddenFields` / `cardHidden` (even empty) wins, the Fields and column pickers still list the field so a person can turn it on, and emptying the hidden list now writes `hiddenFields: []` (when the table has such a field) so the choice is kept. Guard: `a-field-marked-hidden-stays-off-every-default-view.test.tsx` (red before). Consumer action: none.
@@ -8,6 +13,22 @@
8
13
 
9
14
  - **The AI column fill limits are knobs (2026-10-23, FB5, ADV-5 F4).** `EnrichPanel` reads its try size, one fill's row cap and the "Fill N rows" start from the store (`recordsLimits`: knobs `custom/ai_fill_try_max` 10, `custom/ai_fill_rows_max` 50, `custom/ai_fill_default_rows` 3); a skeleton stands where the fill buttons go until they are read. `FILL_TRY_MAX` / `FILL_ROWS_MAX` are gone; `dueRowsEstimate(row, rowsMax?)` and `fillCountFrom(text, rowsMax?)` take the cap; new `useFillLimits(client)`. `objectActions.ts` is no longer "use client" (it reads `formatTapShortcut` from `@ai-matrx/design-system/tap-shortcut`), so `/helpers` stays light. Consumer action: stop importing `FILL_TRY_MAX` / `FILL_ROWS_MAX`.
10
15
 
16
+ ## 0.116.102
17
+
18
+ - **Move under… and Also points at never move the dialog (lane CLOSE-LINK round 2, 2026-10-23).** `MoveUnderDialog` draws its search box before a table is picked (disabled, "Pick a table first"), and `AlsoPointsAt` keeps one fixed-height box for "Reading tables…", "No other tables yet." and the list, so nothing below shifts when the tables arrive. Guards: assertions in `a-record-moves-under-another-and-a-refused-move-says-why.test.tsx` and `every-table-picker-hides-value-sets.test.tsx` (red before). Consumer action: none.
19
+
20
+ - **The AI column fill limits are knobs (2026-10-23, FB5, ADV-5 F4).** `EnrichPanel` reads its try size, one fill's row cap and the "Fill N rows" start from the store (`recordsLimits`: knobs `custom/ai_fill_try_max` 10, `custom/ai_fill_rows_max` 50, `custom/ai_fill_default_rows` 3); a skeleton stands where the fill buttons go until they are read. `FILL_TRY_MAX` / `FILL_ROWS_MAX` are gone; `dueRowsEstimate(row, rowsMax?)` and `fillCountFrom(text, rowsMax?)` take the cap; new `useFillLimits(client)`. `objectActions.ts` is no longer "use client" (it reads `formatTapShortcut` from `@ai-matrx/design-system/tap-shortcut`), so `/helpers` stays light. Consumer action: stop importing `FILL_TRY_MAX` / `FILL_ROWS_MAX`.
21
+
22
+ ## 0.116.101
23
+
24
+ - **A field marked hidden stays off every default view (lane HIDDEN-FIELD-DEFAULT, 2026-10-23).** A field whose definition carries `config.hidden === true` (the Notion importer's "Notion ID") is now left out wherever a view has no saved choice: the grid's and merged grid's columns, the gallery tiles, board/list/calendar/timeline card fields and the org-chart/swipe card lines. One shared helper (`systemFields.ts`: `isSystemField`, `hiddenOrSystemDefault`, `hiddenToWrite`). A view's own saved `hiddenFields` / `cardHidden` (even empty) wins, the Fields and column pickers still list the field so a person can turn it on, and emptying the hidden list now writes `hiddenFields: []` (when the table has such a field) so the choice is kept. Guard: `a-field-marked-hidden-stays-off-every-default-view.test.tsx` (red before). Consumer action: none.
25
+
26
+ ## 0.116.101
27
+
28
+ - **Move under… and Also points at never move the dialog (lane CLOSE-LINK round 2, 2026-10-23).** `MoveUnderDialog` draws its search box before a table is picked (disabled, "Pick a table first"), and `AlsoPointsAt` keeps one fixed-height box for "Reading tables…", "No other tables yet." and the list, so nothing below shifts when the tables arrive. Guards: assertions in `a-record-moves-under-another-and-a-refused-move-says-why.test.tsx` and `every-table-picker-hides-value-sets.test.tsx` (red before). Consumer action: none.
29
+
30
+ - **The AI column fill limits are knobs (2026-10-23, FB5, ADV-5 F4).** `EnrichPanel` reads its try size, one fill's row cap and the "Fill N rows" start from the store (`recordsLimits`: knobs `custom/ai_fill_try_max` 10, `custom/ai_fill_rows_max` 50, `custom/ai_fill_default_rows` 3); a skeleton stands where the fill buttons go until they are read. `FILL_TRY_MAX` / `FILL_ROWS_MAX` are gone; `dueRowsEstimate(row, rowsMax?)` and `fillCountFrom(text, rowsMax?)` take the cap; new `useFillLimits(client)`. `objectActions.ts` is no longer "use client" (it reads `formatTapShortcut` from `@ai-matrx/design-system/tap-shortcut`), so `/helpers` stays light. Consumer action: stop importing `FILL_TRY_MAX` / `FILL_ROWS_MAX`.
31
+
11
32
  ## 0.116.100
12
33
 
13
34
  - **The fill confirm step says why there is no estimate (2026-10-23, FA5-F5).** `fillEstimateWords` returns `no estimate: <the server's says>` when the estimate door answers `basis: "none"` with a reason (it was a bare "no estimate"). No API change. Test: `an-ai-fill-is-priced-before-it-runs.test.tsx`.
@@ -13527,10 +13527,11 @@ import { momentZoneOptions as momentZoneOptions2 } from "@ai-matrx/design-system
13527
13527
  import { Fragment as Fragment17, jsx as jsx51, jsxs as jsxs46 } from "react/jsx-runtime";
13528
13528
  var SHARED_FOR_MS = 5e3;
13529
13529
  var sharedReads = /* @__PURE__ */ new WeakMap();
13530
+ var KEPT_OUT_OF_LISTS = /* @__PURE__ */ new Set(["agent_output", "copying"]);
13530
13531
  function readTablesAnywhere(dataSource) {
13531
13532
  const held = sharedReads.get(dataSource);
13532
13533
  if (held && Date.now() - held.at < SHARED_FOR_MS) return held.read;
13533
- const read = Promise.resolve(dataSource.rpc("data_home_tables", {}, { schema: "custom" })).then(
13534
+ const read = Promise.resolve(dataSource.rpc("data_home", { p_include_platform_tables: true }, { schema: "custom" })).then(
13534
13535
  ({ data, error }) => {
13535
13536
  if (error) {
13536
13537
  return {
@@ -13539,7 +13540,8 @@ function readTablesAnywhere(dataSource) {
13539
13540
  rows: []
13540
13541
  };
13541
13542
  }
13542
- const rows = (Array.isArray(data) ? data : []).slice();
13543
+ const answered = data && typeof data === "object" && !Array.isArray(data) ? data.tables : null;
13544
+ const rows = (Array.isArray(answered) ? answered : []).filter((t) => !KEPT_OUT_OF_LISTS.has(t.kind ?? ""));
13543
13545
  rows.sort((a, b) => a.table_name.localeCompare(b.table_name));
13544
13546
  return { loading: false, error: null, rows };
13545
13547
  },
@@ -14317,4 +14319,4 @@ export {
14317
14319
  RecordNameText,
14318
14320
  HeldChangeDecision
14319
14321
  };
14320
- //# sourceMappingURL=chunk-VQDHNYJQ.js.map
14322
+ //# sourceMappingURL=chunk-TZ2KUSHH.js.map