Skip to content

默认记录页:右栏里「相关」排在「动态」之前,动态放最后 #34590

Closed

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #34571(控制台核心业务操作体验专题,维护者直派,「都是p1」)。⛔ 不是认领。
维护者 2026-11-17 原话:「我们同事反馈动态不常用,是否建议移动到子表最后」「「动态」在最后」

现状(读码,objectstack origin/main ed45eb9;界面实测在 staging os-4e4qa4)

要做的

  1. 默认页的右栏顺序改为:相关 → 附件 → 动态;窄屏单列堆叠时同样是详情 → 相关 → 附件 → 动态。
  2. 对象可以在元数据里把动态提前(销售类对象可能依赖跟进记录):给出一个对象级的开关或顺序键,默认是动态在最后。键名和形状由 domain:spec 定,本卡先落默认顺序。

不做的

  • 不恢复页签布局。
  • 不动手写记录页。

验收

  1. 一个没有手写记录页的对象,宽屏右栏自上而下是相关、附件、动态。
  2. 375 宽下动态在页面最下方。

设计图(静态示意稿,标「新」的是改动;字段和文案以实际元数据为准)

图 1 记录详情

图 1 记录详情

Reader: domain:ui 车道,改 buildDefaultPageSchema.ts;对象级覆盖需要 domain:spec 先出键。

Dedupe: repo:objectstack-ai/objectstack buildDefaultPageSchema related before activity timeline order → 17,最近的是 #26678(已关,记录页两种宽度一套页面),没有调整动态与相关先后的卡。

Activity

  1. added
    priority:p1
    domain:ui
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    补一处代码位置,来自 repo:objectstack#3 在专题卡上的读码(#34571 评论 6937003694,origin/main 144cdc2):右栏里动态与相关的先后不只写在 buildDefaultPageSchema.ts,也固定在 ui/packages/plugin-detail/src/RecordPageColumns.tsx(约 :361–424)。本卡正文只点了前一处,动手时两处都要改。我没有逐行复核这段,文件确实存在。⛔ 不是认领。

  3. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → pm:queue · 2026-11-17T03:23Z

    ⛔ Not a claim.

  4. added
    pm:queue
    on Nov 17, 2026
  5. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX

    Claim: PM loop round 1 · area o3-A · 2026-11-17T03:37Z · item 1 only
    Session: session_01WGufzg2evNa1V3zxrQq3KX
    Account: os-support-ai
    Branch: claude/issue-34590-activity-last
    Worktree: objectstack-issue-34590
    Domain: domain:ui
    Seat: repo:objectstack#3
    File surface: ui/packages/plugin-detail/src/RecordPageColumns.tsx, ui/packages/plugin-detail/src/synth/** (default page order, column/stack split, tab-row order), their tests under ui/packages/plugin-detail/src/**/__tests__/, root .changeset/
    Container & model: S/M, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier on RecordPageColumns.tsx, synth/buildDefaultPageSchema.ts, synth/recordPageColumns.ts: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6937130017
    Premise: holds (area read at origin/main f4a2d14: RecordPageColumns.tsx draws RecordTimelinePanel before RelatedCardStack in the right column; buildDefaultPageSchema.ts pushes timeline before related, attachments already close related)
    Serial constraints cleared: none — no open PR touches ui/packages/plugin-detail/**; seat-3 siblings #34361 (app-shell approvals band) and #34588 (request page) have disjoint surfaces; #34595 (later in this area) touches plugin-detail record-path/HeaderHighlight, not these files
    Scope: item 1 only (default right-column order related → attachments → activity; single-column stacking details → related → attachments → activity). ⛔ Item 2 (object-level key) is with the maintainer as a decision: the PR carries Part of #34590, not Fixes, and this card is released back to pm:queue after it lands.
    Pre-claim lane: domain:ui — every path is under ui/packages/plugin-detail/**
    Pre-claim deps: none named on the card
    Prior rulings read: timeline,related,attachments,right-column → 8 hits; ADR-0035 / 0061 / 0071 / 0090 / 0139 / 0144 named, none mentions the record page's timeline or right-column order (grep timeline|right column in each → 0); thread: none; maintainer direction quoted in the body 「「动态」在最后」. Tests that pin today's timeline-before-related order are updated as the card's intended behaviour change, each cited.

    Lease o3-A (seat post #34584); child of epic #34571.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 17, 2026
  7. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

    Ruled · 2026-11-17T03:42Z

    The maintainer, in the os-support-ai fleet project (thread "Run objectstack seat 3 console experience") at 2026-11-17T03:40Z, answered the seat's four-question pack (reviewed first by an independent fable agent at his request) with one word, verbatim: 「同意」 — i.e. every recommendation below.

    Ruled: A — no object-level key (item 2 dropped: zero pull, and #27524 Target 10 「No metadata key is added」). Item 1 lands as the whole card: activity last in the right column and in single-column stacking, and the narrow-screen Activity tab also moves last (seat's reading of 「「动态」在最后」, stated to the maintainer at 2026-11-17T03:40Z).
    Recorded: item 1 supersedes #27524 Targets 5 and 8 (maintainer rulings of 2026-10-29) by the maintainer's 2026-11-17 words 「审批页应该直接显示完整的记录;「动态」在最后」.

  8. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX

    Claim scope amended · 2026-11-17T03:43Z · claim 6937435512

    Following the maintainer's ruling on this card (「同意」, recorded on this thread): item 2 (object-level key) is dropped, and the narrow-screen Activity tab also moves last. The claim now covers the whole card: right column, single-column stacking and the tab-row order. The PR carries Fixes #34590 and names #27524 Targets 5 and 8 as superseded. Branch, file surface (ui/packages/plugin-detail/src/synth/** covers the tab-row rule), Clause-②: no and Metadata-protocol: none are unchanged.

  9. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX

    File surface extended · 2026-11-17T03:48Z · claim 6937435512

    Tests outside the claimed surface pin today's Activity-first order. The surface now also admits ASSERTION-ONLY edits to those pins, each citing #34590 and ruling 6937542160: ui/packages/app-shell/src/views/RecordDetailView.recordPageTiers-26678.test.tsx, ui/packages/app-shell/src/views/RecordDetailView.panelToggles-27052.test.tsx, examples/app-showcase/e2e/detail-shapes.spec.ts, and any other app-shell or showcase e2e pin of the right-column, stack or tab-row order (listed in the PR body). No source file outside the original surface.

  10. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX
    os-dev-report

    {
      "issue": 34590,
      "status": "done",
      "branch": "claude/issue-34590-activity-last",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34643",
      "head_sha": "338d995bed",
      "session": "session_01WGufzg2evNa1V3zxrQq3KX",
      "premise_still_valid": true,
      "summary": "Default record page (no hand-written page) now draws Activity (动态) last everywhere: right column = related panels -> attachments -> approvals -> 动态; single-column stack = details -> related -> attachments -> approvals -> 动态 (very bottom at 375px); tab row = 概览 -> panel tabs -> 动态; synthesized page:tabs strip = Details, Related, Approvals, Activity stream (tab values unchanged). The 动态 tab waits off the row with the panel tabs while their first count set is out (unless active), keeping #28469 Target 2's no-move rule; the row itself still draws from first paint. Scope followed the coordinator's final update: item 2 dropped per ruling 6937542160, PR says Fixes #34590, #27524 Targets 5 and 8 named as superseded. Surface extended by the area for assertion-only edits in 2 app-shell tests and the showcase e2e.",
      "files_changed": "16 files, +283/-113 vs origin/main: RecordPageColumns.tsx +33/-18; synth/buildDefaultPageSchema.ts +17/-14; synth/recordPageColumns.ts +6/-5 (prose); .changeset/34590-record-page-activity-last.md +17 (patch); tests: RecordPageColumns.test.tsx +114/-7, RecordPageColumns.switches-27052 +8/-6, RecordPageColumns.tabRow-27524 +10/-7, RecordTabRow.recordsFirst-28469 +11/-7, RecordTimelinePanel-27524 +3/-2 (docblock), synth buildDefaultPageSchema.test +31/-24, .strictPayload +7/-5, .bodyTables-27055 +5/-4, recordPageColumns.switches-27052 +6/-5; extended surface: app-shell RecordDetailView.recordPageTiers-26678 +9/-5, RecordDetailView.panelToggles-27052 +3/-2, examples/app-showcase/e2e/detail-shapes.spec.ts +3/-2",
      "tests": "New pins: top-level describe 'RecordPageColumns — 动态 last ... (objectstack#34590)' in RecordPageColumns.test.tsx (wide/two-column/stack x attachments on/off x approvals on/off = 12 cases + rearranged stack + stream off); placed in the component's existing harness file per AGENTS.md shared-harness rule (ruling record 6583487846) instead of a new per-card file. Old-order pins updated with #34590 citations (listed in the PR body). Runs: final head 338d995bed, all 11 changed ui test files: Test Files 11 passed (11), Tests 175 passed (175), VERDICT command-exit 0. Tree 73b01d7ed0 (pre-merge; the main merge touched no plugin-detail or RecordDetailView file): whole plugin-detail Test Files 380 passed | 1 skipped (381), Tests 3428 passed | 18 skipped; app-shell RecordDetailView* + synthesizer consumers Test Files 110 passed (110), Tests 855 passed (855). plugin-detail type-check exit 0 (338d995bed). Ablation 1 (right column back to 动态-first, ablation-replace anchor 1->0, blob e4a52d3974d5->a57dfc19a1d9): RecordPageColumns.test.tsx Tests 16 failed | 2 passed (18); restored blob e4a52d3974d5, git diff HEAD empty. Ablation 2 (timelineHeld forced false): RecordTabRow.recordsFirst-28469 Tests 2 failed | 5 passed (7); restored blob e4a52d3974d5. No dist involved (vitest aliases @object-ui/plugin-detail to src).",
      "gates": "dispatch-gates --commands at 338d995bed: 56 derived; 55 exit 0 (incl. pnpm --dir ui exec vitest run scripts/: Test Files 171 passed | 2 skipped); NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3 PREREQUISITE NOT MET (unbuilt packages/ dist outside this diff). --ran reconciliation: '56 derived famil(ies) accounted for — 55 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)'. overlap-check before every push: VERDICT clean exit 0 (4 pushes, last at 338d995bed, 0 PR heads). CI on PR #34643: in_progress at report time (not waited on). app-shell type-check not run locally (string-literal and firstElementChild->lastElementChild edits), declared to CI Type Check UI.",
      "dogfood_battery": "n/a — no ! in the PR title and Clause-②: no (no narrowing arm)",
      "mcp_calls": "3 — mcp__github__issue_read (get, get_comments x2); no MCP writes",
      "api_writes": "3 — git push (branch probe + 4 work pushes, direct); fleet-write relay pr_create -> POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /issues/34643/assignees (os-support-ai), read-back 10901 bytes identical; post-stamped issue comment on #34590 (this report)",
      "open_questions": [],
      "deviations": [
        "Commit trailer: the dispatch asked for a co-author trailer that names a model; the pre-push check:commit-card-trailers refused it (AGENTS.md: the trailer pair is model-free), so the commits carry the model-free co-author trailer plus Claude-Session.",
        "New pins went into RecordPageColumns.test.tsx as a top-level describe, not a new card-named file (AGENTS.md shared-harness rule).",
        "PR body ends with the seat's signed HTML comment as the standard order requires; os-dev.md bars HTML comments in bodies, so the relay read-back (byte-identical) is the evidence it survived."
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — comment drift outside the claimed surface: ui/packages/plugin-detail/src/RecordTabRow.tsx docblock (~:86) '动态 first, then the related panels'; ui/packages/app-shell/src/views/RecordDetailView.tsx comment (~:4996) '(动态, then the related panels)'; RecordDetailView.recordOpenWaves-13010.test.tsx comment (~:695) 'the first panel of the right column'. In the PR's Acceptance notes."
      ]
    }
  11. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX

    File surface amended · 2026-11-17T05:04Z · claim 6937435512

    Per L1-a REWORK 6939009202: the surface now also covers content/docs/ui/pages.mdx (§ "The synthesized default": right-column order and tab-row order rewritten to the new order) and three comment-only edits that this PR makes false: ui/packages/plugin-detail/src/RecordTabRow.tsx (:86 docblock), ui/packages/app-shell/src/views/RecordDetailView.tsx (:4996 comment), ui/packages/app-shell/src/views/RecordDetailView.recordOpenWaves-13010.test.tsx (~:695 comment). No code or behaviour change outside the original surface. Same branch; Clause-②: no, Metadata-protocol: none unchanged.

  12. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX
    os-dev-report

    {
      "issue": 34590,
      "status": "done",
      "round": "fix round for L1-a REWORK 6939009202 (claim amendment 6939020563)",
      "branch": "claude/issue-34590-activity-last",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34643",
      "head_sha": "ea778cb7b8",
      "previous_head": "338d995bed",
      "session": "session_01WGufzg2evNa1V3zxrQq3KX",
      "premise_still_valid": true,
      "summary": "Must-fix done: content/docs/ui/pages.mdx 'The synthesized default' now states the right column as related lists, then attachments (enable.files), then Approvals when the record has approval requests, then 动态 last (with one sentence that the narrow screen stacks the same panels so 动态 ends the page), and the tab row as Overview, one tab per related panel in the reader's order, then 动态 last. Should-fix done: the three stale comments in RecordTabRow.tsx, RecordDetailView.tsx and RecordDetailView.recordOpenWaves-13010.test.tsx (comment text only). PR body: amendment 6939020563 named in the Surface extension note, the three comment items dropped from Acceptance notes, fix-round verification block added, signed line kept last.",
      "files_changed": "4 files, +12/-10 vs 338d995bed: content/docs/ui/pages.mdx +4/-3; ui/packages/plugin-detail/src/RecordTabRow.tsx +2/-2 (docblock); ui/packages/app-shell/src/views/RecordDetailView.tsx +4/-3 (comment); ui/packages/app-shell/src/views/RecordDetailView.recordOpenWaves-13010.test.tsx +2/-2 (comment)",
      "tests": "On ea778cb7b8: pnpm --dir ui exec vitest run --maxWorkers=2 over RecordTabRow-27524, RecordTabRow.recordsFirst-28469, RecordPageColumns.tabRow-27524, RecordDetailView.recordOpenWaves-13010, RecordDetailView.recordPageTiers-26678, RecordDetailView.panelToggles-27052: Test Files 6 passed (6), Tests 64 passed (64), VERDICT command-exit 0. First attempt went red at collection only because the recreated worktree had no builds; after building the app-shell dependency closure under the lock (VERDICT command-exit 0) it passed. Two queue timeouts (exit 99) were spent waiting behind another session's whole-plugin-detail run before the slot was granted. No ablation: comment and doc changes only.",
      "gates": "dispatch-gates --commands on ea778cb7b8: 87 derived (31 new from content/docs). --ran: '87 derived famil(ies) accounted for — 85 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)'. New doc families exit 0, among them spec check:docs ('248 generated files in sync'), check:doc-authoring, check:doc-anchors, check:doc-frontmatter, check:docs-single-h1, check:docs-transcript-drift, lint check:doc-security-posture and check:doc-formula-expressions. Four of those first answered PREREQUISITE NOT MET (no dist in the fresh worktree) and were rerun after the build, exit 0. NOT MEASURED, both exit 3 prerequisite: spec check:skill-examples (client-react not built) and check:dual-build-cjs-loads. The 56 code-round families were read at 338d995bed. overlap-check before the push, run on its own: VERDICT clean exit 0 (origin/main 62d9d0d998, 0 PR heads). Push 338d995bed..ea778cb7b8. CI on ea778cb7b8 not waited on.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "1 — mcp__github__issue_read get_comments on #34643 (L1 comment); no MCP writes",
      "api_writes": "3 — git push (direct); fleet-write issue_patch PATCH /repos/objectstack-ai/objectstack/issues/34643 body (read-back 11885 bytes identical); post-stamped comment on #34590 (this report)",
      "open_questions": [],
      "deviations": [
        "The coordinator asked for the signed line to be the LAST non-empty line, so the 'Generated with Claude Code' line and the session URL now sit above it; in the first body they came after it."
      ],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  13. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX

    Delivered · 2026-11-17T06:49Z · PR #34643 merged (0d0a088); this card closed by its Fixes line. Per ruling 6937542160: 动态 / Activity is the last block on the wide record page and the last tab on the narrow layout, the default page synthesis matches, and content/docs/ui/pages.mdx states the new order. Item 2 (object key) was dropped by that ruling and is not a remainder. pm:dispatched removed.

  14. removed
    pm:dispatched
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

domain:uipriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions