Skip to content

Commit e8a0e9f

Browse files
committed
wip(plugin-detail): changeset names the runtime-interface-only disposition
Claude-Session: https://claude.ai/code/session_01Utp6CaA9ZdTcj97mzGtHYt Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9665274 commit e8a0e9f

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎.changeset/27524-record-page-related-panels.md‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ feat(plugin-detail)!: the record page's related panels lose collapse — the hea
99
Clause-②: yes (narrowing)
1010
Metadata-protocol: none
1111

12-
<!-- adr-0087: not-required (type-surface-only @object-ui/plugin-detail#RelatedArrangement.collapsed, @object-ui/plugin-detail#ResolvedRelatedArrangement.collapsed, @object-ui/plugin-detail#RelatedArrangementEdit) the narrowed members are a reader's per-browser layout preference and its edit vocabulary in a published ui package; no packages/spec schema, no metadata key, no registered node type and no sys_metadata shape names them, so there is nothing for `objectstack migrate meta` to rewrite. The stored preference moves to version 2 and a version-1 record reads as no choice. -->
12+
<!-- adr-0087: not-required (runtime-interface-only ui/packages/plugin-detail/src/synth/relatedArrangement.ts#RelatedArrangement, ui/packages/plugin-detail/src/synth/relatedArrangement.ts#ResolvedRelatedArrangement, ui/packages/plugin-detail/src/synth/relatedArrangement.ts#RelatedArrangementEdit) a reader's per-browser layout preference and its edit vocabulary: no Zod schema, no spec declaration and no stored metadata reads them, so the compiler is the channel that reaches every caller; the stored preference moves to version 2 and a version-1 record reads as no choice -->
1313

1414
The record page's related column is a stack of same-shaped panels (record page v4).
1515

@@ -18,9 +18,6 @@ The record page's related column is a stack of same-shaped panels (record page v
1818
- **The compact row's first column** skips the foreign key that points back at the record on the page: a product's line items, whose name field is the product, are named by their next column.
1919
- **The stored arrangement** (`record.related.arrangement`, per reader × object) is `{ v, order, hidden, basedOn, seen }`. `collapsed` is removed with no compatibility read: a reader's earlier record reads as no choice, and the panels show in the default order.
2020

21-
**BREAKING** for a TypeScript consumer of `@object-ui/plugin-detail`'s arrangement API; nothing an author declares changes.
21+
**BREAKING** (`@object-ui/plugin-detail`, TypeScript only): `RelatedArrangement` and `ResolvedRelatedArrangement` no longer carry `collapsed`, `RelatedArrangementEdit` no longer has the `collapse` kind, and `resolveRelatedArrangement` / `editRelatedArrangement` no longer take a last `defaultCollapsed` argument. The only caller is the console's own arranged column. A caller still passing one gets a compile error naming it; the fix is to drop it, since a panel has no collapsed state to set. `RELATED_ARRANGEMENT_RECORD_VERSION` (2) is new.
2222

23-
- FROM `RelatedArrangement.collapsed` / `ResolvedRelatedArrangement.collapsed` TO nothing: a panel has no collapsed state. Drop the member from any value you build.
24-
- FROM the `{ kind: 'collapse', id, collapsed }` edit TO `{ kind: 'hide', id }`, or no edit at all.
25-
- FROM `resolveRelatedArrangement(order, stored, now, defaultCollapsed)` / `editRelatedArrangement(order, stored, edit, now, defaultCollapsed)` TO the same calls without the last argument.
2623
- The i18n keys `detail.relatedCardMoveUp`, `detail.relatedCardMoveDown`, `detail.relatedCardCollapse` and `detail.relatedCardCount` leave every pack; `detail.relatedPanelViewAll`, `detail.relatedPanelReorder`, `detail.relatedPanelReorderHint` and `detail.relatedEmptyFold` arrive in all ten.

0 commit comments

Comments
 (0)