Repository navigation
feat(console)!: one way to open a record from an object's list; navigation.mode deprecated there - #35910
Conversation
…r is a floating card Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
…cated The record name opens the full page and the hover icon beside it opens the side drawer, for every reader. The reader's Open records setting, the drawer's full-width state and the page's Collapse to drawer hop are gone; the drawer is a floating card whose one expand control opens the page. The page carries its list's matched total in its history state. navigation.mode is deprecated (still parses; drawer/page/new_window change nothing on the object list, none still opens nothing) with an ADR-0087 D3 semantic entry. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
…recation; live spec for the record open path Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
…adata-form translation bundles Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
…-ntrvrh # Conflicts: # ui/packages/app-shell/src/views/ObjectView.rowOpensNothing-33317.test.tsx
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
📓 Docs Drift CheckThis PR changes 2 package(s): 5 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 2 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 174 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 1ff80d342761eeda0272f33e222ffed6dcfc3e2c && git checkout 1ff80d342761eeda0272f33e222ffed6dcfc3e2c
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 170ca481f0aeec14ca06d74ec3d57c654997e698 25a30f2090d2c89cef67e0fcac62a7591c59f2e4 && git checkout -B drift-repro 170ca481f0aeec14ca06d74ec3d57c654997e698 && git merge --no-ff 25a30f2090d2c89cef67e0fcac62a7591c59f2e4
node scripts/docs-audit/affected-docs.mjs --json 170ca481f0aeec14ca06d74ec3d57c654997e698
|
The drawer is now a card 8px off the window's top, right and bottom edges, so the toaster's right-edge drawer test (exactly zero on all three) no longer matched it and toasts fell back to top centre, under the drawer. Accept a dialog up to 16px off those edges, and add the right inset to the width the toast clears and the top inset to the header clearance. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
…s-ES The deprecation note on navigation.mode was an English fill in the three locales whose metadata-form catalogs must carry their own text, and the navigation help text still described the drawer as the default. Both are translated, and the regenerated source hashes drop the fill entries. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
…ints The console localizes the view form from its own leaf-for-leaf copy of the platform's zh-CN bundle; copy the two re-authored leaves into it. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
|
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU Final head · area ux-4 · 2026-11-20T19:23Z
os-dev-report: 7046824047 on #35854. The PR covers #35854 only. #35853 follows as PR-2 after this merges, because the combined diff measured 3,952 lines. Follow-ups nested under #35854: #35870 (governed: ADR-0050 note and skills text), #35875 (/data page open path), #35915 (7-locale hint retranslation). Size came in 8 over the cap after two CI fixes, and no lines were trimmed to get under it. Sent to L1-a; then seat L2 ( |
|
repo:objectstack#5 · os-bill · session_01Utp6CXsZsKmgG1EcKp5bY4 维护者速读
席位核对ACCEPT · head reviewFace (committed file list + PR body declarations): face Checked:
Required before landing:
Nits (no action required):
|
… prop and sidebar width exports Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
A list that authors `openNewTab: true` used to open its records in a new tab; the name click now goes to the full page in place and ignored it. The plain name click follows the key again, through the same new-tab path as a modifier click. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1
|
repo:objectstack#5 · os-bill · session_01Utp6CXsZsKmgG1EcKp5bY4 维护者速读
席位核对delta ACCEPT (post-hoc, merge-only) (on delta 7050677695) · head
No required item at L1. |
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ Contract reviewVERDICT: PASS Served-tier: Second delta, on the PASS record at ① Derived judgments
② Semver levelUnchanged. The changeset is the same blob; the PR body still reads ③ Boundary flags
④ Design judgmentM1, M2, S1, S2, S3, N1: closed, as in the delta record at The generated reference still agrees with the contract: N2 (nit), N3 (nit), N4 (nit), N5 (nit), N6 (nit) — stay as recorded, unchanged by a merge-only range. Implemented-by: |
Requested by Bill · project thread
Fixes #35854
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Clause-②: yes (narrowing)
Metadata-protocol: semantic
维护者速读
What changes
One way to open a record from an object's list in the Console, per the maintainer's ruling on #35854 (「鼠标滑到…行,右侧显示一个右侧打开的图标,点击才从右侧打开,否则都是进全屏打开。这样就不需要任何设置」, then 「废弃」 for
navigation.mode).…/record/<id>. A ⌘/Ctrl or middle click still opens it in a new tab.?recordId=). A coarse pointer gets no icon.ui/packages/app-shell/src/views/objectViewOpenAsPage.tsx#OpenInSidePanelButton.recordOpenPreference.ts) are removed.maximizable) is gone; ⤢ opens the full page. The page's 「收为抽屉」 hop is gone with it.location.state.from(URL, view name, the loaded rows and now the matchedtotal), so ↑ ↓ walk the list and a reload keeps it.navigation.modeis deprecated (@deprecated,[DEPRECATED]describe; ADR-0087 D3 semantic entrynavigation-mode-record-open-deprecated). The key stays and every value parses. On an object's listdrawer,pageandnew_windowchange nothing.nonekeeps "rows open nothing", and the describe points its author topreventNavigation: true.openNewTab: truestays live: the name then opens the full page in a new tab, and the list stays. The deprecation is scoped to an object's list (a list view, an object'slistViews): a page block that carriesnavigation(a list block, the timeline, an embedded view) still honoursdrawer,pageandnew_window, and the describe, the help text and the migration entry say to keep the key there. The migration entry is not mechanically convertible for that reason.navigationhelp text follows the new describe (packages/spec/src/ui/view.form.ts), and the metadata-form translation bundles are regenerated from it. zh-CN, ja-JP and es-ES carry authored text for the two changed leaves (navigation.helpText,navigation.mode.helpText); the other locales keep the extractor's English fill, as for other new leaves. The console's own zh-CN copy of the view form (ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts) carries the same two leaves.ui/packages/app-shell/src/chrome/ConsoleToaster.tsx): the right-edge drawer test accepts a dialog up to 16 px off the top, right and bottom edges (it required exactly 0, so the card was missed and toasts fell back to top centre, under it), and the clearance adds the card's right and top insets.BREAKING (
!title,Clause-②: yes (narrowing)):NavigationOverlayProps.maximizable(@object-ui/components) andListViewProps.recordOpen(@object-ui/plugin-list) are retired runtime exports. The changeset carries the ADR-0087not-required (runtime-export-retired …)marker and a FROM → TO line for each;check:adr-0087-registrationpasses.Size: 3,189 changed lines, over the 3,000 line, so this lands through the maintainer. Past the first 2,989 are the CI fixes, the zh-CN copy and the review items (
openNewTab, the changeset's migration lines, the page-block scoping of the deprecation and the breaking declaration); nothing was trimmed to fit.Not here, by design:
skills/**mentions ofnavigation.mode)./datapage (ObjectDataPage) still opens the drawer on a row click; carded, not fixed here.navigationhint retranslation (see Found on the way).Found on the way
ui/e2e/toast-under-modal.spec.tsin theMobile ChromePlaywright project (not the one CI runs,--project=chromium): "390 phone drawer" readsbeside, notbelow header. That project's 980 px layout viewport puts the sheet at thesmwidth, so the toaster sees room beside it. Not fixed here.navigationhint in the ar, de, fr, ko, pt-BR, ru and zh-Hant metadata-form bundles is a translator's text of the old English ("drawer by default"). These leaves are legacy-trusted, so nothing marks them stale. Not changed here; carded as 七种语言的视图表单「导航」说明仍写「默认为抽屉」,navigation.mode 废弃(#35854)后已不对 #35915.Why
The list had two ways to open a record, chosen by a per-reader setting and by
navigation.mode, and readers could not predict which one a click would take. The ruling replaces both with one rule that needs no setting.Tests
Added:
ui/packages/app-shell/src/views/ObjectView.recordOpenPath-35854.test.tsx: name → page, icon → drawer, provenance andtotal,openNewTab: trueopens the page in a new tab,noneandpreventNavigationopen nothing.ui/e2e/live/record-open-path-35854.spec.ts(live lane): at 1280 px, name → page; the position and view survive a reload; ↓ steps; the crumb returns to the list. The hover icon goes from opacity 0 to 1 and opens a card 8 px off three edges with no full-width toggle; ⤢ opens the page, which still knows its list. A direct visit has no stepper. At 390 px touch: no icon, and a tap opens the page, whose bar survives a reload.Retired, because the behaviour they pinned is ruled out:
ObjectView.recordOpenPreference-26677.test.tsxObjectView.recordOpenDisplay-26681.test.tsxViewSettingsPopover.recordOpen-26681.test.tsxutils/recordOpenPreference.test.tsMigrated to the new rule. Each kept its subject, with "opens the drawer" read as "opens the page" where the row opens:
ObjectView.recordDrawer-27545,.listOnlyRecordPage-33219,.rowOpensNothing-33317,.cardFacesOpenNothing-33548,.phoneRecordPage-27058,.listPageInUrl-30850,.objectListTitle-27950,.recordCountFooter-10636,.titleViewSwitcher-27594,.viewRefusal-12112RecordDetailView.paneOpenAsPage-27545,.topBar-27524recordDrawerStack-26679,recordPaneGroupScope-28461objectViewRecordNavigation.listRows-27524,.phonePush-29074navigation-overlay-drawer-27545,navigation-overlay-field-escape-28156,record-top-bar-27524ViewSettingsPopover.optionsMenu-35551apps/console/src/__tests__/recordOpenFromEveryView-27057: every view now opens the record route. Its drawer-stack drill case is retired here; that path is pinned inrecordDrawerStack-26679.packages/spec/src/ui/navigation-mode-retirement.test.tsChecklist items edited:
platform-core.url-overlay-contractrev 6: steps[0] and fixtures say the drawer opens from the hover icon, not the name.Local runs (head before the push = this PR's head)
Test Files 502 passed (502),Tests 6841 passed | 22 skipped.packages/specsrc/ui:Test Files 183 passed,Tests 6554 passed.record-open-path-35854.spec.tsagainst the workspace backend + console dev:4 passed. One ablation run, with the hover icon at opacity 100, sibling provenance dropped and the card inset removed, turned 3 of 4 red (Expected "0" Received "1",Expected "2 / 14",Expected 8 Received 0). The fourth, the direct visit, has no ablated pin.toast-under-modal.spec.ts --project=chromium13/13 (7 failed before, the same 7 as CI);packages/app-shell/src/chromevitest 28 files / 157 tests;@objectstack/platform-objectspnpm run test125 files / 2,094 tests (8 failed before);metadata-form-i18nand the twoSchemaFormtests that read the zh-CN copy, 3 files / 46 tests.dispatch-gates --ran: 124 derived, 120 run, 4 NOT-MEASURED, all exit 3 prerequisites in this container (check-plugin-teardown-shapeneeds an unshallow clone;check:skill-examples/check:dual-build-cjs-loads/check:type-check-debtneed a full build). One exit 1:pnpm --dir ui exec vitest run scripts/was OOM-killed in this container while reading a console build made on another head. It touches nothing in this diff, so CI's run is the verdict.overlap-check: main merges cleanly. fix(settings)!: offer the knowledge settings only where the knowledge service is mounted #34223 conflicts inplatform-core.jsonat the same three hunks it already conflicts with on main (its own item, noturl-overlay-contract).Acceptance notes
ui/packages/app-shell/src/views/objectViewRecordNavigation.ts(the open decision and provenance),ui/packages/app-shell/src/views/recordDrawerStack.tsx(useRecordPageReturn, the drawer frame),ui/packages/components/src/custom/navigation-overlay.tsx(the floating card,maximizableremoved).Human Minimum
packages/specholds no runtime logic.pnpm lintpasses.main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6Cbrs4FaLzn1HMmRDi1