@object-ui/plugin-view 3.3.1 → 3.4.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,30 @@
1
1
  # @object-ui/plugin-view
2
2
 
3
+ ## 3.4.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a2d7023]
8
+ - Updated dependencies [f1ca238]
9
+ - Updated dependencies [de881ef]
10
+ - @object-ui/components@3.4.0
11
+ - @object-ui/plugin-grid@3.4.0
12
+ - @object-ui/types@3.4.0
13
+ - @object-ui/plugin-form@3.4.0
14
+ - @object-ui/core@3.4.0
15
+ - @object-ui/react@3.4.0
16
+
17
+ ## 3.3.2
18
+
19
+ ### Patch Changes
20
+
21
+ - @object-ui/types@3.3.2
22
+ - @object-ui/core@3.3.2
23
+ - @object-ui/react@3.3.2
24
+ - @object-ui/components@3.3.2
25
+ - @object-ui/plugin-form@3.3.2
26
+ - @object-ui/plugin-grid@3.3.2
27
+
3
28
  ## 3.3.1
4
29
 
5
30
  ### Patch Changes
package/README.md CHANGED
@@ -367,3 +367,29 @@ const userView: ObjectViewSchema = {
367
367
  ## License
368
368
 
369
369
  MIT — see [LICENSE](./LICENSE).
370
+
371
+ ## Multi-view UX
372
+
373
+ In addition to the renderer, the package ships two components that wrap an
374
+ object's set of saved views (Airtable / Notion-style):
375
+
376
+ - **`<ViewTabBar>`** — a horizontal strip of view tabs. Per-tab chevron menu
377
+ exposes rename, pin, duplicate, set default, delete, and "Manage all
378
+ views…". An overflow `… N more` dropdown surfaces the remaining views and
379
+ links to the management dialog. (In-place tab drag is intentionally
380
+ disabled — reordering happens in `<ManageViewsDialog>` to avoid the
381
+ ambiguity of "does dragging the visible tab change the global order or
382
+ just the visible subset?".)
383
+ - **`<ManageViewsDialog>`** — a Shadcn `Dialog` containing a vertical sortable
384
+ list of **every** view (visible + overflow + metadata-defined). Supports
385
+ drag-reorder, search, inline rename, pin / set-default toggles, and a per-row
386
+ `⋯` action menu (rename, duplicate, edit configuration, set default,
387
+ pin/unpin, delete). Open it from the chevron menu's "Manage all views…"
388
+ item or from the header of the overflow `… N more` dropdown.
389
+
390
+ Both components share the same callback surface
391
+ (`onRenameView`, `onDeleteView`, `onReorderViews`, …) so a host like
392
+ `@object-ui/app-shell`'s `ObjectView` wires the same set of handlers into
393
+ both. View ordering is persisted to `localStorage` under
394
+ `viewOrder:{objectName}` and, for backend-saved views, also written back as
395
+ `sortOrder`.