Skip to content

记录页右上角「编辑」按钮降一档:从实心蓝色 36 高改成描边 28 高 #36049

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

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

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

  • 「已经开发完成的的列表页相关功能和记录详情页,再继续深度详细对照 attio 每一个细节的效果,关于界面美观度和用户体验提出优化改进意见,和我沟通」
  • 协调席给了 12 条对照意见,维护者:「其他你的其他Attio意见, 1 3 4 5 7 8 10 都同意,立卡」(本卡是其中第 10 条)

现状(主干 c00be39b74,本机环境浏览器实测,1440 宽,「销售商机」记录页)

右上角的「编辑」是实心蓝色按钮:76×36,底色 rgb(0,123,255),白字 14/500,圆角 12。它是整页最显眼的东西,比记录名称和阶段都抢眼。记录页的字段已经可以就地编辑,「编辑」不是这一页的主要动作。

现状:右上角实心蓝色的「编辑」按钮

参照(Attio,实测)

记录页没有「编辑」按钮,字段点一下就地改;顶部只有一排 28 高的小图标动作。

参照:Attio 记录页顶部只有一排小图标动作,没有实心按钮

要做的

  1. 「编辑」改成描边按钮(白底、细边、正文色的字和图标),高 28,和同一行的「⋯」、上下条切换按钮同高。
  2. 记录页顶部这一行不再有实心主色按钮。对象自己配置的主要动作(比如「提交审批」)如果现在是实心的,保持原样,不在本卡改。
  3. 抽屉里打开的记录页同样处理。

不做的

验收

  • 「销售商机」记录页:「编辑」是描边样式,量出来高 28;和旁边的「⋯」同高、底边对齐。
  • 点「编辑」:和改动前一样进入编辑。
  • 从列表在侧边打开一条记录:抽屉里的「编辑」同样是描边、28 高。
  • 配了自定义主要动作的对象:那个动作的样式和改动前一样。
  • PR 正文附改动前后截图。

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

维护者同意的是「编辑降为普通描边按钮,高度降到 28」。下面是协调席补的:

  • 第 2 项里自定义主要动作不动。
  • 第 3 项。
  • 「不做的」四条。

没有核对的

  • 没有找到「编辑」按钮在代码里的位置,请开发自己定位。
  • 没有试过配了自定义主要动作的对象,第 2 项里「如果现在是实心的」是推测。
  • 圆角跟随整体观感卡统一成 8;那张卡没合并前本卡保持现有圆角即可。

Reader: domain:ui 车道。记录页头部组件(ui/packages/app-shell 或 ui/packages/plugin-detail 里,未核对)。

Dedupe: 编辑按钮 记录页 描边(objectstack,open)→ 0。相关:#35890(记录页宽屏布局)、#35853(上下条切换)。

附图补于 2026-11-21T11:26Z(维护者:「你没有带截图吗」「用 attio 的截图」)。

Activity

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Claim: card thread · 2026-11-21T11:28Z · card given to this seat by the maintainer at 2026-11-21 11:23Z (epic #35590).
    Area: b1-R2
    Session: session_01L6bhgTFnmxG5snBaBLNBei (card thread, dev-thread rule)
    Account: os-sales
    Branch: claude/project-thread-08k8f2
    Seat: repo:objectstack#1
    Domain: domain:ui
    File surface: ui/packages/components/src/.../containers.tsx (the page:header button renderer) and its tests; the registry note and the generated page.mdx; a comment in RecordDetailView.tsx; a changeset (@object-ui/components patch).
    Container & model: S, own card thread, model: opus, effort: medium
    Clause-②: no (no export, prop or i18n key changes)
    Metadata-protocol: none
    Premise (thread, main 8145424b with #35983 in, /mnt/project-files/build-seat1/36049/premise-read.md): holds. 「编辑」 is the host's sys_edit, drawn by the page:header renderer; it becomes the solid primary button only when the object has no header actions of its own; with page actions it is already outlined. The drawer uses the same path. 「⋯」 is 36 high today, not 28 as the card says.
    Basis: card #36049 (epic #35590).
    Scope, the seat's reading:

    1. When the picked primary is the host's Edit, it is drawn outlined (white fill, thin border, body-colour text and icon) at 28 high. A page's own action keeps its pick and colour; Save in edit mode stays solid. Same in the drawer. The phone bottom bar is not touched.
    2. The height scope for the rest of the row (the page's own actions and 「⋯」) waits the maintainer's answer after a fable review; until then the thread builds the recommended reading (the whole desktop header action row at 28) in its own commit.
      Resume-from: none
      Fold-or-serial: serial; no fold. 审批请求页:标题是流程名而不是业务记录名,记录名被截断,没有入口打开原记录 #35415 (approval page header) and 控制台整体观感收齐:字号收成两档、不再用加粗到 600 的字重,控件圆角统一成 8,内容区改白底 #36047 (global radius and weights) are nearby; overlap-check.mjs before each push, the second to land merges main. L1 at L1-c. The PR carries Fixes #36049. The branch is the card thread's harness push branch, a measured platform exception to claude/issue-<n>-<slug>.
  3. added
    pm:dispatched
    on Nov 21, 2026
  4. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: pm:dispatched to seat 1 (as set); rationale: area:ux · Feature · the record page's top-right Edit button steps down from a solid 36-high blue button to a 28-high outline; maintainer's agreed item 10; topic #35590 → p2 as set by the coordinator · size XS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpm:dispatchedpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions