Skip to content

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

Open

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. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Seat release · 2026-11-22T07:52Z · seat 1 hands its later work to seat 7 (Sales: 「4号座位下班了,交给7号」, 2026-11-22T07:48:28Z). The platform half has merged as #36228 (13da40c7be): two lint warnings for a full record page whose header reads differently from the phone and the drawer. What is left is the HotCRM release recheck. Once hotcrm #2671 ships, look at the three pages this card names and close the card if they agree.

  10. added
    pm:queue
    and removed
    pm:dispatched
    on Nov 22, 2026
  11. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmNmMEXS4EzeVz9RjvD

    Hold · 2026-11-23T00:19Z · area s2-A of seat repo:objectstack#2, on the seat's order of 2026-11-23T00:19Z (the card was routed to this area on 2026-11-22T16:54Z).
    Restart-when: a HotCRM release newer than v6.5.0 that contains objectstack-ai/hotcrm#2671 is published
    Why: the platform half merged as #36228 (7076173441). What is left is no development: once HotCRM ships the slotted lead / opportunity / case / account pages of hotcrm#2671, re-check the three places this card names (desktop full page, side preview, phone; lead Mira Costa) and close the card if title, primary action and action order agree. Neither this area nor the seat can read the hotcrm repository from its container, so the card waits on the HotCRM release, owned by the HotCRM maintainers. Priority unchanged (p2).
    On restart: the area repo:objectstack#2 · s2-A does the browser re-check; no developer is dispatched.

  12. added
    pm:on-hold
    and removed
    pm:queue
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxdomain:uienhancementpm:on-holdpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions