You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 241f4b2
Browse filesBrowse the repository at this point in the historyBrowse files
fix(record-page): hidden related lists open from 「更多」 and ?related=; the rail's i18n keys stay published (#35890)
L2 M2: `requested` accepts ids in the reader's hidden lists, with a test that
fails without the fix. L2 M1: every key the retired rail read stays in all 11
packs, unread. Changeset names the i18n widening and the deprecation of
recordPageTierHasRightColumn. e2e spec renamed to record-tabs-35595.spec.ts.
pages.mdx: the 动态 paragraph says where comments live on desktop and phone.
Claude-Session: https://claude.ai/code/session_01L6bhgUZTwDqtEFzNFCVTri
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/35890-record-details-pinned.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,11 @@ Metadata-protocol: none
12
12
The synthesized record page (objectstack#35890, ruling on the card 7064066204):
13
13
14
14
-**Pinned details.** A full page whose content fits a 320 px details column, a 24 px gap and 400 px of tabs pins the record's details in a left column and draws the other tabs (related lists, Attachments, Approvals, 动态) beside them, opening on the first. The column is 400 px wide and narrows toward 320 px on a tight page; its edge is a separator the reader drags, or moves with ←/→ (Home/End for the ends). The dragged width is kept per object in the console's workspace preference store (`record.columns.details-width`, this browser). Each column scrolls on its own. A page with no other tab draws the details across the page with no tab row; a page whose details hold a related table among the fields (objectstack#35889) is not pinned and keeps its one-column tab row. Narrowing out of the pinned layout keeps the tab that was shown, writing it to the address with `replace`.
15
-
-**The right rail is retired** at every width, with its ⊟ switch and `⌘⇧,` shortcut and the `record.columns.related` preference (an old stored choice is no longer read). Its cards (approval, attachments, recent activity, other related) are the tabs they summarised.
15
+
-**The right rail is retired** at every width, with its ⊟ switch and `⌘⇧,` shortcut and the `record.columns.related` preference (an old stored choice is no longer read). Its cards (approval, attachments, recent activity, other related) are the tabs they summarised. A list the reader hid still opens, from its item in 「更多」 or from an address that names it (`?related=`).
16
16
-**「详情」.** The first tab is named Details (详情) in every locale.
17
17
-**「审批中 · 当前步骤」.** For everyone but the approver, the header's in-approval tag names the step the request waits at, when it has one.
18
-
-The drawer, the split pane and a phone are unchanged apart from the rail; authored pages are untouched.
18
+
-**Drawer, split pane and phone** keep their one-column tab row and never pin. What reaches them: the rail is gone there too, and the first tab reads 「详情」 / Details. Authored pages are untouched.
19
19
20
-
`RecordPageColumns` gains the optional `fullPage`, `detailsWidth`, `onDetailsWidthChange` and `onShownTabChange` props, and `onEnlargeRelated` an optional `{ replace }`; `rightColumn` and `rail` are kept as deprecated props that do nothing. `@object-ui/plugin-detail` exports `RECORD_PAGE_DETAILS_WIDTH`, `RECORD_PAGE_PIN_MIN_WIDTH` and `recordPagePinsDetails`.
20
+
`RecordPageColumns` gains the optional `fullPage`, `detailsWidth`, `onDetailsWidthChange` and `onShownTabChange` props, and `onEnlargeRelated` an optional `{ replace }`; `rightColumn` and `rail` are kept as deprecated props that do nothing. `@object-ui/plugin-detail` exports `RECORD_PAGE_DETAILS_WIDTH`, `RECORD_PAGE_PIN_MIN_WIDTH` and `recordPagePinsDetails`; `recordPageTierHasRightColumn` stays exported, answering as before, and is now `@deprecated` (no tier draws a right rail).
21
+
22
+
`@object-ui/i18n` widens: two new keys in every pack, `detail.approvalPendingStep` (`In approval · {{step}}`) and `detail.detailsColumnResize` (the separator's name), and `detail.recordTabOverview` changes its text from 概览 / Overview to 详情 / Details. Every key the rail read (`detail.relatedColumn`, `detail.relatedHiddenCount` and its plural forms, `detail.relatedShowHidden`, the six `detail.summary*` keys and `shortcuts.toggleRelated`) stay in every pack, unread, so a host that reads them keeps its text; retiring them is a separate change.
Copy file name to clipboardExpand all lines: content/docs/ui/pages.mdx
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -185,10 +185,12 @@ list, then **Attachments** for an object with `enable: { files: true }`, **Appro
185
185
record has approval requests, and **动态** (Activity) last, each with its count. A relationship
186
186
whose child field declares `relatedList: 'primary'` is part of the record's body: its list is a
187
187
full-width table in the details, after the first field section, with no tab of its own. **动态**
188
-
is one stream: the discussion, the activity and, with `enable: { trackHistory: true }`, the
189
-
record's field changes; there is no separate History tab. It opens filtered by All / Activity /
190
-
Discussion / Changes (`?related=timeline`); a list's tab is that list's whole table
191
-
(`?related=<object>.<field>`). The tab row shows as many tabs as its width fits and folds the
188
+
(`?related=timeline`) holds the record's system entries: its activity and, with
189
+
`enable: { trackHistory: true }`, its field changes; there is no separate History tab. On the
190
+
desktop the record's comments are not in it but in the comment panel, opened from the
191
+
comments icon in the record header ([the record's comment panel](/docs/frontend/plugins/plugin-detail#the-records-comment-panel)); on a phone they are still
192
+
in **动态**, with its All / Activity / Discussion / Changes filter. A list's tab is that list's
193
+
whole table (`?related=<object>.<field>`). The tab row shows as many tabs as its width fits and folds the
192
194
rest into a **+N** menu; the open tab is always on the row. The related tabs are the reader's
193
195
to arrange: move one before or after its neighbour, hide one, and bring hidden ones back. The
194
196
arrangement is kept per user and object, never in the object's declaration.
0 commit comments