@ai-matrx/records-ui 0.93.8 → 0.93.11
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 +23 -0
- package/dist/index.cjs +233 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +434 -246
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.93.11
|
|
4
|
+
### Unreleased
|
|
5
|
+
### page-pass shared fix (2026-09-27): a custom field can be archived where it was added
|
|
6
|
+
|
|
7
|
+
- **`CustomFieldsSection` → Edit → "Remove field"** (for whoever may add one): an inline confirm names the consequence (removed for everyone in the organization; values stay in every record and come back with it), then `custom.entity_field_retire` archives it (soft delete). Adding had no undo anywhere in the UI. Proof: `custom-fields-empty-select-and-agent-door.test.tsx`, red on the previous component.
|
|
8
|
+
|
|
9
|
+
## 0.93.10
|
|
10
|
+
|
|
11
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
12
|
+
`git diff npm/records-ui/v0.93.8..npm/records-ui/v0.93.10 -- apps/shared/records-ui`).
|
|
13
|
+
No source changes intended and no consumer action required.
|
|
14
|
+
|
|
15
|
+
## 0.93.9
|
|
16
|
+
### Unreleased
|
|
17
|
+
### lane CHOICE-TAILS (2026-09-27)
|
|
18
|
+
|
|
19
|
+
- **Removing a choice that records still hold asks where they go** (`ChoiceListEditor`, `FieldEditor`). The per-choice list reads `fieldChoiceUsage` once; pressing × on a choice records hold asks, Notion-style — "2 records use “X-ray”." — **Move them to** [another choice] · **Keep the words as other values** (only where the column takes other values) · **Clear them** · Cancel. An answered removal reads what Save will do ("2 records that hold “X-ray” are cleared.") with **Put it back**. Save sends the list and the answers in ONE `fieldUpdateRehomingChoices` call; the panel then says what changed and offers **Undo** (the list and every cell back, one call) and **Done**. A choice no record holds is removed at once, as before. New props: `ChoiceListEditor` `allowOther`, `rehome`, `onRehome`.
|
|
20
|
+
- **The record form's closed drop-down is the same combobox as a column that takes other values** (`OptionControl` → `OpenChoicePicker`, one picker for every choice column outside a grid cell): search the choices, pick one, or type a word that is none of them and be asked — Add or Cancel on a closed column (never Keep as typed), Add / Keep as typed / Cancel where other values are allowed; `never_add` on a closed column says “<word>” is not one of the choices. Add goes through `fieldUpdate`'s `options_add`, then the field takes the new choice. A grid cell keeps its own list (it asks when typed into, as before).
|
|
21
|
+
- **Proof:** `src/a-removed-choice-asks-where-its-records-go.test.tsx` (Harbor Dental's Visit Type) RED 4/5 on the pre-lane bytes, GREEN; the closed-column clauses of `src/a-choice-that-takes-other-values-adds-what-you-typed.test.tsx` RED 3/3 on the pre-lane `editors.tsx`, GREEN.
|
|
22
|
+
|
|
23
|
+
#### Consumer action
|
|
24
|
+
- Needs `@ai-matrx/records` with `fieldChoiceUsage` / `fieldUpdateRehomingChoices` (the same release train). A host that tested for a closed `<Select>` in the record form now finds the "Pick for <field>" combobox.
|
|
25
|
+
|
|
3
26
|
## 0.93.8
|
|
4
27
|
|
|
5
28
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|