Skip to content

列表右上角「⋮」加「对象设置」,点了去 Studio 里这个对象;侧栏菜单项「…」里的「设计」对象项改成同一个入口,其他类型去掉 #36487

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #36359(运行界面的设计模式专题)。⛔ 不是认领。优先级 p2(协调席定的,维护者未指定)。

维护者说过的(2026-11-22)

  • 「hotcrm 右上角的在 studio 中查看应该如何处理,设计布局模式应该在哪里进入」
  • 「你看右侧右上角有一个下拉菜单,可以设置对象,编辑布局是不是也可以放到哪里」(指 Attio 列表页右上角的「⋮」)
  • 「我们顶栏现在没有这个⋮,你具体看我们的页面。」
  • 「对象设置 已经包含字段,不需要管理字段。attio 是列表页可以设置对象,详情页下拉显示的是自定义布局。你具体测试一下。」
  • 协调席实测后建议三条:列表的「⋮」加「对象设置」;记录的「…」加「配置页面」;设计模式入口搬到左上角应用名菜单,页头的「编辑应用」和「在 Studio 中查看」两个按钮去掉。维护者:「立卡」。
  • 此前(同日):「Studio「界面」整栏作废」。

现状(主干 6a35635a33,本机环境浏览器实测,1440 宽,系统管理员)

自建应用列表页

  • 列表工具栏最右边的「⋮」(更多操作)里只有两样:对象的一句说明、「添加到收藏」。自建应用「客户」和 HotCRM「客户」相同。
  • 从列表去改这个对象(字段、设置)没有直接入口;现在要靠页头的「编辑应用」/「在 Studio 中查看」绕过去,而这两个按钮要去掉(同专题的入口卡)。
  • 侧栏每个菜单项的「…」里有:添加到收藏、在新标签页打开、复制链接、设计。「设计」点了跳 Studio(ui/packages/app-shell/src/layout/SidebarItemMenu.tsx 里 sidebar-item-menu-design 一项;协调席读代码确认,没有逐个点)。Studio「界面」一栏作废后,仪表盘、报表、页面类菜单项的「设计」没有地方可去。
  • 代码里已有从运行页面直达 Studio 某个对象的地址(ui/packages/app-shell/src/utils/appRoute.ts 的 appStudioObjectPath,形如 /studio/<包>/data?surface=object:<对象>)。

Attio(同日浏览器实测):

  • 列表页右上角「⋮」:Object settings、Manage attributes、Notifications。前两项都进「设置 › 对象 › 这个对象」,只是落在不同页签。
  • 记录页右上角「⋮」:Configure page、Copy page URL、Copy record ID、Add to favorites、Delete record。Configure page 原地进入记录页布局编辑。
  • 规律:每个页面一个菜单,放「配置这一页所属的东西」;页面菜单里没有全局的东西。

要做的

  1. 列表的「⋮」里加一项「对象设置」,放在最上面。点了打开 Studio 里这个对象(上面那个地址),那里包含字段。不单列「管理字段」。
  2. 只有系统管理员看得到。自建应用和安装来的应用的对象都有。
  3. 侧栏菜单项「…」里的「设计」:
    • 对象类菜单项:改名为「对象设置」,去向和第 1 条相同。
    • 仪表盘、报表、页面等其他类型:去掉这一项(它们在各自页面上用「编辑」修改)。
  4. 离开当前页面前,如果列表有未保存的视图改动,照现有的未保存提示走。

不做的

  • 不在记录页的「…」里加东西(「配置页面」另行处理)。
  • 不改 Studio 的对象页面。
  • 不改列表「⋮」里已有的两项。

验收

  • 自建应用「客户」列表:点「⋮」,第一项是「对象设置」;点了到 Studio 里「客户」这个对象,能看到它的字段。
  • HotCRM「客户」列表:同样试一次。
  • 普通成员:「⋮」里没有「对象设置」。
  • 侧栏「客户」菜单项的「…」:有「对象设置」,没有「设计」;点了去向同上。
  • 侧栏一个仪表盘菜单项的「…」(HotCRM「销售」应用里有):没有「设计」。
  • 列表排了序还没保存时点「对象设置」:出现未保存提示。
  • PR 正文附「⋮」和侧栏「…」的改动前后截图。

协调席自己加的

  • 「要做的」第 3 条整条(侧栏「…」里「设计」的处理):维护者只定了列表「⋮」加「对象设置」,这一条是协调席发现同一个旧入口后补的。
  • 第 4 条和对应的验收。
  • 「放在最上面」这个位置(参照 Attio)。

Activity

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

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    通知记录 · 2026-11-22T14:03Z

    维护者 2026-11-22:「立卡」;此前:「后续 ux 专题立卡之后都通知 7号座位。」本卡按此通知席位 repo:objectstack#7,随后在它的信箱 #36199 里发一条。

  3. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue; rationale: area:ux · Feature · a child the coordinator filed under topic #36359 (设计模式) → p2 as set by the coordinator · size S.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU

    Claim: PM loop round 3
    Session: session_01ADHkmRGDrq6JSytBsNFabU
    Account: os-steve
    Area: s2-D
    Branch: claude/issue-36487-list-object-settings
    Worktree: objectstack-issue-36487
    Domain: domain:ui
    Seat: repo:objectstack#2
    File surface: ui/packages/app-shell/src/views/objectViewHeaderChrome.tsx (the list's ⋮ items), ui/packages/app-shell/src/layout/SidebarItemMenu.tsx (the item's 「设计」), ui/packages/app-shell/src/utils/appRoute.ts read-only (appStudioObjectPath), tests beside them, ui/packages/i18n/src/locales/* for the one new label (all packs in one stroke), root .changeset/. ui/packages/app-shell/src/views/ObjectView.tsx is out of the surface: PR #36411 edits it; a needed edit there stops the dev and queues behind #36411.
    Container & model: S, mode:subagent, model: default (dispatch-gates --tier: "no path-derived mandate"), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7080823731
    Premise: holds — at origin/main 79d9c14 SidebarItemMenu.tsx:364 draws sidebar-item-menu-design for every item with a gatedDesignPath, behind confirmUnsavedLeave; objectViewHeaderChrome.tsx builds the list's ⋮ items (favorite and the object description); appRoute.ts:261 appStudioObjectPath exists.
    Pre-claim lane: ui/packages/app-shell/** is domain:ui, this seat's intake; child of topic #36359 (设计模式), routed to this area by the seat.
    Pre-claim deps: no Blocked-by:; sibling #36485 (s2-B, same topic) is unclaimed and has no open PR; no open PR touches SidebarItemMenu.tsx, objectViewHeaderChrome.tsx, objectViewPageHeader.tsx or appRoute.ts (read at 2026-11-23T02:00Z); PR #36411 touches ObjectView.tsx and the locale packs (textual overlap judged by overlap-check before push).
    Prior rulings read: studio → 28 hits; ADR-0005 Decision §6, ADR-0014 Decision §5, ADR-0023 Decision §3, ADR-0024 Decision §2, ADR-0027 Decision §13, ADR-0030 Decision §9, ADR-0038 Decision §2/§5 — none rules on these menu entries; the card's maintainer quotes (2026-11-22T14:03Z record) are the governing text: 「对象设置 已经包含字段,不需要管理字段。」; surface grep 0 hits; repo: objectstack-ai/objectstack
    Serial constraints cleared: sibling #36485 (s2-B) not in flight; PR #36411 (seat 7) on ObjectView.tsx, excluded from this surface

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
    os-dev-report

    {
      "issue": 36487,
      "status": "blocked",
      "branch": "claude/issue-36487-list-object-settings",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36612",
      "session": "session_01ADHkmRGDrq6JSytBsNFabU",
      "premise_still_valid": true,
      "summary": "Card items 2, 3 and 4 (literal form) are done in draft PR #36612 (head 8d230ce5cc88c4332816b04ff87e5746e326099f, Part of #36487): the sidebar's object entry and object favorites offer Object settings (console.nav.objectSettings, 11 packs, replacing console.nav.design) opening appStudioObjectPath; dashboard, page and report entries and favorites offer no Studio entry; one gate useObjectSettingsGate = the app bar's useStudioEntryGate in either posture, so admins get it on built (writable) and installed (read-only) apps, members and kernel apps get none; navigation goes through confirmUnsavedLeave; the narrow header's folded menu (objectViewHeaderChrome.tsx) leads with it too. BLOCKED on card item 1, the headline: the list ⋮ that holds the description and Add to favorites is ObjectViewMoreMenu in ui/packages/app-shell/src/views/objectViewPageHeader.tsx, NOT objectViewHeaderChrome.tsx (PM mechanism assumption disproven; the latter builds only the folded face); that file is outside the declared surface, my edit to it was refused by the permission classifier, and per the dispatch I stopped there. Needs: the seat adds objectViewPageHeader.tsx to the claim's file surface (no open PR touches it per the claim's pre-claim read); the remaining edit is about 25 lines using the helpers already in this PR (ObjectSettingsMenuItem, useObjectSettingsGate, useObjectSettingsPath; useParams for appName, objectDef.name, item first with a separator). Separately, item 4's acceptance line (sorted unsaved list then Object settings shows the unsaved prompt) rests on a false premise, see open_questions.",
      "tests": "Head 8d230ce5 (after merging origin/main): lock VERDICT command-exit 0, Test Files 115 passed (115), Tests 2061 passed, 13 skipped, over the 5 touched sidebar suites, AppHeader.editAppFollowsPackagePosture-12615, the new views/__tests__/objectViewHeaderChrome.objectSettings-36487.test.tsx, ObjectView.headerFold-12705, ObjectView.favoritesEntry-12427 and all of packages/i18n/. Pre-merge: 7 ObjectView header suites + packages/i18n: 113 files, 2045 passed. Type check: turbo run type-check --filter=@object-ui/app-shell --filter=@object-ui/i18n, 70/70 tasks successful, VERDICT command-exit 0 (tsc --noEmit and tsconfig.test.json for both). Ablation (one, committed head, no build needed: ui suites resolve app-shell from src): scripts/ablation-replace.mjs mutated useObjectSettingsGate to the edit-only posture, anchor x1 to x0, blob 72f7509e to 7e59064e; 3 failed / 9 passed (installed-app folded menu, installed-app sidebar entry, favorite case); restored, blob == HEAD 72f7509e, git diff HEAD empty. One-off reading (temp file, deleted): after patchListDraft(scope, sort desc), confirmUnsavedLeave called confirm 0 times and ran the departure 1 time. Forced test edits named in the PR body (12427, 13231, 12615 posture flip, 12520 dashboard/page now null, UnifiedSidebar.favoritesMenu-12427). Screenshots NOT MEASURED: the main ⋮ entry is not in this PR; no console booted.",
      "gates": "Local, head 8d230ce5: dispatch-gates --commands --repo objectstack-ai/objectstack derived 41 commands, all run, each :: exit 0 (file /mnt/project-files/objectstack-seat2/36487-gates-ran.txt); --ran reconciliation: 41 derived, 41 run, 0 NOT-MEASURED, 0 UNRUN. ui gates beyond the derivation: check:i18n-keys 0, check:i18n-drift 0, check:spec-symbols 0, check:icon-record-names 0, check:new-line-citations 0. overlap-check --branch: VERDICT clean exit 0 (shares locale packs with #36587, #36583, #36525, all merge cleanly; #36411 not listed). CI on #36612: in_progress at report time (21 check-runs listed, none concluded red).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay writes: fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/36612/assignees os-steve; read-back identical 7912 bytes, assignee os-steve); post-stamped comment on #36487 (POST /issues/36487/comments, this report). git push not counted.",
      "open_questions": [
        { "question": "Extend the claim's file surface to ui/packages/app-shell/src/views/objectViewPageHeader.tsx so card item 1 (the list ⋮ leads with Object settings) can land in #36612?", "options": ["A: extend the surface and re-dispatch on the same branch; about 25 lines plus a pin in a new harness file, the helpers already landed in this branch", "B: split item 1 into its own card after #36411 lands"], "recommendation": "A, because the claim's pre-claim read found no open PR on objectViewPageHeader.tsx and the card's headline is that menu" },
        { "question": "Card item 4's acceptance says a sorted, unsaved list shows the unsaved prompt on Object settings; the existing prompt never fires for a list draft (the draft store does not register with the unsaved-edits seam and is built to survive in-app departures). Which way?", "options": ["A: keep the literal item 4 (route through the existing seam, which asks for every registered edit) and drop that acceptance line; cost zero", "B: have Object settings alone ask when the list's draft is non-empty, reusing the seam's question; needs the draft scope from ObjectView.tsx or a new read in listDraftStore.ts (both outside the surface; ObjectView.tsx is under #36411), small", "C: register every list draft with the seam, so every departure asks; reverses the draft's designed lifetime, product-wide"], "recommendation": "A, because the draft is not lost by a trip to Studio and the card's own words say to follow the existing prompt; B if the maintainer wants the line kept" }
      ],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted, not filed · the phone top-row ⋮ is built in ObjectView.tsx (excluded surface), so it does not offer Object settings; one prop after #36411 lands", "carrier: none · noted, not filed · UnifiedSidebar.tsx keeps the names sidebarItemDesignPath/favoriteDesignPath/designPath and a Design comment (outside surface); naming only"]
    }
  8. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU

    Claim amendment at 2026-11-23T02:59Z (area s2-D) — file surface extended, same branch claude/issue-36487-list-object-settings, same PR #36612.

    • Why: the claim assumed the list ⋮ items are built in objectViewHeaderChrome.tsx. Measured by the developer (report 7090348377): that file builds only the folded narrow-header menu; the list ⋮ that carries the object description and 「Add to favorites」 is ObjectViewMoreMenu in ui/packages/app-shell/src/views/objectViewPageHeader.tsx. My mechanism assumption was wrong, not the card.
    • File surface now: the claimed surface plus ui/packages/app-shell/src/views/objectViewPageHeader.tsx and one new test file beside it. ⛔ Still excluded: ObjectView.tsx, listDraftStore.ts, UnifiedSidebar.tsx.
    • Pre-claim reads for the added file: no open PR touches it (feat: Change Owner cascade, transferBehavior on a relationship, ticked in the dialog #36525 and feat(console): the sidebar object entry offers Object settings, and the folded list menu leads with it #36612 file lists read; feat(kanban): the board's own view settings, lane header create and menu, and a lane statistic #36411 merged); last change on main is feat(console): 「Edit app」 turns on a design mode in the running app (#36362) #36397; check-prior-rulings.mjs --card 36487 --paths <file>: no ruling on the card thread, title-only term hits.
    • Item 4, read by the area: the card says the jump follows the existing unsaved prompt. List drafts never register with that prompt and are built to survive a departure (measured: after a draft sort, confirmUnsavedLeave asked 0 times). The area keeps item 4 literal: the entry goes through confirmUnsavedLeave, and the acceptance line about a sorted unsaved list is dropped as resting on a false premise. A list-draft prompt would be a product change to the draft lifetime and is not part of this card.
    • Sidebar posture: the sidebar entry now shows on read-only (installed) packages as well, matching item 2's list ⋮ behaviour through the one shared gate. Accepted.
    • Not in this card: the phone top-row ⋮ (built in ObjectView.tsx) is noted for a later card.
  9. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
    os-dev-report

    {
      "issue": 36487,
      "status": "done",
      "branch": "claude/issue-36487-list-object-settings",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36612",
      "session": "session_01ADHkmRGDrq6JSytBsNFabU",
      "premise_still_valid": true,
      "summary": "Round 2 under claim amendment 7090378259: item 1 landed. ObjectViewMoreMenu (objectViewPageHeader.tsx) now leads with Object settings, above the description, Import and the favorites entry. It uses the branch's ObjectSettingsMenuItem, useObjectSettingsGate and useObjectSettingsPath (app from the list's route, object from objectDef). The gate passes a workspace admin who may author metadata on a writable and on a read-only (installed) package; a member, an admin without authoring and a kernel app get none. The click goes through confirmUnsavedLeave to appStudioObjectPath. Round 1 already covers the sidebar (Object settings for object entries and favorites, none for dashboard, page and report), the folded header menu, and the console.nav.objectSettings key in 11 packs. Head b3af5fd8f405d4671b17522ef5b4f25814b37b29. The replacement PR body (Fixes #36487) is ready for the area at the scratchpad pr-body-v2.md path; I sent no PR body write.",
      "tests": "At caeacab0 (after merging origin/main): lock depth 1, hold 2, go; touched sidebar suites, both new pins (views/objectViewPageHeader.objectSettings-36487.test.tsx, views/__tests__/objectViewHeaderChrome.objectSettings-36487.test.tsx), 7 ObjectView header suites and packages/i18n: VERDICT command-exit 0, 121 files, 2121 passed, 13 skipped. b3af5fd8 changes only the folded-menu pin (Lint UI refused a module-variable reassignment): both pins re-run, 2 files, 11 passed, VERDICT 0; app-shell pnpm run lint exit 0, 0 errors. Type check: turbo run type-check --filter=@object-ui/app-shell, 69/69 successful, VERDICT 0. Ablation (list item): ablation-replace.mjs turned the item's guard constant-false (anchor x1 to x0, blob b3d6a422 to 3d8f5609); the new pin went 4 failed / 3 passed (the member, no-authoring and kernel cases stay green, as expected); restored, blob == HEAD b3d6a422, git diff HEAD empty. Screenshots NOT MEASURED (no console booted; every acceptance line is pinned by a unit test).",
      "gates": "Head b3af5fd8: dispatch-gates --commands --repo objectstack-ai/objectstack derived 41 commands, all :: exit 0; --ran reconciliation: 41 derived, 41 run, 0 NOT-MEASURED, 0 UNRUN (/mnt/project-files/objectstack-seat2/36487-gates-ran.txt, overwritten, read back identical). check:i18n-keys 0, check:spec-symbols 0, check:icon-record-names 0, check:new-line-citations 0. PR check-runs on b3af5fd8: 45 success, 13 skipped, 0 failure, Lint UI success (it was red on caeacab0 for the one lint error, fixed in b3af5fd8).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "Round 2: 1 write, post-stamped os-dev-report comment POST /issues/36487/comments. git push not counted. No PR body write and no new PR. Round 1 (already reported): pr_create (POST /pulls + POST /issues/36612/assignees) and comment 7090348377.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted, not filed · the phone top-row ⋮ is built in ObjectView.tsx; the area noted it for a later card", "carrier: none · noted, not filed · UnifiedSidebar.tsx keeps the design-named helpers and comment (outside surface); naming only"]
    }
  10. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU

    Landed: PR #36612 merged (2026-11-23T04:31Z), closing this card via Fixes #36487. pm:dispatched removed on close. The phone top-row ⋮ is carried by #36623.

  11. removed
    pm:dispatched
    on Nov 23, 2026
  12. added a commit that references this issue on Nov 23, 2026
    4ef1ea9
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