Skip to content

Record page: an empty field in the synthesized 「更多详情」 group is not revealed or counted by 「显示空字段」 #36404

Closed

Description

@objectstack-fleet

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Found by the f7-record area thread while measuring #36292 live (app-crm, zh-CN, a crm_lead record); observed once, not dug into. Filed by the seat.

What happens

On an app-crm lead, the empty 备注 (a textarea field) sits in a synthesized 「更多详情」 group on the record page. In read mode that group is not drawn, even after the user presses 「显示 2 个空字段」, and the count in that button leaves the field out. The field appears only in edit mode. So a reader cannot see that the field exists, and the empty-field count is wrong by one.

To do

  1. Reproduce on main: an object whose layout leaves a textarea to the synthesized 「更多详情」 group, with the field empty.
  2. Find where the synthesized group drops out of read mode and of the empty-field count (the record detail view's section synthesis and the empty-field reveal).
  3. Make the synthesized group follow the same reveal rule as authored sections, and count its empty fields.

Acceptance

  • With the field empty, 「显示 N 个空字段」 counts it, and pressing it draws the field in read mode, in the 「更多详情」 group.
  • A pin covers the synthesized group's reveal and count.

Grade

p2 · area:ux · domain:ui. Every user reading a record whose layout leaves a field to the synthesized group sees a wrong count and cannot reveal it; there is a workaround (edit mode).


Generated by Claude Code

Activity

  1. added
    bug
    priority:p2
    pm:queue
    domain:ui
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: area, pm:queue and p2 stand as filed; rationale: area:ux · Bug · an empty field in the synthesized 「更多详情」 group is neither revealed nor counted by 「显示空字段」 · size S.

  3. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmNmMEXS4EzeVz9RjvD

    Claim: PM loop · 2026-11-22T23:25Z · area s2-A (record page and its fields) of seat repo:objectstack#2; seat order of 2026-11-22T22:29Z after the maintainer's 「派」 for area:ux p2 cards with no topic parent
    Area: s2-A
    Session: session_01ADHkmNmMEXS4EzeVz9RjvD
    Account: os-steve
    Branch: claude/issue-36404-more-details-empty-reveal
    Worktree: objectstack-issue-36404
    Domain: domain:ui
    Seat: repo:objectstack#2
    File surface: the record page's section synthesis and empty-field reveal: ui/packages/app-shell/src/views/recordDetailSections.ts, ui/packages/app-shell/src/views/RecordDetailView.tsx (only where the synthesized 「更多详情」 group is built or counted), ui/packages/plugin-detail/src/** (the empty-field fold, count and reveal), their tests, .changeset/, and the package README / content/docs/frontend/ sentence the fix makes false. No packages/spec/**. (Stop on breach; explain in the report.)
    Container & model: S, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the console's record page (objectstack, ui/packages/app-shell + ui/packages/plugin-detail) | edit mode shows the field | every reader of a record whose layout leaves an empty field to the synthesized group, today
    Thread-read: 7078041585
    Premise: to be measured by the dev first — the card's reading was observed once on app-crm crm_lead (an empty textarea 备注 in the synthesized 「更多详情」 group, not drawn and not counted in read mode); the dev reproduces it on main ad50d611 before writing, and stops and reports if it does not reproduce.
    Pre-claim lane: domain:ui — ui/packages/app-shell/**, ui/packages/plugin-detail/**.
    Pre-claim deps: no Blocked-by:. PR #36517 (buildDefaultPageSchema.ts) merged 2026-11-22T22:46Z; branch from current main. Open PR #36543 touches no file named above (its file list read at this claim). This area's other in-flight dev (#36488) works in RecordAttachmentsPanel.tsx. overlap-check runs before every push.
    Prior rulings read: #36147 ruling 7066516044 item 4 (one 「show N empty fields」 row at the end of the field area, collapsed by default, the open choice remembered per object) governs the reveal this card extends to the synthesized group.
    Serial constraints cleared: #36517 merged; #36543 and #36488 named above.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmNmMEXS4EzeVz9RjvD
    os-dev-report

    {
      "issue": 36404,
      "status": "done",
      "branch": "claude/issue-36404-more-details-empty-reveal",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36590",
      "session": "session_01ADHkmNmMEXS4EzeVz9RjvD",
      "premise_still_valid": true,
      "head": "deaa867d",
      "tests": "pin recordDetailSections.moreDetailsEmptyReveal-36404.test.tsx: 2/2 passed at head; on ad50d611 source 1 failed (expected '1' to be '2'); targeted 14 files/118 tests passed; locked run plugin-detail/src + RecordDetailView* 512 passed, 1 skipped files, 4690 passed tests; app-shell type-check VERDICT command-exit 0",
      "gates": "dispatch-gates --commands: 38 run, 38 exit 0; --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN (/mnt/project-files/objectstack-seat2/36404-gates-ran.txt); CI check-runs in_progress at report time",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches -> PR #36590, draft, assignee os-steve); post-stamped issue comment (POST /repos/objectstack-ai/objectstack/issues/36404/comments, os-dev-report). git push x3 of the branch (not REST).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: named producer — deriveRecordDetailSections (the default record page's section producer) writes each declared field group as a group reference with no hideEmpty, so record:details resolves it to true · evidence: throwaway component run at deaa867d on the same RecordPageColumns harness, object with fieldGroups basic and extra, extra holding one empty text field: extra not drawn, no Show N empty fields row at all (count absent), so the empty field is neither counted nor revealable in read mode — the same symptom as this card, for an all-empty declared group; not fixed here because writing hideEmpty:false on group references changes what an object's declared groups do on the default page, a decision outside this card · dedupe words: all-empty field group default record page, hideEmpty group reference, Show N empty fields count, empty group hidden read mode"
      ]
    }
  6. removed
    pm:dispatched
    on Nov 23, 2026
  7. added a commit that references this issue on Nov 23, 2026
    f4c2d0b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions