@ai-matrx/records-ui 0.5.4 → 0.6.0

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,47 @@
1
1
  # Changelog — @ai-matrx/records-ui
2
2
 
3
+ ## 0.6.0
4
+
5
+ Editing where the value is shown, and four other things an independent walk of
6
+ the real screens (19 September) found a person could not do.
7
+
8
+ - **`Grid` edits in place** (`src/gridEditing.tsx`). Click a cell, or focus it
9
+ and press Enter, and the Field's own editor opens there; Enter saves, Escape
10
+ cancels, Tab saves and opens the next cell. The write goes through the one
11
+ write door carrying the version the person started from, so the STORE decides
12
+ whether somebody else got there first — and on `PT409` the cell shows the
13
+ other person's value with Try again and Keep theirs beside it. Optimistic,
14
+ and the value comes back off the screen the moment the store refuses.
15
+ - **Rows can be added and deleted from the grid.** "New record" writes an empty
16
+ record and opens its first cell; a Table with a required Field refuses in its
17
+ own words and the grid offers the whole form by name. Delete names the
18
+ consequence and the Table's own restore window before it happens.
19
+ - **`PersonPicker`** (new) and the **`members` port** on `RecordsUiProvider`. A
20
+ person field offers the organization's members and resolves whoever is picked
21
+ to their record in the kernel Person Table. It no longer offers the Homes
22
+ that also live in that Table.
23
+ - **Kanban and calendar carry the picker their sentence always promised.** The
24
+ group-by Field and the date Field are chosen on the board and saved onto the
25
+ view record (`onViewChange` → `viewPatchDocument`), so the choice is
26
+ remembered per saved view. `ViewBar`'s duplicate layout `select` is gone: the
27
+ switcher owns the layout, and the two controls can no longer disagree.
28
+ - **`TablePage` says when a table is not reachable** (`TABLE_NOT_REACHABLE`)
29
+ instead of rendering an endless skeleton, and takes `onLeave` for the way out.
30
+ - **Names, never tokens** (`src/names.ts`). Field headers, table cards, record
31
+ chips and type words all read as a person writes them; the app's own
32
+ bookkeeping Tables get their own lane in `TablesHome` ("Kept by the app")
33
+ instead of sitting among a person's data under their slug.
34
+ - A `json` parity editor, and honest empty states for a choice field whose
35
+ options Table is empty versus one that names no Table at all.
36
+
37
+ ### Consumer action
38
+
39
+ `RecordsUiHost.members` is OPTIONAL: unbound, a person field is absent with
40
+ `NO_MEMBERS_REASON` rather than offering the wrong things. Bind it to your
41
+ host's organization roster to get the picker. `Grid` takes `editable` (default
42
+ true) — pass `false` on a read-only surface. `TableLane` gained `"app"`, so an
43
+ exhaustive switch over it needs the new arm.
44
+
3
45
  ## 0.5.4
4
46
 
5
47
  Makes the live FormBuilder certification wait for the editor state that follows