Skip to content

审批请求页:标题是流程名而不是业务记录名,记录名被截断,没有入口打开原记录 #35415

Closed

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #34571(控制台核心业务操作体验专题,维护者直派)。⛔ 不是认领。
维护者 2026-11-19 原话:「用浏览器看一下右侧最新的界面,重新测试核心界面,提出界面优化和用户体验改进建议,和我沟通」;看过意见后:「你提的意见都同意,立卡」。

现状(界面实测:托管环境 os-4e4qa4.objectos.app(预览版,控制台资源 index-BLjIlyDm.js,比 origin/main 旧),zh-CN,1280×800,2026-11-19)

  • 审批请求页的大标题是「采购申请审批」(流程名),页头第一格「流程」又写了一遍「采购申请审批」。
  • 审批人真正要看的业务记录「验收申请 T-002(cloud#2549 邮件链接)」只在「提交时的内容」卡里,并且被截成「验收申请 T-002(cloud#2549 邮件…」,右边还有大片空白。
  • 页面上没有打开原记录的入口(审批中心列表里那一行有,进了详情反而没有)。
  • 「通过」是浅灰蓝底,「驳回/拒绝」是饱和红底:主操作比否决操作弱,看起来像禁用。
  • 同一页两种时间写法:页头「2026/11/10 下午8:25」,审批动态「2026/11/5 10:03:17」。

要做的

  1. 大标题用业务记录名,副标题写流程名;记录名可点击打开原记录。
  2. 「提交时的内容」里的文本字段按可用宽度显示,不在有空位时截断。
  3. 「通过」用主按钮样式;「驳回」用描边的危险样式。
  4. 本页时间统一成一种写法。

不做的

  • 不改审批进度与审批动态两张卡的结构。

验收

  • 上述请求页标题为「验收申请 T-002(cloud#2549 邮件链接)」,点它打开采购申请记录;「通过」是页面上最醒目的按钮。

Reader: domain:ui 车道,审批请求记录页(sys_approval_request)。

Dedupe: 审批请求 标题 记录名(objectstack,open)→ 0。

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue; rationale: area:ux · Bug (a UX problem from the coordinator's walkthrough). The grade the coordinator set stands, under the UX rule (p1 only where every user hits it every time). Issue type set to Bug.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Claim: card thread · 2026-11-21T09:48Z · b1-CX thread 4, running in parallel with thread 5 (#35425, claim 7060793714; different files).
    Area: b1-CX
    Session: session_01L6bhgW5RH2VUXjRj9dZYH2 (card thread, dev-thread rule)
    Account: os-sales
    Branch: claude/project-thread-lnqibe
    Seat: repo:objectstack#1
    Domain: domain:ui
    File surface: ui/packages/components/src/.../record-header-bar-context.ts, containers.tsx; ui/packages/app-shell/src/.../RecordDetailView.tsx, DeclaredActionsBar.tsx, approval-progress/ApprovalActionTimeline.tsx and their tests; sys-approval-request.page.ts in plugin-approvals (comments only); a changeset.
    Container & model: M, own card thread, model: opus, effort: high
    Clause-②: yes (expected; widening: the exported RecordHeaderState in @object-ui/components gains an optional title). The seat runs the declaration L2 at TIER_DEFAULT.
    Metadata-protocol: none
    Premise (thread, main fe753492, /mnt/project-files/build-seat1/35415/premise-read.md): holds in part. The title is the process name and the page shows two time formats; the truncation was already fixed by #34588 (screenshot only); an "open record" link exists on the submitted-content card, but the title does not open the record; Approve is already the solid primary button, Reject is still solid red.
    Basis: card #35415 (epic #34571).
    Scope, the seat's reading:

    1. The page header title is the business record's name (record_title, which the service already returns) and opens the record. When no record title can be read, the title stays the process name, so a bare record id never shows (the guarantee fix(plugin-approvals): an approval request is titled by its flow's label, never the raw record id or the flow's machine name #24708 gave).
    2. No separate subtitle: the highlight strip's "Process" cell already shows the process name once, which answers the card's complaint that it appeared twice. The card's item 1 asks for a subtitle; the seat reads its intent (the process name visible, once) as met and the PR body says so.
    3. Reject uses the outlined danger style; Approve stays the solid primary button.
    4. The approval timeline uses the header's compact time format, so the page has one format.
    5. Not touched: the object's nameField and list titles.
      Resume-from: none
      Fold-or-serial: serial; no fold. feat(record-page): two-row record header — navigation over the record, up to three actions #35983 (two-row record header, seat 5) also edits containers.tsx and RecordDetailView.tsx; this PR is written against main and merges main after feat(record-page): two-row record header — navigation over the record, up to three actions #35983 lands. overlap-check.mjs before each push. L1 at L1-a. The PR carries Fixes #35415. The branch is the card thread's harness push branch, a measured platform exception to claude/issue-<n>-<slug>.
  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 21, 2026
  6. added a commit that references this issue on Nov 22, 2026
    cda16d4
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

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions