Skip to content

手机记录页底部按钮条只在有主要动作时出现;「编辑」不再占一个按钮,放进「更多」 #36151

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #35880(专题:手机端,维护者直派)。⛔ 不是认领。优先级 p2(协调席定的,维护者未指定)。

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

  • 「完整的测试一下手机版,对照之前 attio 的效果,提出优化改进意见。」
  • 「现有的右侧界面也要看看如何进一步优化」
  • 看过效果图(设计板图 48,其中第三张的 ③ 是本卡)和协调席加的五条后:「可以,立卡」

现状(界面 db9e34ad32,本机环境浏览器实测,手机宽度)

手机记录页底部永远固定一条按钮:「编辑」加「更多」;对象有自己的动作时是「编辑、主要动作、更多」(#34595、#35840 定的,默认露 2 个)。没有任何自定义动作的对象,底部一整行只有一个「编辑」。

现状:底部一整行「编辑」

参照(Attio 手机端,维护者截图,只参照行为)

记录页没有底部按钮条;字段点一下就改,其余动作在右上角「更多」里。

效果图

③ 是有主要动作时的样子;①② 没有主要动作,底部没有按钮条

要做的

  1. 「编辑」不再占底部一个按钮:字段点值直接改;整条进入编辑的入口放进右上角「更多」。
  2. 底部按钮条只在对象有主要动作时出现,只放主要动作(最多 2 个,沿用现在的规则),撑满一行。
  3. 没有主要动作时不画底部按钮条,页面内容一直到屏幕底部。
  4. 审批中的记录:底部是「通过、拒绝」这类审批动作,照现在的规则,不受本卡影响。
  5. 其余动作都在右上角「更多」里。

不做的

  • 不改电脑端。
  • 不改哪个动作算「主要动作」的判断。
  • 不改审批相关的按钮。

验收

  • 手机宽度下打开一条没有自定义动作的记录:底部没有按钮条;右上角「更多」里有「编辑」。
  • 打开一条有主要动作的记录(HotCRM 的线索,「确认线索」):底部只有这个动作,没有「编辑」。
  • 点一个可编辑字段的值:能直接改并保存。
  • 点「更多」里的「编辑」:进入整条编辑,和改动前点底部「编辑」一样。
  • 待我审批的记录:底部是审批动作,和改动前一样。
  • PR 正文附三种情况的截图。

协调席自己加的(不是维护者原话)

本卡的内容都是协调席提的(设计板图 48 的说明里标了「改」),维护者看过后说「可以,立卡」。

没有核对的

Reader: domain:ui 车道。ui/packages/app-shell/src/views/RecordDetailView.tsx(phonePage、底部按钮条)、recordPhoneHeader.ts、RecordDetailView.phoneFace-27058.test.tsx(现在钉住的行为)。

Dedupe: 手机 记录页 底部 编辑(objectstack,open)→ 0。相关:#34595、#35840、#35419(都已关闭,定了现在的底栏规则)。

Blocked-by: #36147

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue; rationale: area:ux · Feature · the phone record page's bottom bar appears only when there is a primary action, and Edit moves into More; topic #35880, maintainer: 「可以,立卡」 → p2 as set by the coordinator · size S.

  3. added
    pm:queue
    on Nov 21, 2026
  4. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Claim: PM loop · 2026-11-21T17:04Z · area b1-M (epic #35880; the maintainer approved the card on design board fig. 48, 「可以,立卡」, and dispatched it through mailbox record 7065854971).
    Area: b1-M
    Session: session_01L6bhgVnGPmrn7mqGD2smJp (card thread)
    Account: os-sales
    Branch: claude/project-thread-7psu0r
    Seat: repo:objectstack#1
    Domain: domain:ui
    File surface: the phone record page's bottom bar and top bar in app-shell (RecordDetailView.tsx near the phone frame), PageHeaderPhoneFace (a new optional "more" slot) in containers.tsx, the phone-face tests; packages/spec/src/ui/component.zod.ts mobileMaxVisible describe text plus generated docs; changeset.
    Container & model: M, card thread, model: opus, effort: high
    Clause-②: yes (widening): a new optional slot on PageHeaderPhoneFace; re-measured on built declarations before push.
    Metadata-protocol: semantic: on the phone record page mobileMaxVisible no longer counts Edit, so its spec describe text changes.
    Premise (thread, read on main f5553525, file build-seat1/36151/premise-read.md in the project folder): holds. Measured at 375: today no field type edits in place on the phone record page (the phone read branch of DetailSection.tsx has no pencil, and neither click nor double-click enters edit). Today the ⋯ menu sits in the bottom bar (refresh, favourite, share, delete).
    Basis: card #36151; epic #35880; fig. 48.
    Scope, the seat's reading: ⋯ moves to the top bar's frame position (without touching record-top-bar.tsx, which #36114 changes); Edit moves into that menu; with no primary action the bottom bar is not drawn; the approval group and edit mode's Cancel and Save stay in the bottom bar. Edit is removed from the bar only after #36147 (single-click in-place edit, which also reaches the phone) merges: the card itself says not to remove Edit if in-place editing does not work. The thread builds the rest locally and pushes after merging main over #36147, with the card's three states at 375 in light and dark.
    Resume-from: none
    Fold-or-serial: order #36136 → #36147 → #36151. Overlap on RecordDetailView.tsx with #36114, #36136, #36129, #36150; containers.tsx with #36131 (merged); phone-face tests with #36136. overlap-check.mjs before each push. L2 at CONTRACT_REVIEW_TIER (the spec describe change makes it a contract face); L1 at L1-b. The PR carries Fixes #36151.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 21, 2026
  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Release: handover to seat repo:objectstack#4 · 2026-11-22T02:44Z · the maintainer told seat 1 to finish only its work in hand and to hand later work to seat 4 (2026-11-22T02:39Z). Handover in seat 4's mailbox #36124 (comment 7073058497) with this card's state, brief and conflict points. Seat 1 holds nothing on this card now.

  7. added
    pm:blocked
    and removed
    pm:dispatched
    on Nov 22, 2026
  8. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA

    Claim: PM loop round 1 · 2026-11-22T10:09Z
    Session: session_01QsR2jRaJbQ4vqdv4J5peqA
    Account: zhuangjianguo
    Branch: claude/issue-36151-phone-bottom-bar
    Worktree: objectstack-issue-36151
    Domain: domain:ui
    Seat: repo:objectstack#7
    Area: f7-record
    File surface: the phone record page's bottom bar and top-bar 「更多」 in ui/packages/app-shell/src/views/RecordDetailView.tsx (phonePage), recordPhoneHeader.ts, PageHeaderPhoneFace in containers.tsx if a More slot is needed, the phone-face tests (RecordDetailView.phoneFace-27058.test.tsx pins today's behaviour), packages/spec/src/ui/component.zod.ts mobileMaxVisible describe text plus generated docs only if the measured behaviour change reaches it, changeset.
    Container & model: M, mode:subagent (build-heavy if spec is touched: the one build-heavy dev in this container), model: opus (TIER_DEFAULT; dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: yes (widening), expected (seat 1's reading 7066187472: an optional More slot on PageHeaderPhoneFace); becomes no if measured otherwise, amended here
    Metadata-protocol: semantic, expected (seat 1's reading: on the phone record page mobileMaxVisible no longer counts Edit); none if the describe text does not change
    Responsibility: n/a — not a defect card
    Thread-read: 7073099689
    Premise: holds as filed; first step owed: the per-type tap-to-edit check on the phone (seat 7 note 7076486030: ruling 7066516044 item 2 already decided a single tap edits on the phone; a type that fails is raised by name before Edit leaves the bar)
    Pre-claim lane: domain:ui — ui/packages/app-shell/src/views/RecordDetailView.tsx; packages/spec/src/ui/component.zod.ts describe text stays in this lane (留道: fix is clear, area L1/L2)
    Pre-claim deps: Blocked-by: #36147 — closed by PR #36234; pm:blocked → pm:dispatched
    Prior rulings read: mobilemaxvisible,phone,bottom,pageheaderphoneface → 3 hits; ADR-0061 D2, ADR-0093 D7; thread: none; repo: objectstack-ai/objectstack. Linked rules this card changes: #34595 (bottom bar starts with Edit), #35840 (two visible by default).
    Serial constraints cleared: RecordDetailView.tsx shared with open PRs #36406, #36394, #36343, and in-build #36246 and #36149 + #36201 (this area); overlap-check.mjs before each push; second lander merges main. Seat 1's WIP (commit 9e5740ee, a patch / bundle in seat 1's project files) is not reachable from this container, so the dev starts from origin/main.
    Resume-from: none (seat 1's WIP branch is not on the remote)
    Fold-or-serial: alone (phone face; the preview fold #36149 + #36201 is a different face).

  9. added
    pm:dispatched
    and removed
    pm:blocked
    on Nov 22, 2026
  10. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA
    os-dev-report

    {
      "issue": 36151,
      "status": "done",
      "branch": "claude/issue-36151-phone-bottom-bar",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36478",
      "session": "session_01QsR2jRaJbQ4vqdv4J5peqA",
      "premise_still_valid": true,
      "summary": "On a phone the record page's bottom bar now holds the object's own actions only (primary + next, budget 2 / mobileMaxVisible unchanged, filling the row); with no action no bar is drawn and the body runs to the screen foot; Edit (always, on or off) and everything past the budget, plus Refresh/Favorites/Share/Delete, sit in a new top-bar More at RecordTopBar's right end; approval records keep [Approve][Reject][More] unchanged; desktop untouched. Mechanism: optional PageHeaderPhoneFace.more host slot (Clause-② yes (widening), measured as the claim expected), PageHeaderActions portals its More there; sys_edit is action:menu on the phone. mobileMaxVisible no longer counts Edit (Metadata-protocol semantic, as expected): spec describe, designer description, pages.mdx and generated docs updated. Step 0 PASS: every type the default record page draws editable opened on one tap at 375 and saved (36 types; password/secret/html/richtext/formula/autonumber are not drawn editable, same as desktop). Claim assignee untouched.",
      "tests": "Final head ec741d2c08: vitest --maxWorkers=1 phoneFace-27058 + recordPageTiers-26678 + page-header-phone-bar-27058 => Test Files 3 passed (3), Tests 52 passed (52), exit 0; ui scripts/ vitest => 172 passed 2 skipped files, 5127 passed 2 skipped tests, exit 0; @object-ui/components + @object-ui/app-shell type-check (incl. tsconfig.test.json) VERDICT command-exit 0 after building the app-shell^... closure (stale @object-ui/types dist first gave an unrelated onColumnHide TS2339; rebuilt, gone). Earlier broad run RecordDetailView*/page-header*/record-top-bar* 133 files/1144 tests, the single red the tiers pin, fixed in ec741d2c08 (10/10). e2e record-flow-phone-targets 6 passed locally. Step 0 live per-type tap check at 375 (touch emulation, showcase Field Zoo): 36 types opens+saved. Ablations (src-aliased suites, restored, blob==HEAD verified by ablation-replace.mjs): sys_edit back to 'phonePage && editOff' => phoneFace 6 failed/22 passed; moreInTopBar = barFace && false => 13 failed/29 passed. Live screenshots light+dark at 375 on branch claude/issue-36151-evidence.",
      "gates": "Local: dispatch-gates --ran => 125 derived, 123 run exit 0, 2 NOT MEASURED (exit 3 PREREQUISITE NOT MET: spec check:skill-examples needs built @objectstack/client-react; check:dual-build-cjs-loads needs studio/client-react/other dists outside this diff), 0 UNRUN; spec check:generated green after --fix; overlap-check exit 1 only on #36357 (generated scripts/sdui-manifest.record.json sha/date; second lander regenerates), clean vs origin/main, #36438, #36392, #36351, #36343. CI on ec741d2c08 at report time: 25 check-runs, 20 in_progress, 5 skipped; no conclusion yet (in_progress).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls via dispatch run 45027518760, read back identical, assignee zhuangjianguo, no labels); post-stamped issue comment on #36151 (POST /repos/objectstack-ai/objectstack/issues/36151/comments). Not REST: git push of the branch and of the evidence branch claude/issue-36151-evidence.",
      "open_questions": [],
      "security_findings": "none",
      "deviations": "The first push of the branch went out before the first overlap-check run; the overlap-check run right after was clean apart from the generated-file conflict with #36357, and every later push was preceded by one.",
      "out_of_scope_findings": [
        "class: a · reach: UI, phone 375, showcase Field Zoo record, Master-Detail -> Project inline edit: tap the trigger, then tap the 'Account: Fabrikam' record chip inside an option's preview => the Fabrikam account page opens mid-edit instead of the option being selected (screenshot zoo-375-after-Master_Detail_Project.png in the dev scratchpad) · dedupe words: lookup picker option preview link navigates selects phone",
        "carrier: none · the #36357 / this PR overlap on the generated scripts/sdui-manifest.record.json is a landing-order note, not a finding"
      ]
    }

    Generated by Claude Code

  11. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA
    os-dev-report

    {
      "issue": 36151,
      "status": "done",
      "branch": "claude/issue-36151-phone-bottom-bar",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36478",
      "session": "session_01QsR2jRaJbQ4vqdv4J5peqA",
      "premise_still_valid": true,
      "summary": "REWORK round for L1 7080331417 and the L2 nits 7080341247. (1) HotCRM was run live at 375 px in zh-CN: hotcrm origin/main 689166c from a sister worktree with its own setup (objectstack dev, published 18.6.0), with this branch's Console vite proxied to it. On a New lead, before was [编辑][确认线索][⋯]. After is [确认线索][转化线索] with no 编辑, and the top-bar ⋯ holds 编辑. Shots are on claude/issue-36151-evidence (e9d8965c15). The PR body is patched through relay issue_patch with the signed trailer as the last line: an Acceptance note, a screenshot row and a two-minute check. The note says why 转化线索 also shows: ruled item 2 keeps the budget at 2, so the slot Edit gave up goes to the next action; a single-button bar needs HotCRM to author mobileMaxVisible 1. (2) The changeset only, not the describe: host buttons (Claim, and Cancel/Save in the edit state) still take bar slots first, plus the migration hint (lower mobileMaxVisible by one; an authored 1 now shows the primary; for zero inline actions, mark them component action:menu). New head 75f16a89de; code unchanged since ec741d2c08.",
      "tests": "Code unchanged since ec741d2c08; the readings in the PR body stand: 3 suites, 52/52; ui scripts 5127 passed; type-check exit 0. HotCRM live check at 375 px zh-CN: before bar '编辑 | 确认线索 | 更多操作'; after bar '确认线索 | 转化线索', top more 1, menu '刷新 / 安排跟进 / 记录通话 / 记录会议 / 安排会议 / 编辑 / 添加到收藏 / 分享 / 删除'. For the before shot, the three renderer files were set to merge-base content in the worktree and restored with git checkout HEAD; each blob hash then matched HEAD and git diff HEAD was empty.",
      "gates": "Head 75f16a89de (changeset text only): check-changeset-no-major, check-empty-changeset, check:changeset-gate-self-tests, check:nul-bytes, check:issue-citations and check-closing-keyword-parity all exit 0. overlap-check exit 1, again only on #36357 (generated scripts/sdui-manifest.record.json); origin/main merges cleanly. CI on 75f16a89de at report time: 41 check-runs, 9 success, 11 skipped, 21 in_progress (in_progress). CI on ec741d2c08 had no failure.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 this round — relay issue_patch on #36478's body (PATCH /repos/objectstack-ai/objectstack/issues/36478, run 45032823259, read back identical, 14003 bytes); this post-stamped report comment on #36151 (POST /repos/objectstack-ai/objectstack/issues/36151/comments). Not REST: git push of 75f16a89de and of evidence commit e9d8965c15.",
      "open_questions": [
        {
          "question": "The card's acceptance example says the HotCRM lead's phone bar shows 「确认线索」 alone. Under ruled item 2 (budget at most 2, current rule) it shows [确认线索][转化线索]. Should the lead bar show one button?",
          "options": [
            "A Keep as ruled: 2 actions; the card's example is read as 'no 编辑 in the bar'. Cost: none.",
            "B HotCRM authors mobileMaxVisible: 1 on the lead page's page:header (a one-line HotCRM card). Cost: small, app-side; the other objects keep 2.",
            "C Change the platform default to 1. Cost: reopens ruled item 2 and the L2; not recommended."
          ],
          "recommendation": "A, because item 2 rules the budget explicitly and the screenshot satisfies the rest of the acceptance (no 编辑 in the bar, 编辑 in the top ⋯). B stays available as an app choice."
        }
      ],
      "security_findings": "none",
      "deviations": "A first spec closure build for the Console OOM-killed (137) in the spec DTS step on the shared box; the Console needs only JS, so it was rebuilt with OS_SKIP_DTS=1 (exit 0), for the live run only, never for a gate reading. A leftover vite from the first Console start kept the port; its process tree (descendants of the recorded PID) was stopped.",
      "out_of_scope_findings": [
        "class: a · reach: UI, phone 375, showcase Field Zoo, Master-Detail -> Project inline edit: tapping the record chip inside a lookup option's preview navigates to that record instead of selecting · dedupe words: lookup picker option preview link navigates selects phone"
      ]
    }

    Generated by Claude Code

  12. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA
    os-dev-report

    {
      "issue": 36151,
      "status": "done",
      "branch": "claude/issue-36151-phone-bottom-bar",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36478",
      "session": "session_01QsR2jRaJbQ4vqdv4J5peqA",
      "premise_still_valid": true,
      "summary": "Fix for the merge-queue CI_FAILURE (queue run 45039497614): a semantic conflict with #36456. origin/main merged in at fe9a1f116c with a clean text merge. The os-regen hook then flagged content/docs/references/ui/component.mdx as stale: #36456 changed the showStar describe, and the generated file was merged without a text merge. It was regenerated with gen:docs as its own commit, d524255a80. In favoritesEntry-12427, the phone case now opens the top-bar More, whose CONTROL is Edit + Share. It also asserts that the bottom bar is drawn empty (the fixture object declares no action) and that this More is the page's only one. The no-favorites-entry assertion is unchanged. The mount helper now takes a ready selector, so that case waits for the top More instead of a toolbar. Changeset text changed: the More list drops Favorites, a correction of this PR's own unreleased changeset. Spec and describe text: unchanged by me; only the regenerated reference picks up #36456's text. The PR body was corrected through relay issue_patch with the signed trailer last: the More lists, the two-minute check, a screenshot note, the HotCRM reading and new readings. New head a262ef3653.",
      "tests": "Head a262ef3653, under the lock: vitest --maxWorkers=1 on favoritesEntry-12427, phoneFace-27058, recordPageTiers-26678, page-header-phone-bar-27058 and headerMenuIcons-12529: Test Files 5 passed (5), Tests 65 passed (65), VERDICT command-exit 0. The first attempt failed in a fresh worktree on the unbuilt @objectstack/spec, and a second attempt had 1 failure: the mount helper waited for a toolbar the phone face no longer draws. After building the app-shell^... closure (VERDICT 0) and fixing the helper, 65/65 passed. @object-ui/app-shell type-check, including tsconfig.test.json: VERDICT command-exit 0. ui scripts/ vitest: 172 files passed and 2 skipped, 5127 tests passed and 2 skipped, VERDICT command-exit 0.",
      "gates": "dispatch-gates --ran: 125 derived, 123 exit 0, 2 NOT MEASURED (exit 3 PREREQUISITE NOT MET: spec check:skill-examples needs a built client-react; check:dual-build-cjs-loads needs the studio and client-react dists), 0 UNRUN. os-regen: component.mdx is current. overlap-check exit 1, only on #36357 (generated scripts/sdui-manifest.record.json); origin/main 70194ffc65 merges cleanly. CI on a262ef3653 at report time: 41 check-runs, 6 success, 11 skipped, 24 in_progress (in_progress).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 this round — relay issue_patch on #36478's body (PATCH /repos/objectstack-ai/objectstack/issues/36478, run 45046282726, read back identical, 15425 bytes); this post-stamped report comment on #36151 (POST /repos/objectstack-ai/objectstack/issues/36151/comments). Not REST: git push of a262ef3653.",
      "open_questions": [],
      "security_findings": "none",
      "deviations": "The first commit attempt after the merge was refused by the os-regen pre-commit hook (stale generated reference). I regenerated it and committed the regen separately before the fix commit.",
      "out_of_scope_findings": []
    }

    Generated by Claude Code

  13. removed
    pm:dispatched
    on Nov 22, 2026
  14. added a commit that references this issue on Nov 23, 2026
    0b2118f
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