@ai-matrx/records-ui 0.115.82 → 0.115.83

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,9 +1,12 @@
1
1
  # Changelog — @ai-matrx/records-ui
2
2
 
3
- ## 0.115.82
3
+ ## 0.115.83
4
+ ### Unreleased
4
5
 
5
- 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.
6
- Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
6
+ - Image attachments are drawn as thumbnails (grid: follows the row height; record page: larger) through the host's `fileImage`; the viewer still opens on click.
7
+ - The "Kept aside" panel names a kept person through the host's `members` roster, never their user id.
8
+ - New optional host port `navigate(href)`: the grid's open-record control and the record menu's Open / History move in-app instead of reloading.
9
+ Consumer action: bind `navigate` to the router's push in the host (`recordsUiHostFor`); unbound, behavior is unchanged.
7
10
 
8
11
  ## 0.115.81
9
12
 
@@ -473,6 +473,12 @@ interface RecordsUiHost {
473
473
  table: Table;
474
474
  recordId: Uuid;
475
475
  }) => string | undefined;
476
+ /**
477
+ * OPTIONAL. GO TO A PAGE OF THIS APP WITHOUT RELOADING IT (the router's push). Every "open" control that reaches a
478
+ * `hrefForRecord` page goes through it, so the grid's ⤢ is one client-side move instead of a full page load that
479
+ * drops the grid, its scroll and its selection. Unbound, the control assigns the location (a full load).
480
+ */
481
+ navigate?: (href: string) => void;
476
482
  /**
477
483
  * OPTIONAL. WHERE A FILE OPENS. A value too big for one cell is kept as a file and the cell
478
484
  * holds its first words (`@ai-matrx/records/core` `wholeValueOf`); this is the host's page for
package/dist/helpers.d.ts CHANGED
@@ -473,6 +473,12 @@ interface RecordsUiHost {
473
473
  table: Table;
474
474
  recordId: Uuid;
475
475
  }) => string | undefined;
476
+ /**
477
+ * OPTIONAL. GO TO A PAGE OF THIS APP WITHOUT RELOADING IT (the router's push). Every "open" control that reaches a
478
+ * `hrefForRecord` page goes through it, so the grid's ⤢ is one client-side move instead of a full page load that
479
+ * drops the grid, its scroll and its selection. Unbound, the control assigns the location (a full load).
480
+ */
481
+ navigate?: (href: string) => void;
476
482
  /**
477
483
  * OPTIONAL. WHERE A FILE OPENS. A value too big for one cell is kept as a file and the cell
478
484
  * holds its first words (`@ai-matrx/records/core` `wholeValueOf`); this is the host's page for