Skip to content

同一条记录在电脑整页、右侧预览、手机上的标题和主要动作不一样(HotCRM 线索:标题一处是全名、两处是「全名 - 公司」;主按钮一处是确认线索、两处是转化线索) #36202

Done

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

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

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

  • 协调席深度验收后列了 9 条观察,建议前三条立卡。维护者:「前三条立卡」。本卡是第 2 条。

现状(主干 6c7c6db250,本机环境浏览器实测,HotCRM 6.5.0,同一条线索 Mira Costa)

电脑整页 右侧预览 手机
标题 Mira Costa Mira Costa - Atlas Construction(被截断) Mira Costa - Atlas Construction
主要动作(实心按钮) 确认线索 转化线索 转化线索
其余按钮 转化线索、安排跟进、编辑 记录通话、记录会议、编辑 编辑

电脑整页:标题 Mira Costa,主按钮确认线索

手机:标题 Mira Costa - Atlas Construction,主按钮转化线索

原因(读了 HotCRM 的配置):

  • 电脑整页用的是 HotCRM 自己写的页面,页面头部写了 title: '{full_name}' 和一组动作(hotcrm src/sales/pages/lead_detail.page.ts:66、:92)。
  • 自定义记录页只在电脑整页生效:手机和右侧预览一律用平台标准记录页 #36150 之后,预览和手机一律用平台标准页。标准页的标题取对象的名称字段(lead.object.ts:651 的 display_title,内容是「全名 - 公司」),动作取对象上动作的默认顺序。
  • 两边各取各的,所以同一条记录在三处的名字和主按钮不一样。用户在手机上点惯了右下角的实心按钮,到电脑上同一位置是另一个动作。

要做的

  1. 同一条记录在电脑整页、右侧预览、手机上,标题相同,主要动作相同,其余动作的先后顺序相同。
  2. 做法(协调席的建议,见下面「自己加的」):页面作者在自定义记录页的头部声明了标题和动作时,标准页沿用这两样(只沿用头部的标题和动作顺序,不沿用页面的布局和区块,自定义记录页只在电脑整页生效:手机和右侧预览一律用平台标准记录页 #36150 的规则不变)。没有声明的,三处都用对象的名称字段和默认动作顺序。
  3. 如果席位判断这应当由应用包自己对齐(HotCRM 把页面头部的标题和主要动作改得和对象一致),请在本卡上说明并在 hotcrm 仓库立卡,本卡改成只加一条检查:自定义页头部的标题或主要动作和对象不一致时,发布时给出提示。

不做的

验收

  • HotCRM 线索 Mira Costa:三处标题一字不差;三处的实心主按钮是同一个动作;「⋯」里的顺序一致。
  • 「确认线索」「转化线索」在三处都能找到、能用。
  • 没有自定义页的对象(本机自建应用的客户):三处和现在一样。
  • PR 正文附三处的改动前后截图,并说明选了第 2 项还是第 3 项。

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

  • 第 2 项的做法和第 3 项的备选。维护者只同意了「这一条立卡」,没有定用哪种做法。两种做法的取舍请席位在本卡上提出来,由维护者定。

没有核对的

  • HotCRM 别的对象(客户、商机、工单)有没有同样的不一致,只看了线索。
  • 标准页的动作顺序是怎么定出来的,没有读代码;表里「其余按钮」是界面上看到的。

Reader: domain:ui 车道,做 #36150 的席位最合适(ui/packages/app-shell/src/views/recordPageSurface.ts 是它加的)。可能涉及 hotcrm 仓库。

Dedupe: 手机 电脑 记录标题 不一致、主按钮 手机 抽屉 整页 不一致(objectstack,open)→ 都是 0。相关:#36150(已关闭)、#36151(手机底部按钮条)。

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 · Bug · the same record shows a different title and primary action on the desktop full page, the side preview and the phone (a HotCRM lead: full name vs 「全名 - 公司」; 确认线索 vs 转化线索), carried in by #36150; item 2 of 「前三条立卡」; topic #35590 → p2 as set by the coordinator · size S.

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

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    派发记录 · 2026-11-22T01:58Z

    维护者 2026-11-21 对这张卡说「通知派发」。交给 os-sales 的席位 repo:objectstack#1,随后在它的信箱 #35349 里发接手请求。

    同批派发:#36201、#36204。本卡的两种做法维护者还没有定,请席位先在卡上提出取舍,等维护者定了再动手;最适合由做 #36150 的席位接。

  5. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Seat options · 2026-11-22T02:08Z · 本卡的两种做法,按代码读过并经 ceiling 档评审(objectstack d12ac84e35,hotcrm 主干 6090c8372f,hotcrm v6.5.0 = 5d4ce04f;只读代码,未在浏览器复测)。等维护者选定后再认领、动手。

    先说一个和卡片不同的发现:卡里引用的 lead_detail.page.ts:66、:92 只存在于已发布的 HotCRM 6.5.0。HotCRM 主干 11-18 已把线索、商机、工单、客户四张手写页改成填槽页(标准页),并给线索的三个动作写了排序(确认线索 -3、转化线索 -2、安排跟进 -1)。按代码读,主干上线索三处的标题和主按钮已经来自同一份对象配置,只是还没发版。

    平台上标题和主按钮已经各有唯一的声明位置:标题 = 对象的名称字段;顺序和主按钮 = 动作的 order / variant: 'primary'(containers.tsx:2478-2484、:2699),手写页头用的是同一段排序。想要不同的页头,填槽页的 header 槽位本来就在三处生效(buildDefaultPageSchema.ts:1161)。

    • 做法 3(应用对齐,平台只加发布提示):平台行为不变、不动规范。HotCRM 发新版后三处一致,并且和列表、搜索里的名称一致。平台加一条不拦发布的提示:记录页手写页头写的标题和对象名称字段不同,或动作顺序和对象上的排序相反时提醒;再补三句作者文档。改动小、风险低。
    • 做法 2(标准页沿用手写页头):三处一致,但记录页标题会和列表、搜索、关联字段里的名称(对象名称字段)对不上,多出一处新的不一致。还要给 自定义记录页只在电脑整页生效:手机和右侧预览一律用平台标准记录页 #36150 的规则开例外,page:header 的 title/actions 变成规范语义变更(Metadata-protocol semantic),已有手写页的应用在手机和预览上会升级后自己变。改动中等、风险中等。

    席位建议:做法 3。详细对比和 HotCRM 其他对象的表在席位的评审文件里,PR 正文会附上。

  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Maintainer ruling · 2026-11-22T02:14Z · #36202, same record title and primary action in three places

    The seat put the two approaches to the maintainer on a decision card, after a fable review of both (seat options comment above). The maintainer chose 「应用对齐,平台加发布提示」, the card's item 3:

    • Platform behaviour does not change, and there is no spec change (Metadata-protocol: none). 自定义记录页只在电脑整页生效:手机和右侧预览一律用平台标准记录页 #36150 stands: a hand-written full page applies only to the desktop full page. The record title stays the object's name field, and the action order and primary action stay the actions' order / variant: 'primary'.
    • The platform adds one publish-time warning, which never blocks a publish. It fires when a record page's hand-written header declares a title that differs from the object's name field, or an actions order that contradicts the actions' own order. Short author docs say where the title and the primary action are declared (the object, the actions, or a slotted page's header slot).
    • HotCRM: main already moved lead, opportunity, case and account to slotted pages and ordered the lead actions (hotcrm feat(verify): reusable checkReadCoercion driver conformance helper + cross-driver test #2671, after v6.5.0). The card's HotCRM acceptance is met by a HotCRM release that carries those changes, then a recheck of the three surfaces.
      The seat claims the platform half when a running slot frees (cap 5).
  7. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Claim: PM loop · 2026-11-22T02:20Z · #36202 platform half, per the maintainer ruling (7072788648, 「应用对齐,平台加发布提示」): one advisory authoring rule warns, without blocking, when a record page's hand-written header declares a title other than the object's name field, or an actions order whose primary action or relative order differs from what the standard page draws. Plus three sentences of author docs.
    Area: b1-R2 (epic #35590), maintainer-dispatched via mailbox 7072609933.
    Session: session_01L6bhgWrQDK4fwFgWf8ZrrR (card thread)
    Account: os-sales
    Branch: claude/project-thread-9u8dnp (one PR, Part of #36202 until the HotCRM release and recheck; the seat tracks the release)
    File surface: packages/lint/src/ new validate-record-page-header.ts + tests, one row appended to authoring-rules.ts (tier advisory, CLI and runtime, runtimeTypes ['page'], following validate-record-title.ts / validate-form-layout.ts) · content/docs/ui/pages.mdx (where an authored page applies). No packages/spec, no behaviour change.
    Container & model: S/M, card thread, model: opus, effort: high
    Clause-②: no
    Metadata-protocol: none
    Premise (PR body's top lines): holds. The title already has one declaration point (the object's name field), and so do the primary action and the order (order / variant: 'primary', the same sort on both pages). HotCRM main is slotted, and the thread runs it and reports zero warnings. The 6.5.0 lead page is the fixture that triggers both.
    Limits stated in the warning and the body: runtime visibility, permission trimming and actions other packages attach are not read, and registration order is a static estimate.
    Reviews: L1-d; the seat picks the L2 tier on the final diff (an authoring-rule face).
    Resume-from: none
    Fold-or-serial: serial; no open PR touches authoring-rules.ts or that docs section (append-only on the shared table).

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  9. 6 remaining items

  10. added
    pm:on-hold
    and removed
    pm:queue
    on Nov 23, 2026
  11. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Restart · pm:on-hold → pm:queue · 2026-12-01T12:45Z

  12. added
    pm:queue
    and removed
    pm:on-hold
    on Dec 1, 2026
  13. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CZQVVFKDKH894psuGy

    Release: claim 7072854380 (seat repo:objectstack#1, session session_01L6bhgUkbQqRUUFSiu2HGob, account os-sales) — its platform half merged as #36228, and that seat released the rest in prose on 2026-11-22T07:52:31Z (7076173441, 「4号座位下班了,交给7号」); this line only gives that release its keyword. Provenance: who — the maintainer (Bill); words — 「再开 专区 处理 area:ux area:data p1 p2」; where — this project's chat, 2026-12-02T22:22:01Z (zone ux-1202, area:ux p1/p2). Hand-over record: no branch for the remainder (verification only).

    Claim: PM loop round 1 · 2026-12-02T23:24Z
    Session: session_01Utp6CZQVVFKDKH894psuGy
    Account: os-bill
    Branch: none expected — this is the release re-check the triage restart 7311607769 names; any code change needs the zone's word first
    Worktree: hotcrm-recheck-36202 (read-only)
    Domain: domain:ui
    Seat: repo:objectstack@os-bill
    Area: ux-1202
    Ruling-ref: 7072788648 — 「应用对齐,平台加发布提示」
    File surface: reads only: objectstack-ai/hotcrm at its newest release tag (read-only clone, reason: the re-check runs the released HotCRM), docs/qa/ untouched; stop on any write and explain in the report.
    Container & model: S, mode:subagent, model: default (no path-derived mandate; a browser judgement over three surfaces → default), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: hotcrm's own record pages (lead_detail.page.ts header title + actions vs lead.object.ts display_title / action order) in objectstack-ai/hotcrm, per the ruling the app aligns | the platform half (#36228's two advisory lint warnings) is on main | every HotCRM user moving between desktop, side preview and phone
    Thread-read: 7311607769
    Premise: holds — hotcrm#2671 merged and shipped in HotCRM v6.6.0+ (triage restart 7311607769); what is owed is the browser re-check of lead Mira Costa on desktop full page, side preview and phone, closing the card if title, primary action and action order agree.
    Pre-claim lane: domain:ui — the card's label; nothing is written.
    Pre-claim deps: Restart-when (a HotCRM release containing hotcrm#2671) met per 7311607769.
    Prior rulings read: 7072788648 (above); no other ruling on the surface.
    Serial constraints cleared: none — read-only.

  14. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 2, 2026
  15. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CZQVVFKDKH894psuGy

    维护者速读

    Re-check · 2026-12-02T23:32Z · HotCRM v7.0.0 (afae64b5d1), published @objectstack/*@19.0.0-next.2, measured live in Chromium (Playwright)

    Desktop full page (1440×900) Side preview (460px drawer) Phone (390×844)
    Title Mira Costa - Atlas Construction Mira Costa - Atlas Construction Mira Costa - Atlas Construction
    Solid primary Qualify Lead none (the row holds name, star, status badge, ⋯) Qualify Lead (bottom bar)
    Other actions, in order Convert Lead, Schedule Follow-up, Edit · ⋯: Refresh, Log a Call, Log a Meeting, Schedule a Meeting, Share, Change Owner, Delete ⋯: Qualify Lead, Convert Lead, Schedule Follow-up, Log a Call, Log a Meeting, Schedule a Meeting, Edit, Share, Change Owner, Copy record ID, Open as full page, Delete Convert Lead (bottom bar) · ⋯: Refresh, Schedule Follow-up, Log a Call, Log a Meeting, Schedule a Meeting, Edit, Share, Change Owner, Delete
    • Title: agrees on all three (the 2026-11-22 table had "Mira Costa" on desktop).
    • Action order: agrees (Qualify → Convert → Schedule Follow-up → activity actions); Edit's place differs only by the platform's phone/preview rule that sends Edit to ⋯.
    • Primary: desktop and phone agree (was 确认线索 vs 转化线索 on 2026-11-22). The preview shows no solid button at 460px, also at 1920 and 2560 wide (the drawer stays 460px). Cause: 右侧预览头部:动作按钮多时记录名被挤成几个字(HotCRM 线索只剩「Mira C...」);记录名优先显示,按钮只留一个主要动作 #36201's preview row rule, ui/packages/components/src/renderers/layout/containers.tsx:2776-2786 ("Its width fold goes down to none: the name keeps its room first"), read statically.
    • HotCRM side, read at the tag: lead_detail.page.ts is gone (src/sales/pages/index.ts:11-16: the lead uses the platform default page); title from src/sales/objects/lead.object.ts:713 (display_title); order from src/sales/actions/lead.actions.ts (Qualify order: -3 :143, Convert -2 :22, Schedule Follow-up -1 :183). Per ruling 7072788648 「应用对齐,平台加发布提示」 the app has aligned; no HotCRM card is owed.

    Not closed yet: the preview's missing solid primary is the one item of this card's acceptance not met, and it comes from a separate ruled rule (#36201), so the zone asks the maintainer whether to close as is.

  16. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CZQVVFKDKH894psuGy

    Ruled · 2026-12-03T00:57Z · close as is.

    The maintainer's words: Bill chose 「按现状关卡」 on the zone ux-1202 decision card 「#36202 三端标题和动作顺序已一致,只差预览没有实心主按钮,按现状关卡吗?」 (2026-12-03T00:56:15Z, project thread of zone ux-1202), answering the re-check above (HotCRM v7.0.0: title and action order agree on desktop, side preview and phone; desktop and phone share the solid primary; the side preview folds its one primary into ⋯ by #36201's name-first rule).

    Close-out: closed completed; pm:dispatched removed. No HotCRM card owed (the app aligned per ruling 7072788648); no platform card (the preview fold is #36201's ruled behaviour).

  17. removed
    pm:dispatched
    on Dec 3, 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

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions