Skip to content

从列表打开记录:点名称进整页,悬停名称格的图标才开侧边;去掉「打开记录」设置和撑满的抽屉;整页带着列表来历;抽屉改悬浮卡片 #35854

Closed
4 of 4 issues completed

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #35590(专题:记录详情页重做,维护者直派)。⛔ 不是认领。优先级 p2。

维护者 2026-11-20 原话:「你看他鼠标滑到Google行,右侧显示一个右侧打开的图标,点击才从右侧打开,否则都是进全屏打开。这样就不需要任何设置」;「我们的 放大成全屏 是抽屉撑满,但是刷新之后呢?好像缩回去了,而且如果这个已经够有为什么还需要保留另外一种」;「他右侧这个drawer ,也比我们的好看」;协调席列出六项待定后:「先定记录页头部和打开方式那六项,立卡」。

本卡是六项里的三项:打开方式、去掉撑满的抽屉并让整页带列表来历、抽屉外观。头部两行在同专题的另一张卡。

目标效果(图 40 的第二段)

图 40 记录页顶部条:整页、抽屉、无列表来历

现状(主干 7878cf0557,本机实测)

参照

Attio(商业产品,只参照行为):点名称进整页;鼠标移到名称格,格子右边出现「侧边打开」的图标,点它才出侧边面板;侧边面板是四周留边的悬浮卡片;整页仍显示「1 of 14 in All Companies」。

参照:Attio 名称格悬停出现的图标

参照:Attio 的侧边面板

要做的

  1. 点名称文字进整页。
  2. 悬停某一行时,名称格右边出现「在侧边打开」的小图标,点它才出右侧抽屉。图标在名称格里面,不占固定的列。
  3. 去掉「打开记录:抽屉 / 整页」这个用户设置,「选项 → 更多」里不再有这一项;已存的个人偏好不再生效。
  4. 去掉撑满的抽屉。 抽屉头部只留一个放大图标,点了是去整页。
  5. 整页带着列表来历:从列表(点名称,或从抽屉放大)进整页时,记得来自哪个列表视图和它的筛选排序。刷新后不变;关闭或返回时回到原来的列表、原来的条件和滚动位置。头部用这份来历显示「第几条 · 视图名」和上下条(见另一张卡)。
  6. 抽屉改成悬浮卡片:四周留 8 的边,圆角,有阴影,不贴屏幕边。抽屉里的内容和整页同一套,窄了不显示右栏。
  7. 触屏(没有悬停):点名称进整页,没有侧边打开的图标。

视图上的 navigation.mode:废弃(维护者 2026-11-20 裁决)

协调席问:「视图上『整页打开』的声明(navigation.mode)在新规则下废弃吗?」维护者:「废弃」。

  • 视图元数据上的 navigation.mode 不再决定从列表打开记录的方式;规范里把它标为废弃,给出迁移说明(新规则是:点名称进整页,悬停图标开侧边)。
  • 已经写了这个键的现有元数据怎么过渡(接受并忽略、还是给出提示),按规范既有的废弃做法处理,在 PR 里说明;不能让现有应用因为这个键而加载失败。
  • 技能规则和文档里提到这个键的地方同步更新。

不做的

验收

Reader: domain:ui 车道;navigation.mode 的废弃涉及 packages/spec/src/ui/view.zod.ts。ui/packages/plugin-list/src/components/ViewSettingsPopover.tsx、ui/packages/components/src/custom/navigation-overlay.tsx、ui/packages/app-shell/src/views/objectViewRecordOverlay.tsx、recordDrawerStack.tsx、名称格的渲染(ui/packages/components/src/renderers/complex/data-table.tsx)。

Dedupe: 点名称 整页 侧边打开 图标、抽屉 悬浮 卡片(objectstack,open)→ 0;相关:#26681、#27545(已关,本卡取代其中的用户偏好和撑满)。

正文最后更新:2026-11-20T12:34Z

Sub-issues

Sub-issues

4 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. added
    enhancement
    priority:p2
    domain:ui
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    待确认项已裁决,正文已同步。

    协调席问:「视图上『整页打开』的声明(navigation.mode)在新规则下废弃吗?」维护者 2026-11-20:「废弃」。

    • 视图上的 navigation.mode 不再决定打开方式,规范里标为废弃并给迁移说明。
    • 现有元数据带着这个键时照常加载,行为与没声明一致;过渡方式按规范既有的废弃做法,在 PR 里说明。
  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue; rationale: area:ux · Feature · opening a record from a list: the name opens the full page, a hover icon on the name cell opens the side panel; drop the "open record" setting and the full-width drawer; the full page keeps the list origin; the drawer becomes a floating card; child of topic #35590, maintainer: 「这样就不需要任何设置」 → p2 as set by the coordinator · size M. Sibling of #35853.

  4. added
    pm:queue
    on Nov 20, 2026
  5. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim: area ux-4 round 6 · record epic #35590 · the maintainer named it directly (2026-11-20 14:23Z, 「继续开发 objectstack#35853 objectstack#35854」), and the seat routed both siblings to ux-4 alone because they share surface · 2026-11-20T14:26Z
    Area: ux-4
    Session: session_01Utp6Cb8qTxAVaE2QKwquQU
    Account: os-bill
    Branch: pending — mode:thread: one card thread builds #35854 then #35853 on the branch the platform assigns it; the area posts a Branch: amendment here when the thread opens
    Worktree: the card thread's own checkout
    Domain: domain:ui
    Seat: repo:objectstack#5
    File surface: ui/packages/components/src/renderers/complex/data-table.tsx (the name cell's hover 「在侧边打开」 icon and the name-click open only), ui/packages/plugin-grid/src/ObjectGrid.tsx and ui/packages/plugin-list/src/ListView.tsx (open-path wiring only), ui/packages/plugin-list/src/components/ViewSettingsPopover.tsx (the 「打开记录」 item only), ui/packages/components/src/custom/navigation-overlay.tsx (drop maximizable / the full-width state; floating inset card), ui/packages/app-shell/src/views/objectViewRecordOverlay.tsx, ui/packages/app-shell/src/views/recordDrawerStack.tsx, ui/packages/app-shell/src/views/ObjectView.tsx and objectViewListRenderer.tsx (open mode and list provenance only), the record-page route that reads the provenance, packages/spec/src/ui/view.zod.ts (navigation.mode deprecation describe/marker only, via the spec's existing deprecation route) and whatever the spec generators rewrite from it, content/docs/** pages that name navigation.mode (not release notes), i18n removals in ui/packages/i18n/src/locales/*.ts, docs/qa/platform-checklist/areas/*.json, their tests, e2e specs under ui/e2e/ named for the card, root .changeset/. ⛔ docs/adr/**, skills/**, .claude/**, server, REST. Stop on any other breach and report.
    Container & model: L, mode:thread, model: default, effort: high
    Clause-②: no
    Metadata-protocol: semantic
    Responsibility: opening a record from a list has three states (drawer, full-width drawer, page), a per-user setting to pick between two of them, a full-width state that a refresh loses, and a full page that forgets which list it came from | the open mode is a preference plus a view key (navigation.mode) instead of one rule (name → page, hover icon → side panel), and the page route carries no list provenance | every user opening records from a list
    Thread-read: 7039929512
    Premise: holds at origin/main 3c038eb, as the card's current-state section reads it (ViewSettingsPopover.tsx:145-177, navigation-overlay.tsx maximizable). The thread re-measures it before writing code. navigation.mode is ruled deprecated (maintainer 2026-11-20 「废弃」, card comment 7039654214): existing metadata must still load.
    Pre-claim lane: ui/packages/** → domain:ui, area ux-4; packages/spec/src/ui/view.zod.ts text/marker → seat L2 after L1-a.
    Pre-claim deps: none. Open-PR overlap: os-sales's draft #35864 (#35685 autosave) edits data-table.tsx, ObjectGrid.tsx, ListView.tsx. This card stays off its hunks, and whichever lands second merges main. ux-2's #35845 is ADR-only. No other open PR touches the surface.
    Prior rulings read: navigation.mode,open record,maximizable,drawer,side panel,list provenance,打开记录 → 3 hits; ADR-0050 Decision §2, ADR-0037 Decision §2, ADR-0050 Decision §4; thread: 7039654214 (navigation.mode 「废弃」); repo: objectstack-ai/objectstack.
    Scope: card items 1–7 and the navigation.mode deprecation; acceptance as written. Folded with #35853 into one PR while ≤3,000 lines; otherwise this card lands first. Fixes #35854.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 20, 2026
  7. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim amendment to comment 7042020341 (area ux-4) · 2026-11-20T14:29Z
    Branch: claude/project-thread-ntrvrh (mode:thread: the platform-assigned branch of the card thread for #35854 + #35853; replaces the claim's pending line)
    Thread session: session_01Utp6Cbrs4FaLzn1HMmRDi1
    Worktree: the card thread's own checkout

  8. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim amendment 2 to comment 7042020341 (area ux-4) · 2026-11-20T14:33Z
    File surface (adds; the card thread's A1 found that the open path lives in these files): ui/packages/app-shell/src/views/objectViewRecordNavigation.ts (row click, detail navigation, provenance), ui/packages/app-shell/src/views/objectViewOpenAsPage.tsx (today's hover ↗-to-page becomes 「在侧边打开」), ui/packages/app-shell/src/utils/recordOpenPreference.ts and its test (deleted), and packages/spec/src/migrations/entries/semantic/18.navigation-mode-record-open-deprecated.ts (the ADR-0087 D3 semantic entry for the navigation.mode deprecation). data-table.tsx is expected to have zero hunks. Provenance travels in history state (location.state.from), so nothing new goes into the URL.
    Ruling-zone note: navigation.mode: 'none' keeps meaning "rows open nothing" (shared with page list blocks; showcase pages rely on it), and the describe points to preventNavigation. drawer / page / new_window are ignored on the object list, the same as having no key.

  9. 4 remaining items

  10. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim amendment 4 to comment 7042020341 (area ux-4) · 2026-11-20T17:06Z
    File surface (adds; generator output of amendment 3): the 21 generated files under packages/platform-objects/src/apps/translations/ (*.metadata-forms.generated.ts and *.source-hashes.generated.ts) that node scripts/check-i18n-bundles.mjs --write rewrites after the view.form.ts helpText change. The change is the en navigation helpText plus a new navigation.mode helpText in every locale, filled with the English source in merge mode, with existing translations untouched (+33 / −12). Generated only; no hand edits.
    Scope note: #35853 now lands as a second PR after this one merges (the combined diff measured 3,952 lines > 3,000); this card's PR carries Fixes #35854 only.

  11. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
    os-dev-report

    {
      "issue": 35854,
      "status": "done",
      "branch": "claude/project-thread-ntrvrh",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35910",
      "session": "session_01Utp6Cbrs4FaLzn1HMmRDi1",
      "premise_still_valid": true,
      "summary": "On a Console object list the record name opens the full page and a hover icon beside it (「在侧边打开」) opens the side drawer; the reader setting 「打开记录:抽屉 / 整页」 and the drawer's full-width state are removed, and the drawer is a card floating 8 px off three window edges. The page keeps the list it came from in history state (view, rows, matched total), so the stepper survives a reload. `navigation.mode` is deprecated (describe + ADR-0087 D3 semantic entry), every value still parses, and `none` keeps 'rows open nothing'. #35853 (two-row header) follows as PR-2 on this branch after this merges, per the area's serial split at 3,952 combined lines.",
      "tests": "vitest 502 files (open path + files main changed since base): Test Files 502 passed, Tests 6841 passed | 22 skipped; packages/spec src/ui: 183 files, 6554 passed. Live e2e ui/e2e/live/record-open-path-35854.spec.ts: 4 passed (1280 + 390 touch, reload round trip). Ablation (hover opacity-100, sibling provenance dropped, card inset removed) turned 3/4 red: Expected \"0\" Received \"1\"; Expected \"2 / 14\"; Expected 8 Received 0.",
      "gates": "dispatch-gates --ran: 124 derived, 120 run, 4 NOT-MEASURED (exit 3 prerequisites: check-plugin-teardown-shape --self-test needs an unshallow clone; check:skill-examples, check:dual-build-cjs-loads, check:type-check-debt need a full build). One exit 1: `pnpm --dir ui exec vitest run scripts/` OOM-killed in this container against a stale console build; nothing in the diff under ui/scripts, CI is the verdict. eslint on changed files: 0 errors after 3e3a56bdf. overlap-check: main clean; #34223 conflicts in platform-core.json at its own three pre-existing hunks (also conflicts with main).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "4 — mcp__github__issue_read, mcp__github__pull_request_read (reads); no write tool",
      "api_writes": "1 relay stroke — pr_create (+ assignees os-bill) via fleet-write dispatch fw-20261120T175741Z-5c45c9",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · reach: /data ObjectDataPage row click still opens the drawer · carded as #35875 by the area · noted, not filed here",
        "class: c · reach: navigation.mode prose in ADR-0050 and skills/** · governed follow-up #35870"
      ]
    }
  12. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim amendment 5 to comment 7042020341 (area ux-4) · 2026-11-20T18:15Z
    File surface (adds; CI fix on PR #35910): ui/packages/app-shell/src/chrome/ConsoleToaster.tsx, limited to the right-edge drawer detection (openRightDrawers). The floating drawer card is now inset 8 px, so the objectui#11685 clearance stopped finding it, and toasts landed top-centre over the drawer header (7 red cases in ui/e2e/toast-under-modal.spec.ts). The fix accepts edge insets up to 16 px and adds the card's right and top inset to the width and header clearance. About 7 lines, with a one-line comment change only.

  13. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim amendment 6 to comment 7042020341 (area ux-4) · 2026-11-20T18:17Z
    File surface (widens amendment 4; CI fix on PR #35910): in packages/platform-objects/src/apps/translations/{zh-CN,ja-JP,es-ES}.metadata-forms.generated.ts, hand-authored text for two leaves only: the new metadataForms.view.fields.navigation.mode.helpText and the now-stale navigation.helpText (which still reads 「默认为抽屉」). These three locales must carry authored text (Test Core: view-composite-children, report-form-echo-decisions, object-lifecycle-panel-echo-decisions). After the edit, check-i18n-bundles.mjs --write re-derives the three *.source-hashes.generated.ts, dropping the fill entry. The other seven locales are left as the generator fills them. Net about −3 lines.

  14. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim amendment 7 to comment 7042020341 (area ux-4) · 2026-11-20T18:28Z
    File surface (adds; CI fix on PR #35910): ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts ~458-459 only. This is the console's leaf-for-leaf copy of the platform zh-CN bundle. It takes the same zh-CN text as amendment 6: the updated navigation hint and a new hint on 'navigation.mode'. The pin is metadata-form-i18n.test.ts ("every row label and every hint under the four sections is Chinese"). About +2 / −2.

  15. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim amendment 8 to comment 7042020341 (area ux-4) · 2026-11-20T20:21Z
    Clause-②: yes (narrowing) — the seat's L2 on PR #35910 found that NavigationOverlayProps.maximizable and ListViewProps.recordOpen are retired from published entries and seven i18n pack keys move. This replaces the claim's Clause-②: no. The fix round adds a BREAKING banner, a ! title, one ADR-0087 runtime-export-retired marker and a FROM → TO block for those two operands (precedent ea150b7).
    Scope correction (L2 M2): the navigation.mode deprecation applies to the object list only. Page blocks keep honouring drawer / page / new_window through the shared useNavigationOverlay. The semantic entry and the [DEPRECATED] describe say so; page-block behaviour is unchanged.

  16. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

    Seat ACCEPT for this card: PR #35910 passed the delta contract review and is handed to the approvers (over 3,000 lines). ux-4 lands it after an APPROVED review; PR-2 for #35853 follows.

  17. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    和 #35411 的分工定了,对本卡没有新要求。2026-11-21T03:31Z

    那张卡原来要求「记录抽屉改直角、贴边」,和本卡第 6 项「记录抽屉改成悬浮卡片」矛盾。维护者 2026-11-22 定的是:只有记录抽屉悬浮,其余贴边的抽屉改直角。#35411 已经把记录抽屉从范围里拿掉。

    请注意一处:记录抽屉的圆角请由它自己的样式带,不要依赖控制台全局的 [role="dialog"] 圆角规则(ui/apps/console/src/index.css:513)。#35411 会让那条规则不再命中侧边抽屉。

  18. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Close-out · 2026-11-21T03:40Z: PR #35910 merged as d6be99d (L1-a ACCEPT 7048643367, deltas 7049491215 / 7050677695 / 7052113241; seat Contract review PASS 7050769114, delta 7052849260 at head 25a30f2; os-zhuang APPROVED 6000005991; os-zhuang enqueued). The card closed on merge.

    What changed in the object list: clicking the name opens the full record page, and the page carries list provenance. A hover icon in the name cell opens the side panel, which is now a floating inset card. The 「打开记录」 setting and the maximized drawer are gone, and openNewTab is honoured on the name click. navigation.mode is deprecated for the object list only (narrowing, ADR-0087 semantic migration entry 18). Page blocks keep their modes.

    Follow-ups nested here, all unclaimed: #35870 (ADR-0050 note + skills mentions, governed), #35875 (/data), #35915 (7-locale navigation helpText), #35936 (Studio kanban card inspector modes). #35840 stays open; PR-2 covers it. #35853 is still dispatched and follows as PR-2 from the same thread. pm:dispatched removed.

  19. removed
    pm:dispatched
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions