Skip to content

App Studio 改版(3-4):Studio 菜单去掉「数据源」一行——数据源只在「设置 › 集成」里管 #37920

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibzywxH36FPH6ayWMUe

Filing gate: ③ · Source: topic #37424 (the maintainer's decision 12, "Datasources are managed only in Setup → Integrations … the Studio menu drops the datasource entry (task 6)", approved 「同意」), written into ADR-0084 on main (#amendment-2026-11-26-moves: "The menu draws no datasource row (decision 12)"). Phase 3 left it undone: PR #37602 deferred it to #37564, whose card did not carry it. Sub-issue of #37424 (phase 3).
Grade: area:ux · Feature · p2 · evidence: read on origin/main c3da753 — ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.ts:104 still holds { type: 'datasource', tier: 'advanced' }, and studioMenuModel.ts:178 still routes the row to Setup's Datasources page.
Reader: seat repo:objectstack#3, a card thread (Tier H: the PR edits docs/adr/**); routed by zone o3-studio.
Dedupe: open and closed cards searched for "datasource" under #37424: #37564 and #37565 (closed, neither carried the row), none open.

维护者速读

What

Acceptance

  • The Studio menu draws no datasource row (tested); studioMenuPlacement.test.ts passes against the ADR table as this PR leaves it.
  • Existing menu tests are re-pointed, not weakened. A screenshot of the 平台 group on the PR.

Activity

  1. added
    enhancement
    priority:p2
    pm:blocked
    on Nov 27, 2026
  2. added
    pm:queue
    and removed
    pm:blocked
    on Nov 27, 2026
  3. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim: PM loop round 1
    Session: session_01L9qibyUSf2nKJWW6qBemSU
    Thread session: session_01L9qibwtMGwDL8KdXqqaLLT
    Account: os-tesla
    Branch: claude/project-thread-f9vtm5
    Worktree: objectstack-issue-37920
    Domain: ui
    Area: o3-studio (topic #37424; Tier H card kept with the seat)
    Seat: repo:objectstack#3
    File surface: ui/packages/app-shell/src/views/studio-design/** (studioMenuPlacement.ts/.test.ts, studioMenuModel.ts/.test.ts, StudioPaletteGroups.surfaceScope-36900.test.tsx, studioPaletteModel.ts, StudioPaletteGroups.tsx, StudioMenu.tsx) and docs/adr/0084-application-builder-information-architecture.md (the tier table's datasource row and its note) (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: claude-fable-5-2 (Model tier — MANDATORY: claude-fable-5-2 — docs/adr/0084-application-builder-information-architecture.md ⇢ 'docs/adr/**'), effort: high
    Tier note: the thread serves the default tier and builds the code half; the ADR half is drafted in an isolated claude-fable-5-2 subagent at effort xhigh, passed explicitly.
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the Studio menu draws no datasource row (decision 12 of #37424; data sources are managed in Setup only); ADR-0084's datasource tier row becomes a no-row entry like field in the same PR, as #37564 did; the 全部类型 directory keeps listing datasource (PR #37602); Tier H, lands by the maintainer
    Thread-read: none
    Premise: studioMenuPlacement.ts:104 and studioMenuModel.ts:178 still carry the row at origin/main 73d5e34; studioMenuPlacement.test.ts ties each table row to the placement, so code and ADR row land together
    Serial constraints cleared: overlap-check.mjs runs on the thread's first push (branch not yet pushed); #37685 edits a different ADR-0084 section (homes table); disjoint from #37918 (ResourceListPage)

    Studio own cap (Tesla 「开区,studio 并发5」 2026-11-27T11:12Z).

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 27, 2026
  5. added
    domain:ui
    on Nov 27, 2026
  6. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim: PM loop round 1 (amendment: ADR surface carries the stale notes the #37927 review found)
    Session: session_01L9qibyUSf2nKJWW6qBemSU
    Thread session: session_01L9qibwtMGwDL8KdXqqaLLT
    Account: os-tesla
    Branch: claude/project-thread-f9vtm5
    Worktree: objectstack-issue-37920
    Domain: ui
    Area: o3-studio (topic #37424; Tier H card kept with the seat)
    Seat: repo:objectstack#3
    File surface: ui/packages/app-shell/src/views/studio-design/** (studioMenuPlacement.ts/.test.ts, studioMenuModel.ts/.test.ts, StudioPaletteGroups.surfaceScope-36900.test.tsx, studioPaletteModel.ts, StudioPaletteGroups.tsx, StudioMenu.tsx) and docs/adr/0084-application-builder-information-architecture.md (the type → group table's datasource row, and the dated notes under that table: the stale "33 entries" and "AI 4" counts, true at a33691e567, now read as the table stands, and a dated mark for the knowledge_source row added by #37676, whose cited item 6 names only ai_context) (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: claude-fable-5-2 (Model tier — MANDATORY: claude-fable-5-2 — docs/adr/0084-application-builder-information-architecture.md ⇢ 'docs/adr/**'), effort: high
    Tier note: the thread serves the default tier and builds the code half; the ADR half is drafted in an isolated claude-fable-5-2 subagent at effort xhigh, passed explicitly.
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the Studio menu draws no datasource row (decision 12 of #37424; data sources are managed in Setup only); ADR-0084's datasource tier row becomes a no-row entry like field in the same PR, as #37564 did; the 全部类型 directory keeps listing datasource (PR #37602); Tier H, lands by the maintainer
    Thread-read: 7217345774
    Premise: studioMenuPlacement.ts:104 and studioMenuModel.ts:178 still carry the row at origin/main 73d5e34; studioMenuPlacement.test.ts ties each table row to the placement, so code and ADR row land together
    Serial constraints cleared: overlap-check.mjs runs on the thread's first push (branch not yet pushed); #37685 edits a different ADR-0084 section (homes table); disjoint from #37918 (ResourceListPage)

    Amendment source: PR #37927 contract review PASS 7217478459, flag 3, and L1 ACCEPT 7217675946 (carrier named: this card, which must touch that table and its notes anyway). No other ADR text.

    Studio own cap (Tesla 「开区,studio 并发5」 2026-11-27T11:12Z).

  7. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim: PM loop round 1 (amendment 2: 7217707569 withdrawn, the stale notes are #37740's)
    Session: session_01L9qibyUSf2nKJWW6qBemSU
    Thread session: session_01L9qibwtMGwDL8KdXqqaLLT
    Account: os-tesla
    Branch: claude/project-thread-f9vtm5
    Worktree: objectstack-issue-37920
    Domain: ui
    Area: o3-studio (topic #37424; Tier H card kept with the seat)
    Seat: repo:objectstack#3
    File surface: ui/packages/app-shell/src/views/studio-design/** (studioMenuPlacement.ts/.test.ts, studioMenuModel.ts/.test.ts, StudioPaletteGroups.surfaceScope-36900.test.tsx, studioPaletteModel.ts, StudioPaletteGroups.tsx, StudioMenu.tsx) and docs/adr/0084-application-builder-information-architecture.md (the tier table's datasource row and its note) (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: claude-fable-5-2 (Model tier — MANDATORY: claude-fable-5-2 — docs/adr/0084-application-builder-information-architecture.md ⇢ 'docs/adr/**'), effort: high
    Tier note: the thread serves the default tier and builds the code half; the ADR half is drafted in an isolated claude-fable-5-2 subagent at effort xhigh, passed explicitly.
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the Studio menu draws no datasource row (decision 12 of #37424; data sources are managed in Setup only); ADR-0084's datasource tier row becomes a no-row entry like field in the same PR, as #37564 did; the 全部类型 directory keeps listing datasource (PR #37602); Tier H, lands by the maintainer
    Thread-read: 7217707569
    Premise: studioMenuPlacement.ts:104 and studioMenuModel.ts:178 still carry the row at origin/main 73d5e34; studioMenuPlacement.test.ts ties each table row to the placement, so code and ADR row land together
    Serial constraints cleared: overlap-check.mjs runs on the thread's first push (branch not yet pushed); #37685 edits a different ADR-0084 section (homes table); disjoint from #37918 (ResourceListPage)

    Amendment 2: the widening in 7217707569 is withdrawn. The stale "33 entries" / "AI 4" counts, the fold sentence and the unmarked knowledge_source row are already carded as #37740 (area:ai, repo:objectstack#5's filing, Blocked-by #37304), so this card leaves them alone and keeps the surface of the first claim: the datasource row and a count note only if one names the 平台 Platform rows. Whichever of the two lands second rebases.

    Studio own cap (Tesla 「开区,studio 并发5」 2026-11-27T11:12Z).

  8. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibwtMGwDL8KdXqqaLLT
    os-dev-report

    {
      "issue": 37920,
      "status": "done",
      "branch": "claude/project-thread-f9vtm5",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37945",
      "head": "a45fff40",
      "session": "session_01L9qibwtMGwDL8KdXqqaLLT",
      "premise_still_valid": true,
      "summary": "The Studio menu draws no datasource row in any scope: the placement row is removed and STUDIO_MENU_NO_ROW_TYPES = {datasource} is skipped by buildStudioMenu (removing the row alone would draw it in the advanced fold, since an unplaced type is never invisible). The typeEntryPath datasource branch and the menu's datasource icon are retired; the palette, which lists the menu's entries, follows; STUDIO_PALETTE_ITEMLESS_TYPES stays (the palette's item reads still run over the directory-scoped types). ADR-0084's datasource row is a no-row entry like field's, external_catalog is 6th, one dated note under the table; the ADR half was drafted by an isolated claude-fable-5-2 subagent at effort xhigh. Card question (a): the all-types directory still lists datasource, its tile opens Setup's Datasources page; consistent with ADR-0084, reported on the PR.",
      "tests": "from ui/, under os-verify-lock: npx vitest run packages/app-shell/src/views/studio-design/ -> Test Files 280 passed (280), Tests 2322 passed (2322), VERDICT command-exit 0; studioMenuPlacement.test.ts alone on the final ADR text -> 19/19, VERDICT command-exit 0. Browser: showcase booted from this branch (holds datasources default and showcase_external), the advanced fold's Platform group lists Documentation, Documentation Book, Email Template, API Endpoint, Diagnostics and no Datasources row. Ablation: n/a, the change is a removal pinned by new absence tests and by the ADR pin, which reds against main's ADR.",
      "gates": "48 derived families run at a45fff40, every one exit 0, dispatch-gates --ran: 48 run, 0 NOT-MEASURED (a DERIVED zero); overlap-check VERDICT clean exit 0 (origin/main f926dfab, PR 37927). CI check-runs: in_progress at report time.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "3 — github issue_read x3 (reads only)",
      "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST issues/37945/assignees), this report comment",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted, not filed — ADR-0084 line ~463 'datasource's and form's still wait for their changes' and the 2026-11-25 silent item 1's order naming datasource become dated history; the card says no other ADR text", "carrier: #37740 · the 2026-11-25 note's 33 entries / AI 4 and the knowledge_source row's item-6 citation (seat amendment 2 withdrew them from this card)"]
    }
  9. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibwsYQqi3TBx2SFE978

    ACCEPT → PR #37945 comment 7218781367 (L1-b, head a45fff4; contract review PASS 7218483010). Tier H: the seat hands it off.

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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions