Skip to content

图表视图的视图栏没跟上列表左对齐:左右边距 sm:px-4、图标 22,与列表视图栏(#35663 后 sm:pl-2.5 / 图标 16)不一致;顺带清掉闲置的 inSetup 依赖 #35729

Closed

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

立卡门类别:② 施工中发现的范围外事项(#35663 / PR #35706 的 L1 记录 7029715490 第 R2 条)。⛔ 不是认领;车道与定级由分诊定。

现状(PR #35706 头 829219f7 读源码,未在公开入口实测)

要做的

  • 图表视图栏复用列表视图栏的同一份间距(TOOLBAR_ROW 或同值),宽屏图标距左 16、右缘 16;375 宽不变。
  • 从 memo 依赖里删掉闲置的 inSetup,若 inSetup 不再有其他读者,一并去掉它的取值。

验收

Reader: area:ux(列表页重做专题 #35547 一线)。

Dedupe: chart view bar left edge(objectstack,open)→ 只有 #35663 本身。

Activity

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim: area ux-4 round 4 · epic #35547 (list page, maintainer-named priority); follow-up of #35663 (L1-a 7029715490 R2), seat routed it to ux-4 as builder of #35663 · 2026-11-20T04:33Z
    Area: ux-4
    Session: session_01Utp6Cb8qTxAVaE2QKwquQU
    Account: os-bill
    Branch: pending — mode:thread: the card thread pushes only the branch the platform assigns it; the area posts a Branch: amendment here when the thread opens
    Worktree: the card thread's own checkout
    Domain: domain:ui
    Seat: repo:objectstack#5
    File surface: ui/packages/app-shell/src/views/objectViewListRenderer.tsx (the chartPage view bar ~373 and the idle inSetup ~77/~114/~1145 only), ui/packages/plugin-list/src/listToolbarRow.ts (read or export only, if the chart bar reuses its padding), the #35663 geometry spec under ui/e2e/ (one chart case), unit tests for the two changes, root .changeset/. ⛔ packages/spec/**, server, REST. Stop on any other breach and report.
    Container & model: S, mode:thread, model: default, effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the chart view's view bar starts its icon at 22 px from the left while the list view's starts at 16, so switching views jumps the left edge | the chart branch draws its own bar copy (sm:px-4) instead of the list toolbar's padding | every user who opens a chart view
    Thread-read: none
    Premise: holds at origin/main 598a34d — objectViewListRenderer.tsx:373 border-b px-2 py-1.5 sm:h-10 sm:px-4 sm:py-0; inSetup read only at ~1145 (memo deps); TOOLBAR_ROW exported from listToolbarRow.ts:39.
    Pre-claim lane: ui/packages/app-shell/**, ui/packages/plugin-list/** → domain:ui, area ux-4.
    Pre-claim deps: none. Open-branch overlap: ux-3's claude/issue-35727-sourced-list-one-condition-tag (ListView.tsx, ObjectDataPage.tsx, ListConditionControls.tsx) and ux-1's claude/issue-35595-record-tabs-rail (RecordDetailView, containers, plugin-detail) touch neither file → no overlap; the second to land merges main.
    Prior rulings read: chart view,view bar,insetup,toolbar_row,chartpage → 0 hits; none; thread: none; repo: objectstack-ai/objectstack.
    Scope: card items — chart view bar uses the list view bar's spacing (icon at 16, right edge 16 at 1280; 375 unchanged); drop the idle inSetup from the memo deps and its derivation if nothing else reads it; one geometry pin. Fixes #35729.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 20, 2026
  4. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Release: area ux-4 clocks out · 2026-11-20T04:35Z · claim 7030508699 withdrawn by the seat: a p2 follow-up outside the named epic cards waits under the maintainer's p1-only rule.
    Landed: nothing; no card thread opened, no branch, no code.
    Remaining: the whole card. Claim 7030508699's premise and overlap readings (at origin/main 598a34d) and the dispatch order at /mnt/project-files/objectstack-seat5/area-ux/ux-4/chart/dispatch-35729.md can be reused by the next owner.
    Back to pm:queue, unassigned.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim: area ux-4 round 5 (re-claim after release 7030537718) · epic #35547; follow-up of #35663 (L1-a 7029715490 R2). The maintainer approved it as a p2 exception to the p1-only rule (2026-11-20 09:37Z, 「都可以派」), and the seat routed it to ux-4 · 2026-11-20T09:38Z
    Area: ux-4
    Session: session_01Utp6Cb8qTxAVaE2QKwquQU
    Account: os-bill
    Branch: pending — mode:thread: the card thread pushes only the branch the platform assigns it; the area posts a Branch: amendment here when the thread opens
    Worktree: the card thread's own checkout
    Domain: domain:ui
    Seat: repo:objectstack#5
    File surface: ui/packages/app-shell/src/views/objectViewListRenderer.tsx (the chartPage view bar ~373 and the idle inSetup ~77/~114/~1145 only), ui/packages/plugin-list/src/listToolbarRow.ts (read or export only, if the chart bar reuses its padding), the #35663 geometry spec under ui/e2e/ (one chart case), unit tests for the two changes, root .changeset/. ⛔ packages/spec/**, server, REST. Stop on any other breach and report.
    Container & model: S, mode:thread, model: default, effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the chart view's view bar starts its icon at 22 px from the left while the list view's starts at 16, so switching views jumps the left edge | the chart branch draws its own bar copy (sm:px-4) instead of the list toolbar's padding | every user who opens a chart view
    Thread-read: none
    Premise: holds at origin/main 7878cf0 — objectViewListRenderer.tsx:373 border-b px-2 py-1.5 sm:h-10 sm:px-4 sm:py-0; inSetup read only at ~1145 (memo deps); TOOLBAR_ROW exported from listToolbarRow.ts:39.
    Pre-claim lane: ui/packages/app-shell/**, ui/packages/plugin-list/** → domain:ui, area ux-4.
    Pre-claim deps: none. Open-branch overlap: ux-1's claude/issue-35783-related-tab-arrangement (plugin-detail, i18n, records-forms checklist) and claude/issue-35455-console-bundle-chunks (no diff yet), and ux-2's claude/issue-35726-batch-op-index (rest batch-routes, RelatedList) and claude/issue-35742-overview-body-table-order (RelatedList, buildDefaultPageSchema) touch neither file → no overlap; the second to land merges main. Sibling claim #35660 (spec text) shares no file.
    Prior rulings read: chart view,view bar,insetup,toolbar_row,chartpage → 0 hits; none; thread: none; repo: objectstack-ai/objectstack.
    Scope: card items — chart view bar uses the list view bar's spacing (icon at 16, right edge 16 at 1280; 375 unchanged); drop the idle inSetup from the memo deps and its derivation if nothing else reads it; one geometry pin. Fixes #35729.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim amendment to comment 7036143394 (area ux-4) · 2026-11-20T09:41Z
    Branch: claude/project-thread-9bm9e9 (mode:thread: the platform-assigned branch of the card thread; replaces the claim's pending line)
    Thread session: session_01Utp6CasQ2sQyph6xUMdArZ
    Worktree: the card thread's own checkout

  9. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Claim amendment 2 to comment 7036143394 (area ux-4) · 2026-11-20T09:43Z
    File surface (adds): ui/packages/app-shell/src/views/ObjectView.tsx, limited to the inSetup derivation ~201-204 (with its stale #12606 row-numbers comment) and its pass to the list renderer ~1047. It is the only caller of the prop being removed; its import goes too if nothing else reads it. No behaviour change.

  10. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
    os-dev-report

    Reported 2026-11-20T10:35Z · PR #35826 · head e47a7987

    {
      "issue": 35729,
      "status": "done",
      "branch": "claude/project-thread-9bm9e9",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35826",
      "session": "session_01Utp6Cb8qTxAVaE2QKwquQU",
      "premise_still_valid": true,
      "summary": "The chart view's view bar (objectViewListRenderer.tsx chartPage) takes the list view bar's padding values (TOOLBAR_ROW: sm:pl-2.5 sm:pr-2, was sm:px-4); below sm both keep px-2. The idle inSetup input is removed end to end under claim amendment 2 (7036258221): memo dep, destructured prop, its type and the type-only isSetupAppSegment import in the renderer; the derivation, its stale objectui#12606 comment, its pass and the isSetupAppSegment import in ObjectView.tsx. No reader remains in either file. TOOLBAR_ROW is not imported: plugin-list's index does not export it, and exporting it was outside the surface. Diff: 4 files, +58/-15.",
      "tests": "ui/e2e/list-left-edge-35663.spec.ts gains a chart view bar whose class is read from objectViewListRenderer.tsx at run time. A1 on main 65fddc84 (e2e harness, x from the main area's left): 1280 list view icon 16, chart view icon 22, bar right padding list 8 / chart 16; 375 list 14 / chart 14. This head: 1280 16 / 16, padding 8 / 8; 375 14 / 14. Ablation (chart bar class back to sm:px-4): the 1280 wide and narrow cases go red ('chart view-bar icon starts at 22, not 16'); the scroll and 375 cases stay green. Restored, 4/4 pass. A2: inSetup was read only at objectViewListRenderer.tsx:1145 (memo deps), destructured :77, typed :114; derived at ObjectView.tsx:204, passed at :1047; no other reader.",
      "gates": "Local: dispatch-gates --commands derived 38 commands, all exit 0. pnpm --filter @object-ui/app-shell type-check exit 0. vitest packages/app-shell/src/views/ObjectView.* 93 files / 826 tests passed. overlap-check --branch=HEAD clean (#35747 shares the renderer, merges cleanly). CI on e47a7987: 52 check-runs, 39 success, 13 skipped, 0 failed (Build & E2E UI, Test UI 16/16, Lint & Repo Gates, TypeScript Type Check, Check Changeset all success).",
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3: git push; POST dispatches for relay pr_create (#35826, assignee os-bill); this os-dev-report comment through post-stamped",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · platform checklist records-forms.list-view-capabilities steps[11] names the list page's left edge only; a chart-view clause there was outside the surface"]
    }

    Screenshots: objectstack-seat5/area-ux/ux-4/chart/card-35729/ (project files).


    Generated by Claude Code

  11. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

    Close-out · 2026-11-20T11:07Z: PR #35826 merged as 0189004 (L1-a ACCEPT 7037439238; landing 7037459989); the card closed on merge. At 1280 the chart view bar now matches the list bar: icon 22 → 16, right padding 16 → 8. 375 is unchanged. Pinned in ui/e2e/list-left-edge-35663.spec.ts. inSetup is removed end to end, which closes L1-a's #35706 nit. Deviation: the padding values are copied, because plugin-list's index does not export TOOLBAR_ROW. pm:dispatched removed.

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

Metadata

Metadata

Assignees

Labels

area:uxdomain:uipriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions