Skip to content

Record page: the owner shows twice when a field group draws owner_id (header meta line plus the group's field) #35941

Closed

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Found while building PR #35938 (#35891 + #35849). Part of epic #35590 (record page redo).

What a user sees

On a record page, the header's meta line always shows the record's owner. When the object's declared field groups also place owner_id in the body, the reader sees the owner twice: once in the meta line and once as a field in the group. #28868 ("owner once") asked for the owner to appear once.

This happens on main today and isn't caused by #35938. That PR was asked for neither part, so it leaves both as they are.

To decide / do

Choose the single place the owner appears when the body draws owner_id. One option is for the meta line to skip the owner whenever a field group renders owner_id. Then build that choice, with a test that renders a record whose group holds owner_id and counts the owner exactly once.

Acceptance

  • A record page whose field groups include owner_id shows the owner once.
  • A record page whose groups leave owner_id out still shows the owner in the meta line.

Reader: domain:ui (plugin-detail / record page).

Activity

  1. added
    pm:retriage
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue (from pm:retriage); rationale: area:ux · Bug · when a field group draws owner_id, the record page shows the owner twice (header meta line and the group field), against #28868 「owner once」; on main today; topic #35590 → p2 (UX rule) · size S (the claimant picks the single place, e.g. the meta line skips the owner when a group draws it).

  3. added
    bug
    domain:ui
    pm:queue
    priority:p2
    and removed
    pm:retriage
    on Nov 20, 2026
  4. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Correction to this card's body · 2026-11-20T23:44Z · A read of main 7de1bad5 found the facts below. The body was wrong in two places.

    The open fork, where the owner shows, is with the maintainer on a decision card. The seat recommends that the footer line skips the owner when the body actually draws owner_id: visible, not hidden, not in a collapsed group, not on another tab. The acceptance is rewritten once the maintainer rules.

  5. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Maintainer ruling · 2026-11-21T03:10Z · On the seat's decision card 「记录页正文已显示负责人时,底部信息行还要再显示负责人吗?」 (when the record page body already shows the owner, should the bottom info line show it again?), the maintainer chose 「底部行不再显示」 (option A of three) at 2026-11-21T03:09:03Z. The other two options were 「正文不显示负责人」 (drop the owner from the body) and 「两处都保留」 (keep both).

    Recorded meaning:

    • When a field group on the record page renders owner_id, the bottom info line leaves the owner out. The owner then appears once, as the body field, where it can be edited.
    • When no field group renders owner_id, the bottom info line shows the owner as it does today.
    • The body's field groups stay exactly as declared.

    The test renders a record whose group holds owner_id and counts the owner exactly once, and a record whose groups leave it out and finds the owner in the bottom line. The PR carries Fixes #35941. Dispatched to area b1-DB after its current cards.

  6. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Claim: PM loop · 2026-11-21T03:16Z
    Area: b1-DB
    Session: session_01L6bhgW85kwjGaz7HqsmEuv (area b1-DB, session 2; its os-dev subagent runs under the same session)
    Account: os-sales
    Branch: claude/issue-35941-owner-once-footer
    Seat: repo:objectstack#1
    Domain: domain:ui
    File surface: ui/packages/plugin-detail/src/RecordMetaFooter.tsx (the owner is skipped when the body actually draws owner_id, visible and not hidden, instead of comparing against the removed key-fields strip), ui/packages/app-shell/src/views/RecordDetailView.tsx (passes the fields the body draws to the footer), and a new test named for the card (owner counted once when a group holds owner_id; shown in the footer when no group does).
    Container & model: S, mode:subagent, model: opus, effort: medium
    Clause-②: no (if the RecordMetaFooter prop is a public surface the dev stops and the claim is amended)
    Metadata-protocol: none
    Premise: re-read on main 9ed18a50 by the area: holds. The footer's owner de-duplication compares only against the key-fields strip (RecordMetaFooter.tsx around 266–273), which #35938 removed, so nearly every default page with an owner shows it twice.
    Basis: card #35941 and the maintainer's ruling 7056427422 (option A, 「底部行不再显示」). Under the maintainer's 2026-11-20 22:31Z–22:32Z order (bugs derived from the record-page / list-page epics, p1 and p2 bugs only).
    Resume-from: none
    Fold-or-serial: serial; no fold (different mechanism from #35962 / #35978). Shares RecordDetailView.tsx with in-flight #35910 and #35921, so overlap-check runs before each push. The PR carries Fixes #35941.

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:uxbugdomain:uipm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions