Skip to content

Commit 17dd9e4

Browse files
committed
chore(changeset): the related tab's menu; the earlier note now says where moving and hiding went
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CbSphdunq2aJq7ktuY
1 parent 819ea87 commit 17dd9e4

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

‎.changeset/35595-35596-record-tabs-rail.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The record page's tab row and its right column are redrawn (supersedes objectsta
1818
- **No band at the foot.** A page drawn as written that places no approvals or attachments panel gets them as tabs of its first tab strip, not as bands under the page. The header's approval tag opens the Approvals tab.
1919
- **One approval band.** A page drawn as written whose details are split into several `record:details` nodes draws the record's approval band once, on the first body that reaches it, recall included.
2020

21-
- **Reader arrangement leaves with the cards.** The related cards' ⠿ handle, ⌥↑ / ⌥↓ and 「隐藏」 are gone with the cards, so a reader can no longer reorder or hide a related list on the page. An order or hides already stored still apply, and 「恢复默认顺序」 / 「显示」 still undo them.
21+
- **Reader arrangement moves to the tabs.** The related cards' ⠿ handle, ⌥↑ / ⌥↓ and 「隐藏」 are gone with the cards; a related list is moved and hidden from its own tab instead (objectstack#35783). An order or hides already stored still apply, and 「恢复默认顺序」 / 「显示」 still undo them.
2222
- **`?tab=related` is retired.** The single 「Related」 tab is gone, so a saved link carrying `?tab=related` opens Overview.
2323

2424
`@object-ui/plugin-detail` adds `ApprovalBandOnceScope`. `@object-ui/i18n` adds the 「更多 N」 trigger and the rail's labels in every pack. Nothing an app authors changes.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@object-ui/i18n': patch
3+
'@object-ui/plugin-detail': patch
4+
---
5+
6+
feat(record-page): a related list's tab moves left or right and hides, and 「更多」 restores the default order
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
A reader arranges the record page's related lists from their tabs again (the related cards that carried the ⠿ handle and 「隐藏」 left the page with objectstack#35595):
12+
13+
- **A related list's tab is its menu.** Open a list's tab and click it again (or press Enter, Space or ↓ on it): 「左移」 and 「右移」 move it one place among the related lists, and 「隐藏」 takes it off the row into 「更多」's hidden lists and returns to Overview. The open tab draws a ▾ to say so.
14+
- **「更多」 restores the default.** While the order or the hidden set is not the default, 「更多」 ends with 「恢复默认顺序」: the default order with every list shown. It is in a drawer and an embedded pane too, which have no rail.
15+
- **Fixed tabs.** Overview, Attachments, Approvals and Activity have no menu and never move.
16+
- **One stored arrangement.** The tabs write the same per-reader, per-object arrangement the related cards wrote, so an order or hides already stored keep working, and the rail's 「已隐藏 N · 显示」 and 「恢复默认顺序」 still undo them.
17+
18+
`@object-ui/i18n` adds `detail.recordTabMoveBefore` / `detail.recordTabMoveAfter` (左移 / 右移) in every pack. `@object-ui/plugin-detail` removes the unused `RelatedCardStack` and `useRelatedArrangement` modules (not exported from the package). Nothing an app authors changes.

0 commit comments

Comments
 (0)