@ai-matrx/records-ui 0.116.47 → 0.116.49
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 +37 -1
- package/dist/{SaveToTable-HG3HQMAQ.js → SaveToTable-G7Y4H7SB.js} +3 -3
- package/dist/{chunk-K3B5IRXY.js → chunk-6TDTSMLU.js} +3 -3
- package/dist/{chunk-VJDJQDDI.js → chunk-KDD2FZZR.js} +2 -2
- package/dist/{chunk-MDXDJVDB.js → chunk-P4P4IFM4.js} +1 -1
- package/dist/chunk-P4P4IFM4.js.map +1 -0
- package/dist/helpers.d.cts +2 -0
- package/dist/helpers.d.ts +2 -0
- package/dist/index.cjs +4895 -4763
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +4389 -4259
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-MDXDJVDB.js.map +0 -1
- /package/dist/{SaveToTable-HG3HQMAQ.js.map → SaveToTable-G7Y4H7SB.js.map} +0 -0
- /package/dist/{chunk-K3B5IRXY.js.map → chunk-6TDTSMLU.js.map} +0 -0
- /package/dist/{chunk-VJDJQDDI.js.map → chunk-KDD2FZZR.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
### Unreleased
|
|
4
4
|
|
|
5
|
+
- **A reader's bulk write buttons are disabled with the reason (AT-FIX-G1b, 2026-10-19).** The selection bar drew Set a column / Clear / Fill down / Duplicate / Delete enabled for a member with only View access and refused on apply (or, on a read-only table, no row could be ticked at all). Every row is now selectable (copy and print read), and `BulkActions` draws the write buttons disabled with `NEEDS_EDIT_REASON` ("Needs Edit access") unless the person may write every ticked row; Print with layout stays on. The gate is in the action, not in the tick boxes. Guard: `a-view-only-reader-sees-the-bulk-write-buttons-disabled-with-the-reason.test.tsx` (red before). Consumer action: none.
|
|
6
|
+
- **An interface-only reader draws the real chart (AT-FIX-G1b, 2026-10-19).** A chart element read through the interface door now draws from `client.interfaceChart` (the one `ChartBlock`); the dashed "Charts draw for members of this organization." box stays only when the store answers nothing, and a chart over a column she may not read shows the store's refusal. Needs `@ai-matrx/records` with `interfaceChart`. Guard: `an-interface-only-viewer-draws-the-chart-from-the-interface-chart-read.test.tsx` (red before). Consumer action: none.
|
|
7
|
+
- **Follow this record (AT-FIX-G2, 2026-10-19).** New `RecordFollow` (exported): one Follow / Following button and the list of who follows, drawn by `RecordPanel` above the comments, so the table page's record rail and the record's own page both have it. Needs `@ai-matrx/records` with `recordFollowSet` / `recordFollowers`. Guard: `a-record-can-be-followed-from-its-panel.test.tsx` (red before: no `RecordFollow`). Consumer action: none.
|
|
8
|
+
- **A gallery card is titled like a board card (ADVERSARIAL-4 N1, 2026-10-19).** The gallery read only the host-handed `titleField` and drew "Untitled" when a host left it out and the name column was not a conventional key (`room_name`); it now uses the same `cardTitleField` as the board, so the name is the title and is not repeated as a field. Guard: the gallery clause in `a-card-is-titled-by-what-names-its-record.test.tsx` (red before). Consumer action: none (hosts should still pass the table's `titleField`).
|
|
9
|
+
- **A number tile wears its title; an interface-only reader's chart box says why it is empty; choices read in their words; the row's "Shown to" sentence names what it gates (AT-FIX-G1, 2026-10-19).** `NumberBlockView` draws the element's `title` above the count (the skeleton keeps the line, so the number landing shifts nothing). A `chart` element read through the interface door (no chart door for an outsider) draws "Charts draw for members of this organization." in a box of the chart's own height instead of a hole. Rows read through the interface door get their choice cells in the choice's own words (`withChoiceWords`, from the door's `labels`; a value with no word stays as stored). `ROW_CONTROL_WORDS.whoMayChangeRow` is now `SHOWN_TO_WHO_MAY_CHANGE` from `@ai-matrx/records` ("...can change who sees it."): it governs "Shown to", never the row's cells (those follow the table's Editor level). Guards: `a-number-tile-shows-its-title-and-an-outsiders-chart-says-why.test.tsx` (red before), `a-built-thing-is-archived-and-a-row-says-who-it-is-shown-to.test.tsx`. Consumer action: none.
|
|
10
|
+
|
|
5
11
|
- **A timed-out Make it work tries again (AT-SLOW-2, 2026-10-19).** `RefusalNotice` takes `onRetry` and draws a "Try again" door; `ViewNeeds` passes the same press, which reads the table first so a declare that landed before the client gave up is used, never made twice. Guard: `a-timed-out-make-it-work-tries-again.test.tsx` (red before). Consumer action: none.
|
|
6
12
|
- **Bulk print names every page; gallery cards keep long values inside (AT-SLOW, 2026-10-19).** `BulkActions` takes `titleKey` (Grid passes the table's `title_field`) and hands `PrintWithLayoutDialog` each ticked row's name (`printNames`), so a refused page is titled with the row, not "Record". A gallery tile and card are `min-w-0 overflow-hidden` and each value carries its text as a `title` (`galleryValueTitle`, 300 characters at most), so a long unbroken value is cut with an ellipsis instead of running over the next card. Guards: `a-bulk-print-names-each-page.test.ts`, the new clause in `a-gallery-card-shows-what-it-holds-in-the-grids-format.test.tsx` (red before). Consumer action: none.
|
|
7
13
|
- **A saved form is never kept as unsaved work (2026-10-19).** `FormBuilder`'s keep timer, armed by the last keystroke, could fire after a save dropped the kept copy and before the read-back landed, keeping the saved form again; the next open said "Unsaved changes … restored" over saved work. What the last accepted save wrote is now never kept. Guard: `a-refused-save-keeps-the-builder.test.tsx` (slow read-back clause, red before). Consumer action: none.
|
|
@@ -29,11 +35,41 @@
|
|
|
29
35
|
- Tests: `vitest.setup.ts` gives jsdom a no-op `performance.mark` / `measure`.
|
|
30
36
|
- **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`.
|
|
31
37
|
|
|
32
|
-
## 0.116.
|
|
38
|
+
## 0.116.49
|
|
33
39
|
|
|
34
40
|
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.
|
|
35
41
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
|
|
36
42
|
|
|
43
|
+
## 0.116.48
|
|
44
|
+
|
|
45
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
46
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
47
|
+
Diff: `git diff 77f29a65b9 ff560b1be4 -- apps/shared/records-ui/src`
|
|
48
|
+
|
|
49
|
+
Changed shipped source files (3):
|
|
50
|
+
- `apps/shared/records-ui/src/PageCanvas.tsx`
|
|
51
|
+
- `apps/shared/records-ui/src/RowControls.tsx`
|
|
52
|
+
- `apps/shared/records-ui/src/ViewSwitcher.tsx`
|
|
53
|
+
|
|
54
|
+
## 0.116.47
|
|
55
|
+
|
|
56
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
57
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
58
|
+
Diff: `git diff be963e798f 77f29a65b9 -- apps/shared/records-ui/src`
|
|
59
|
+
|
|
60
|
+
Changed shipped source files (11):
|
|
61
|
+
- `apps/shared/records-ui/src/BookingBuilder.tsx`
|
|
62
|
+
- `apps/shared/records-ui/src/BookingSlots.tsx`
|
|
63
|
+
- `apps/shared/records-ui/src/BuiltOnArchive.tsx`
|
|
64
|
+
- `apps/shared/records-ui/src/CommentThread.tsx`
|
|
65
|
+
- `apps/shared/records-ui/src/EmbedFrame.tsx`
|
|
66
|
+
- `apps/shared/records-ui/src/Enrich.tsx`
|
|
67
|
+
- `apps/shared/records-ui/src/FormsPanel.tsx`
|
|
68
|
+
- `apps/shared/records-ui/src/TablePage.tsx`
|
|
69
|
+
- `apps/shared/records-ui/src/objectActions.ts`
|
|
70
|
+
- `apps/shared/records-ui/src/plainWords.ts`
|
|
71
|
+
- `apps/shared/records-ui/src/rights.ts`
|
|
72
|
+
|
|
37
73
|
## 0.116.46
|
|
38
74
|
|
|
39
75
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
SAVE_TO_TABLE_TYPES,
|
|
5
5
|
SaveToTable,
|
|
6
6
|
shapesOfSource
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KDD2FZZR.js";
|
|
8
8
|
import "./chunk-ABIUJCNS.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-P4P4IFM4.js";
|
|
10
10
|
import "./chunk-6Z537SLG.js";
|
|
11
11
|
import "./chunk-LBZZDHV6.js";
|
|
12
12
|
import "./chunk-4ZS4WEEE.js";
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
SaveToTable,
|
|
18
18
|
shapesOfSource
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=SaveToTable-
|
|
20
|
+
//# sourceMappingURL=SaveToTable-G7Y4H7SB.js.map
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
useRecordsUi,
|
|
55
55
|
useTableRights,
|
|
56
56
|
withoutInternalCodes
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-P4P4IFM4.js";
|
|
58
58
|
import {
|
|
59
59
|
kindItemWords,
|
|
60
60
|
kindLabel,
|
|
@@ -4786,7 +4786,7 @@ import { AlchemyMenu } from "@ai-matrx/alchemy/react";
|
|
|
4786
4786
|
import { OutboundLink as OutboundLink5 } from "@ai-matrx/kit/outbound-react";
|
|
4787
4787
|
import { humanizeIdentifier } from "@ai-matrx/kit/text-case";
|
|
4788
4788
|
import { jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
4789
|
-
var SaveToTable = lazy(() => import("./SaveToTable-
|
|
4789
|
+
var SaveToTable = lazy(() => import("./SaveToTable-G7Y4H7SB.js").then((m) => ({ default: m.SaveToTable })));
|
|
4790
4790
|
var LONGEST_READ = 5e5;
|
|
4791
4791
|
var FENCE = /^```(?:json)?[ \t]*\r?\n([\s\S]*?)\r?\n?```$/;
|
|
4792
4792
|
function isPlainObject(v) {
|
|
@@ -12328,4 +12328,4 @@ export {
|
|
|
12328
12328
|
RecordNameText,
|
|
12329
12329
|
HeldChangeDecision
|
|
12330
12330
|
};
|
|
12331
|
-
//# sourceMappingURL=chunk-
|
|
12331
|
+
//# sourceMappingURL=chunk-6TDTSMLU.js.map
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
useChoiceNudge,
|
|
25
25
|
useRecordsUi,
|
|
26
26
|
useTableRights
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-P4P4IFM4.js";
|
|
28
28
|
import {
|
|
29
29
|
guessColumn,
|
|
30
30
|
readTableShapes,
|
|
@@ -5093,4 +5093,4 @@ export {
|
|
|
5093
5093
|
shapesOfSource,
|
|
5094
5094
|
SaveToTable
|
|
5095
5095
|
};
|
|
5096
|
-
//# sourceMappingURL=chunk-
|
|
5096
|
+
//# sourceMappingURL=chunk-KDD2FZZR.js.map
|