@ai-matrx/records-ui 0.110.8 → 0.110.10
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 +15 -0
- package/dist/first-page.cjs +10 -0
- package/dist/first-page.cjs.map +1 -1
- package/dist/first-page.js +10 -0
- package/dist/first-page.js.map +1 -1
- package/dist/index.cjs +34 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +34 -11
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.110.10
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/records-ui/v0.110.9..npm/records-ui/v0.110.10 -- apps/shared/records-ui`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.110.9
|
|
10
|
+
### Unreleased
|
|
11
|
+
### lane spaces-fixes-r39
|
|
12
|
+
|
|
13
|
+
- "Archive record" in the grid's row menu now follows the `remove` rung (`editor`), not `write` (`edit_content`): a content editor, who may change rows but whose archive the store refuses, meets it disabled with the reason.
|
|
14
|
+
- `hideRefusedRowActions` on `Grid` / `ViewSwitcher`: a row action the person's level refuses is left out of the row menu instead of drawn disabled (Spaces sets it).
|
|
15
|
+
|
|
16
|
+
**Consumer action:** none required. A host that wants Notion's "offer only what works" passes `hideRefusedRowActions`.
|
|
17
|
+
|
|
3
18
|
## 0.110.8
|
|
4
19
|
|
|
5
20
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
package/dist/first-page.cjs
CHANGED
|
@@ -261,6 +261,7 @@ function choiceFieldKeys(fields) {
|
|
|
261
261
|
return kind === "select" || kind === "multi_select";
|
|
262
262
|
}).map((f) => f.key);
|
|
263
263
|
}
|
|
264
|
+
var REVERSE_CELL_CHIPS = 3;
|
|
264
265
|
var MIN_ROW_HEIGHT = 24;
|
|
265
266
|
var MAX_ROW_HEIGHT = 96;
|
|
266
267
|
var AGGREGATE_KINDS = [
|
|
@@ -1272,6 +1273,15 @@ async function askTablePageSeed(input) {
|
|
|
1272
1273
|
}
|
|
1273
1274
|
const unversioned = page.data.rows.filter((row) => ownVersion(row) === null).map((row) => row.id);
|
|
1274
1275
|
if (unversioned.length > 0) reads.push(client.recordHeaders({ ids: unversioned }));
|
|
1276
|
+
reads.push(
|
|
1277
|
+
client.reverseColumns({ table_id: input.tableId }).then(
|
|
1278
|
+
(columns) => columns.ok ? Promise.all(
|
|
1279
|
+
columns.data.map(
|
|
1280
|
+
(c) => client.reverseLinksMany({ table_id: input.tableId, source_field_id: c.source_field_id, record_ids: page.data.rows.map((row) => row.id), limit: REVERSE_CELL_CHIPS })
|
|
1281
|
+
)
|
|
1282
|
+
) : null
|
|
1283
|
+
)
|
|
1284
|
+
);
|
|
1275
1285
|
await Promise.all(reads.map((read) => read.catch(() => null)));
|
|
1276
1286
|
}
|
|
1277
1287
|
}
|