@ai-matrx/records-ui 0.116.57 → 0.116.59

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
@@ -2,6 +2,7 @@
2
2
 
3
3
  ### Unreleased
4
4
 
5
+ - **A refused reference search is never drawn as an empty list (lane LINK-PICKER, 2026-10-20).** The entity-reference picker (`EntityReferenceControl`, the "Pick" on a column that points at a platform kind) drew the store's refusal AND, under it, "There is no <kind> you can open yet"; on a custom row's Pay period column a person saw a dead picker. When the search door refuses, only the refusal is drawn; "there is none" stays for a search that answered an empty list. The refusal itself came from the store (`custom.entity_reference_search` could not search a kind with no title column; fixed by migrations `linkpicker_a`, `_b`, `_c`). Guard: `a-refused-reference-search-is-never-an-empty-list.test.tsx` (red before). Consumer action: none.
5
6
  - **A hook that reads the store never drops a refusal (lane TABLEFACTS-SILENT, 2026-10-19).** `usePublicReadOnly` read a timed-out `table_facts` as "not public" and said nothing; thirteen sibling hooks did the same with their own reads (`useStageField`, `useFarFields`, `useStructureHidden`, `useTableDecorations`, `useChoiceOptions`, `useColumnSummaries` operations, `useLinkGroupNamer`, `useFormulaReadings`, `usePickerTables`, `useWholeTableCount`, `useRecordVersion`, `useAddedRows`, `useMemberQuestion`, `useNames`, the value counts). They now read through one shared seat (`readRefusals.tsx`: `askWithOneRetry`, `useReadRefusal`, `useReadAgain`): a refused read is asked once more by itself, then said in place as the shared timeout sentence with Try again by `ReadRefusalDock` (fixed over the page, so nothing moves; mounted by `TablePage` and `PageCanvas`), and cleared when an answer lands. Guard: `a-hook-that-reads-the-store-never-swallows-a-refusal.test.tsx` (red on 13 hooks before). Consumer action: none. Needs `@ai-matrx/records` whose memory store answers `table_facts` (a template preview otherwise shows the refusal).
6
7
  - **"Fill N rows" in the AI fill panel; a bulk fill confirms with its points estimate (lane ENRICH-SPEED, 2026-10-19).** `EnrichPanel` gains a small number box and "Fill N rows" (1 to 50, default 3) beside "Try on 1 row", so a person can try 3 or 10 before paying for all. It runs the same `host.enrich` as "Fill in what is due" (never a second runner); 10 rows or fewer run at once, anything bigger, including "Fill in what is due" (the rows still empty, at most 50), meets a confirm step that shows the points estimate (`cost_per_row_cents` at the host's `pointsRate`, or says there is no estimate yet). New exports from `Enrich`: `FILL_TRY_MAX`, `FILL_ROWS_MAX`, `dueRowsEstimate`, `fillCountFrom`. Guard: `fill-n-rows-and-a-bulk-fill-confirms.test.tsx` (red before). Consumer action: none.
7
8
  - **A chart view counts each option of a many-value column (CHART-READ-2, 2026-10-19).** `ChartLayout` asks the store for the split (`splitMulti: true`), so a multi-select or multi-link chart draws one bar per option / linked record instead of one per distinct combination. Guard: `a-chart-view-counts-each-option-of-a-many-value-column.test.tsx` (red before). Consumer action: none.
@@ -39,7 +40,7 @@
39
40
  - Tests: `vitest.setup.ts` gives jsdom a no-op `performance.mark` / `measure`.
40
41
  - **New subpath `@ai-matrx/records-ui/data-source`:** `recordsDataSource`, `personActor` and the who-changed words (`whenWords`, `actorWords`, `actorBadge`, `lastChangeSentence`, `SOMEBODY`, `THE_SYSTEM`) alone. `/helpers` also carries the field-type words, the colour resolver and the table builders, which read `@ai-matrx/records/core`; this entry reaches `@ai-matrx/kit` only, and shares the one data-source cache with `/helpers` and the root. Additive. Consumer action: a shell-reachable service that only binds its supabase client or says when imports from `/data-source`.
41
42
 
42
- ## 0.116.57
43
+ ## 0.116.59
43
44
 
44
45
  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.
45
46
  Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
@@ -3436,7 +3436,11 @@ function EntityReferencePicker({
3436
3436
  onSearch: setSearch,
3437
3437
  items,
3438
3438
  notice,
3439
- empty: found.loading ? null : /* @__PURE__ */ jsx17("p", { className: "px-2 py-1 text-[11px] text-muted-foreground", children: search.trim() ? `No ${kindWords} you can open is called \u201C${search.trim()}\u201D.` : `There is no ${kindWords} you can open yet.` }),
3439
+ empty: (
3440
+ // LINK-PICKER: a refused search is never an empty list. The refusal line above says why; "there is
3441
+ // none you can open" under it would be a second, untrue answer (the 2026-10-20 dead picker).
3442
+ found.loading || found.error ? null : /* @__PURE__ */ jsx17("p", { className: "px-2 py-1 text-[11px] text-muted-foreground", children: search.trim() ? `No ${kindWords} you can open is called \u201C${search.trim()}\u201D.` : `There is no ${kindWords} you can open yet.` })
3443
+ ),
3440
3444
  onPick: (key) => {
3441
3445
  const r = (found.data ?? []).find((x) => `${x.token}:${x.id}` === key);
3442
3446
  if (!r) return;
@@ -12334,4 +12338,4 @@ export {
12334
12338
  RecordNameText,
12335
12339
  HeldChangeDecision
12336
12340
  };
12337
- //# sourceMappingURL=chunk-F3NGOSYY.js.map
12341
+ //# sourceMappingURL=chunk-AJVN4BMI.js.map