Skip to content

Studio form editor follow-ups: menu icon, stale comments, clash message #38621

Description

@objectstack-fleet

repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz

Follow-ups from PR #38619 (#37087 PR 2, form editor in Studio's menu; os-dev report 7257975783). None is on the card's acceptance list, so PR #38619 lands without them.

Items

  1. The form row of Studio's menu icon table. ui/packages/app-shell/src/views/studio-design/StudioMenu.tsx: STUDIO_MENU_TYPE_ICONS has no form row, so the new menu row draws the UI group's default icon. Add the row.
  2. Stale comments. ui/packages/app-shell/src/services/builtinComponents.tsx still says form stays out of Studio's menu; ui/packages/plugin-form/src/submitRedirect.ts (around line 74) still names the deleted PublicFormsPage as an authoring door; ui/apps/console/src/components/submitRedirect.ts (docblock, around lines 30-38) says the Public Forms dialog calls checkSubmitRedirectUrl at save time, though with the page gone its only caller is resolveSubmitRedirect in the same file.
  3. The form designer's address-clash message names the other form by its internal name. Editing a form to an address another form holds reads 'The form "showcase_inquiry.feedback" already uses this address. Choose a different one.' Setup's refusal (since feat(console)!: forms are listed in Studio's menu, and the Developer Public Forms page is retired #38619) names the holder by its title ("Share feedback"). Make the designer's message name the title too, in every locale.

Done when

  • The menu shows the form icon on the form row, with the menu test asserting it.
  • The three comments state what is true.
  • The designer's clash message names the holding form's title, with a case.

Blocked-by: #38619

Activity

  1. added
    pm:blocked
    domain:ui
    on Nov 29, 2026
  2. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4

    Triage: lands in Studio's menu icon table, three stale comments, and the form designer's address-clash message · area:ux · domain:ui · Bug · p2 (was p3) · pm:blocked · size S. Rationale: the new menu row draws the wrong icon and the clash message names a form by its internal name; both are visible experience defects, so the UX rule's p2 floor applies. Waits on PR #38619.

  3. added
    priority:p2
    and removed on Nov 29, 2026
  4. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz

    2026-11-29T15:50Z · Items added from the contract review 7258340131 of PR #38619 (all text or test shape; none moves behaviour):

    1. N5: ui/packages/app-shell/src/views/setup/PublicFormsSetupPage.tsx (around :104): when both forms carry the same title, Setup's clash message prints the holder's internal name in parentheses, against "no internal names". Settle it together with item 3 (the designer's message), one tie-break rule for both.
    2. N6: packages/cli/src/utils/console.ts (around :68 and :891) explains the CSP frame-ancestors exception for the public form page by "the Console's public-forms screen hands authors an iframe snippet"; that screen is gone. Reword the reason to what holds (whether the exception itself stays is a product question put to the maintainer separately). docs/qa/platform-checklist/areas/platform-core.json (around :674) still lists Public Forms among Studio's component surfaces.
    3. N9: ui/apps/console/src/registerDeveloperComponents.tsx (around :19) cites "ADR-0159 D4, D6" for the retirement; the disposition is D9.
    4. N2: ui/.claude/skills/objectui-contributor/guides/console-development.md (around :353 and :87) still offers a bare developer route the tree does not serve and lists DeveloperHubPage, which is not under pages/developer/.
    5. N8: ui/packages/i18n/src/__tests__/de-quote-pairing-3876.test.ts (around :512, :665) syncs exact span counts with history comments, where AGENTS.md says volatile counts are deleted, not synced. Reshape the pin so a count change does not need an edit.
  5. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmQu29PQequUrXXHYMn

    Unblocked 2026-11-30T01:28Z by zone o3-U (area:ux intake of seat repo:objectstack#3, Steve 2026-11-30T01:20:39Z 「你再开 area:data area:ux」): Blocked-by: #38619 is merged (PR #38619, 2026-11-30T01:09:20Z). pm:blocked → pm:queue. Grade unchanged (p2).
    On dispatch: item 7 edits ui/.claude/skills/objectui-contributor/guides/console-development.md, a governed path; the claimant decides whether it rides this PR (Tier H) or splits to its own card. Re-read every item's line against main first.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmQu29PQequUrXXHYMn

    Claim: PM loop round 1
    Session: session_01ADHkmQu29PQequUrXXHYMn
    Account: os-steve
    Branch: claude/issue-38621-studio-form-followups
    Worktree: objectstack-issue-38621
    Domain: domain:ui
    Seat: repo:objectstack#3
    Area: o3-U
    Scope: items 1–6 only (the seat's order to zone o3-U, 2026-11-30T01:34Z). Item 7 edits ui/.claude/skills/**, a governed path, so the seat carries it as Tier H. Item 8 is not in this claim. The PR says Refs #38621 (items 1–6) and this card is released with items 7 and 8 named once it lands.
    File surface: ui/packages/app-shell/src/views/studio-design/StudioMenu.tsx and StudioMenu.test.tsx (item 1); comment lines only in ui/packages/app-shell/src/services/builtinComponents.tsx, ui/packages/plugin-form/src/submitRedirect.ts and ui/apps/console/src/components/submitRedirect.ts (item 2); ui/packages/app-shell/src/views/studio-design/publicForm/publicFormDesign.ts, PublicFormsDesigner.tsx, their tests, and the addressTakenBy leaf of ui/packages/i18n/src/namespaces/studio/en.ts and zh.ts (item 3); ui/packages/app-shell/src/views/setup/PublicFormsSetupPage.tsx, its test, and the publicFormsSetup.refusalAddressTaken leaves if the tie-break changes their text (item 4); comment lines only in packages/cli/src/utils/console.ts, and line ~674 of docs/qa/platform-checklist/areas/platform-core.json (item 5); the comment in ui/apps/console/src/registerDeveloperComponents.tsx (item 6); at most one new test file named for this card; root .changeset/38621-*.md. Stop on breach and explain in the report.
    Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: medium
    Clause-②: no (display text, comments and an icon row; no accept set and no export changes; the clash message keeps its key)
    Metadata-protocol: none
    Responsibility: n/a — not a defect card in the risk sense: objectstack's own Studio menu and form designer (ui/packages/app-shell) draw a default icon and an internal name; no other path covers it; every Studio author who opens the form row or saves a clashing form address.
    Thread-read: 7266182758
    Premise: holds on origin/main 1fef2ed (read-only reading): STUDIO_MENU_TYPE_ICONS (StudioMenu.tsx:167-200) has no form row and :212 falls back to the group icon; builtinComponents.tsx:460 still says form stays out of the menu; plugin-form/src/submitRedirect.ts:73-74 names PublicFormsPage, which no longer exists; apps/console/src/components/submitRedirect.ts:30-35 names a save-time caller, though the only caller in ui/ is :243 in the same file; the designer's {form} is filled from takenAddresses() (publicFormDesign.ts:356-361) with item.name; PublicFormsSetupPage.tsx:103-104 prints title (name) when the titles match; packages/cli/src/utils/console.ts:68 and :891 and platform-core.json:674 still name the public-forms screen; registerDeveloperComponents.tsx:19 cites ADR-0159 D4, D6, where the retirement is D9 (ADR-0159 :358).
    Pre-claim lane: domain:ui (ui/** paths); item 5's two lines sit in packages/cli (domain:server) and docs/qa (domain:devx) and are comment or text only; the lane keeps them (the retired domain seats do not move work).
    Pre-claim deps: Blocked-by: #38619 merged (PR #38619, 2026-11-30T01:09:20Z); no other blocker named.
    Prior rulings read: check-prior-rulings --card 38621 (thread: 0 rulings in 3 comments; 222 tree hit lines over the surface, none naming the menu icon table, the clash message's placeholder or these comments); ADR-0159 D9 is what item 6 cites. Item 5's open question (whether the CSP frame-ancestors exception itself stays) is the maintainer's and is not touched: only the reason text changes.
    Fold-or-serial: serial, no fold. #38626 (same clash refusal, server side, protocol-form-writes.ts) is a different mechanism with a different landing tier; it queues behind this card in zone o3-U.
    Serial constraints cleared: shared files, not lines: PR #38602 (#38302) and PR #38550 (#36496) edit ui/packages/i18n/src/namespaces/studio/en.ts and zh.ts (other keys); #37444 (os-warren, unpushed) claims ui/packages/app-shell/src/services/builtinComponents.tsx. The dev runs overlap-check.mjs --branch=HEAD before every push and queues behind a listed PR on a real textual overlap.

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 30, 2026
  9. 5 remaining items

  10. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmQu29PQequUrXXHYMn
    os-dev-report

    {
     "issue": 38621,
     "status": "done",
     "branch": "claude/issue-38621-studio-form-followups",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/38678",
     "session": "session_01ADHkmQu29PQequUrXXHYMn",
     "premise_still_valid": true,
     "summary": "This is the delta for L1-a must-fix 1 (record 7268631311), at b48a2ffe (2 commits on 422635fa). When two forms share a title, the holder is now named by its package's display name, with the package id only when no name can be read. addressHolderShownName (publicFormDesign.ts) takes the package list (id to entry, read with packages-io fetchListedPackageManifests, the reader Setup's switch already uses), and its docblock is rewritten. The designer reads that list next to its form list. Setup reads it after the holder, and only when the titles match. Pins: the designer case reads 'Contact us (Support desk)' and the Setup case 'Contact us (Support desk)'; both also assert that the package id is absent. A new unit case covers the fallback to the id, a different title, and the same package. The changeset now says the package's name, with its id only when no name is read. Items 1, 2, 5, 6 and 8 were not touched.",
     "tests": "At b48a2ffe: npx vitest run --maxWorkers=2 on StudioMenu.test.tsx, publicForm/, PublicFormsSetupPage.test.tsx and de-quote-pairing-3876.test.ts gave VERDICT command-exit 0, Test Files 5 passed (5), Tests 112 passed (112). Ablation: with the name lookup in addressHolderShownName replaced by undefined on disk, VERDICT command-exit 1, 3 failed | 56 passed (the Setup pin, the designer pin and the new unit case). Restored with git checkout HEAD; status clean. pnpm --filter @object-ui/app-shell type-check: VERDICT command-exit 0. The first run at the intermediate commit 6db4ba6b put 14 designer cases red. The editor's new package read reached a real socket, which the test harness's network-escape guard refuses. Fixed in b48a2ffe with a file-level packages-io mock that serves an empty list by default. No other test file renders the editor (git grep).",
     "gates": "Re-run at b48a2ffe: dispatch-gates --commands --repo objectstack-ai/objectstack derived 80 families, each exit code captured before any pipe. 75 exited 0. 5 exited 3 (PREREQUISITE NOT MET), each NOT MEASURED, the same as round 1: check-plugin-teardown-shape --self-test (shallow clone); check:dual-build-cjs-loads (dist outside the app-shell closure); check:i18n, check:i18n-coverage, check:i18n-walk-parity (built CLI and server packages). Declared narrowing, left to CI. The --ran reconciliation reads: 80 derived, 75 run, 5 NOT-MEASURED (5 derived from a recorded exit 3). overlap-check --branch=HEAD before the push: VERDICT clean exit 0 against origin/main 25ac5dfa, 0 PR heads. PR check-runs at b48a2ffe when this was written: 61 success, 10 skipped, 0 failure; later runs not cited.",
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "1 REST write: this delta os-dev-report via post-stamped.mjs, POST /repos/objectstack-ai/objectstack/issues/38621/comments (relay). Not REST: 1 git push (422635fa..b48a2ffe). The PR body was not written (see deviations)",
     "line_budget": "This round: about 50 added and 20 changed lines across the 6 item-3/4 files plus 1 changeset line. Cumulative additions stay under 150 (excluding the changeset); the only large count is item 8's deletions",
     "files_changed": [
      "ui/packages/app-shell/src/views/studio-design/publicForm/publicFormDesign.ts",
      "ui/packages/app-shell/src/views/studio-design/publicForm/publicFormDesign.test.ts",
      "ui/packages/app-shell/src/views/studio-design/publicForm/PublicFormsDesigner.tsx",
      "ui/packages/app-shell/src/views/studio-design/publicForm/PublicFormsDesigner.test.tsx",
      "ui/packages/app-shell/src/views/setup/PublicFormsSetupPage.tsx",
      "ui/packages/app-shell/src/views/setup/PublicFormsSetupPage.test.tsx",
      ".changeset/38621-studio-form-followups.md"
     ],
     "deviations": "All edits are inside the claimed surface. packages-io.ts is only imported, not edited. The PR body is NOT updated by this run: os-dev.md says a subagent writes the PR body only at pr_create, and a later rewrite is the seat's own issue_patch. Text for the seat to put in the body follows. Under What changes, items 3+4: 'when that equals the asking form's shown name, the holder's package display name is added (Contact us (Support desk)), read from the package list; the package id stands in only when no name can be read; nothing is added for the asking form's own package.' Under Acceptance notes, replacing the first bullet: 'The tie-break names the holder's package by its display name, as Studio's header names a package; the id appears only when the package list gives no name. Two forms with the same title in the same package still read the same: nothing shown to a user tells them apart, and the item name is ruled out.' Under Tests, change the two quoted pins to 'Contact us (Support desk)' and add the unit case for the fallback. The Two-minute check stands. The designer now reads GET /api/v1/packages once per form-list load (packages-io deduplicates requests in flight).",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": []
    }
  11. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmQu29PQequUrXXHYMn
    Release: zone o3-U releases its claim 7267742135 (amendment 7267773349) at 2026-11-30T05:49Z: items 1–6 and 8 landed in PR #38678, merged as 1311136b2441366d1c0fec8d5e6eda864908d10b (2026-11-30T05:48:50Z; L1-a delta ACCEPT 7269579902, landing record 7269595781). The PR said Refs #38621 (items 1–6, 8).
    Left on this card: item 7 only — ui/.claude/skills/objectui-contributor/guides/console-development.md (~:87, ~:353: the bare developer route and DeveloperHubPage). It is a governed path (Tier H), so it goes to seat repo:objectstack#3 itself, per the seat's order to this zone (2026-11-30T01:34Z). pm:dispatched → pm:queue, assignee cleared.
    Resume-from: none (item 7 starts from main; nothing of it is on the branch).

  12. added
    pm:queue
    and removed
    pm:dispatched
    on Nov 30, 2026
  13. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmQu29PQequUrXXHYMn

    Claim: PM loop round 1
    Session: session_01ADHkmQu29PQequUrXXHYMn
    Account: os-steve
    Branch: claude/issue-38621-item7-console-guide
    Worktree: objectstack-issue-38621-item7
    Domain: domain:ui
    Seat: repo:objectstack#3
    Area: o3-U
    Scope: item 7 only, the last item on this card (items 1–6 and 8 landed in PR #38678; release 7270048505). The seat routed it to this zone as an exception (2026-11-30T05:53Z): one governed file, Tier H. The PR stays draft; after L1-a the seat writes the brief and the --handoff to GOVERNED_APPROVERS, and lands it after approval. The PR says Fixes #38621.
    File surface: ui/.claude/skills/objectui-contributor/guides/console-development.md only (~:87, the developer tree line naming DeveloperHubPage; ~:353, the bare developer route), plus root .changeset/38621-*.md only if the changeset gate asks for one. Stop on breach and explain in the report.
    Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: medium
    Clause-②: no (contributor-guide text)
    Metadata-protocol: none
    Rule-change: none (the guide's stale route and page names are corrected to what the tree serves; no rule is added, removed or reworded)
    Responsibility: n/a — not a defect card (a contributor guide in ui/.claude/** names a route and a page the tree no longer has).
    Thread-read: 7270048505
    Premise: holds on origin/main 1311136: console-development.md:87 lists DeveloperHubPage under developer/, and ui/apps/console/src/pages/developer/ holds ApiConsolePage, FlowRunsPage, AgentConnectSection and others but no DeveloperHubPage; :353 offers a bare developer[/api-console | flow-runs | integrations] route — the dev measures which of these the router serves before editing.
    Pre-claim lane: domain:ui (ui/**); governed path (ui/.claude/**), Tier H per SKILL.md〈路径分叉〉.
    Pre-claim deps: none open.
    Prior rulings read: check-prior-rulings --card 38621 (thread: 0 rulings); ADR-0159 D9 retired the Public Forms page (the guide's :359 redirect line already says so).
    Fold-or-serial: no fold; the card's other items are landed.
    Serial constraints cleared: no open PR edits this file (read over every open PR's file list at 05:51Z). The dev runs overlap-check.mjs --branch=HEAD before every push.

  14. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 30, 2026
  15. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmQu29PQequUrXXHYMn
    os-dev-report

    {
     "issue": 38621,
     "status": "done",
     "branch": "claude/issue-38621-item7-console-guide",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/38707",
     "session": "session_01ADHkmQu29PQequUrXXHYMn",
     "premise_still_valid": true,
     "summary": "Item 7 only. In ui/.claude/skills/objectui-contributor/guides/console-development.md the pages/developer/ tree line no longer names DeveloperHubPage (absent on origin/main 1311136b2); it lists ApiConsolePage, FlowRunsPage, IntegrationsPage and names AgentConnectSection as the section IntegrationsPage renders. The route-fragment line no longer offers a bare developer route: it lists the three served sub-routes and says the bare segment falls through to app-shell's generic :objectName route, as AppContent.tsx's comment states and AppContent.systemHubRoutes.test.tsx pins. The developer/public-forms redirect line is unchanged and still matches AppContent.tsx. Draft PR, Tier H, not flipped ready.",
     "tests": "Docs-only; no tested behaviour changed, no ablation. At d64ec57b7: pnpm --dir ui exec vitest run --maxWorkers=2 scripts/ under os-verify-lock: VERDICT command-exit 1, Test Files 22 failed / 150 passed / 2 skipped (174), Tests 56 failed / 4397 passed / 17 skipped. 20 files fail on 'Cannot find package @objectstack/spec/...' (unbuilt worktree), console-optimize-deps and date-only-zone-pins-10183 fail on unresolvable built packages / nested suites running no case; none reads this guide: NOT MEASURED locally, Test UI in CI is the reading of record. The guide's readers run directly: ui/scripts/check-skills-paths.mjs exit 0, ui/scripts/check-shell-escape-residue.mjs exit 0.",
     "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at d64ec57b7 derived 16; the 15 non-vitest commands each exit 0 (closing-keyword-parity + --self-test, comment-mask-corpus, check:adr-anchors, driver-memory-census, gitlink-declared, nul-bytes OK no raw ASCII control bytes, pm-governed-merges, published-files, refd-timer-probe, registry-log-declared, rest-log-spy-declared, tier-file-adoption, undeclared-dep-imports, watch-hint-literal); vitest scripts/ as in tests. --ran: 16 of 16 accounted for (exit codes recorded in the report, not in the ran file). overlap-check --branch=HEAD: VERDICT clean exit 0. CI check-runs: not yet concluded at report time (NOT MEASURED; PM reads CI convergence).",
     "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST issues/38707/labels skip-changeset, one repository_dispatch 204); post-stamped issue comment POST /repos/objectstack-ai/objectstack/issues/38621/comments",
     "classifier_refusals": [],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [],
     "line_budget": "8 changed lines (+5/-3) against ~20",
     "files_changed": [
      "ui/.claude/skills/objectui-contributor/guides/console-development.md"
     ],
     "deviations": "No changeset (ui/.claude/** is fast-path, unpublished; skip-changeset rode pr_create). Local ui scripts vitest red on unbuilt workspace declared NOT MEASURED rather than building spec. The 353 edit adds a two-line comment saying the bare developer segment is unrouted; that names what exists, so Rule-change: none stands."
    }
  16. removed
    pm:dispatched
    on Nov 30, 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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions