Skip to content

Studio 左上角改成「‹ 返回应用」加应用名;去掉首页图标、应用切换和右上角的「打开应用」(外壳专题第 12 项,设计板图 47) #36501

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #36107(去掉顶栏和平台首页专题,第三阶段第 12 项)。⛔ 不是认领。优先级 p2(协调席定的,维护者未指定)。维护者 2026-11-22:「通知 2 号」,本卡通知席位 repo:objectstack#2。

维护者说过的

  • 2026-11-21:「是否建议 studio 左上角不需要切换应用,而是返回应用,这样右上角的打开应用也不需要了。」协调席画了设计板图 47,维护者看过后:「可以,拆第一阶段」。专题里写明第 12 项里 Studio 的三处小改和别的互不依赖,可以最先做。
  • 2026-11-22:「右侧 studio的界面,顶部导航也需要重新规划,左上角应该改成返回应用的立卡了嘛」。协调席核对:这一项在专题清单里,但只拆了第一阶段的三张子卡,这一项没有单独的卡。本卡补上。

现状(主干 6a35635a33)

Studio:上面是改后,下面是现在,虚线框是会动的地方

要做的

  1. 左上角改成「‹ 返回应用」,后面是应用名和「Studio」字样。点了回到应用里进来之前的那一页;不是从应用进来的(直接打开地址),回到这个应用的首屏。
  2. 去掉首页图标。
  3. 去掉应用切换。要换一个应用来设计:先返回应用,在应用里换,再进 Studio。
  4. 去掉右上角的「打开应用」。
  5. 其余不动:中间的分区、左边的清单、右边的 AI 面板、「变更」「发布」。

不做的

验收

协调席自己加的

  • 「要做的」第 1 条里「不是从应用进来的回到首屏」、第 3 条里换应用的走法。
  • 验收里的未保存提示和两个宽度。
  • 没有单独给 Studio 里没有对应应用的包(只有对象没有应用的包)定返回去哪;请实现时提出来。

Activity

  1. added
    enhancement
    priority:p2
    domain:ui
    area:studio
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    通知记录 · 2026-11-22T15:10Z

    维护者 2026-11-22:「通知 2 号」。本卡按此通知席位 repo:objectstack#2,随后在它的信箱 #34479 里发一条。

  3. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY

    Claim: PM loop round 9 (topic #36107 item 12; routed to this seat)
    Session: session_01ADHkmRY38EZf38Yy3zthbY
    Account: os-steve
    Branch: claude/issue-36501-studio-back-to-app
    Worktree: objectstack-issue-36501
    Domain: domain:ui
    Seat: repo:objectstack#2
    Area: area:studio (topic #36107, area:ux)
    Provenance: coordinator#1's transcript 7081096136 (maintainer 「通知 2 号」), knocked on mailbox #34479 (7081124808). Untriaged; direct dispatch.
    File surface: the Studio top bar in ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx (left: 「‹ 返回应用」 + app name + Studio; remove the home icon, the app switcher, the top-right 「打开应用」) and the return-target logic, their tests, i18n keys; .changeset/ (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default (no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — feature
    Thread-read: 7081096136
    Seat's answer to the card's open point (a package with objects but no app): 「‹ 返回应用」 returns to the console's default landing (the first app the user can open), and the label stays 「返回应用」 without an app name.
    Serial constraints cleared: open PR #36420 (seat 7) edits StudioDesignSurface.tsx in the report/widget publish region, not the top bar; the later lander merges main.

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: area set to area:ux (shell navigation; was the legacy area:studio); pm:dispatched and the coordinator-set p2 stand (topic #36107, item 12). rationale: Feature · Studio top-left becomes 「‹ 返回应用」 plus the app name.

  6. added and removed
    area:studio
    on Nov 22, 2026
  7. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 36501,
      "status": "blocked",
      "branch": "claude/issue-36501-studio-back-to-app",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36519",
      "session": "session_01ADHkmRY38EZf38Yy3zthbY",
      "premise_still_valid": true,
      "summary": "Implemented and pushed at a07beaa37, with draft PR #36519 open. The Studio top bar's left end is now the new StudioBackToApp: Back to app, then the app name, then the Studio mark. Its target, first match wins: the app page the author came from (ConsoleLayout records it in module memory, query and hash kept); else the package's first published app, on its first screen; else no name and the console's declared landing via useHomePath (a draft-only app counts as none). Leaving with unsaved work still asks first, through confirmLeavePillar. Removed: the home icon, the PackageSwitcher component (the file keeps the three helpers other code imports), and StudioOpenApp. New en and zh keys replace the three openApp keys. The 37-file diff (+922/-3416) is over the 3,000-line human-merge threshold, mostly deleted switcher pins. BLOCKED only on the local test reading. Over about two hours, every acquisition of the shared verification lock timed out with exit 99. The holders were pid 17598, a full pnpm --filter @objectstack/dogfood test held about 76 minutes, then pid 1449 (scratchpad issue-34996 verify-r.sh, 25+ minutes) with a 9 to 11 deep queue. The slot issue-36501-build was set on every try, but each re-entry still queued behind newer waiters. Nothing else is waiting: the code, the PR and the gates are done. To unblock, the PM can take CI's Test UI and type-check runs on #36519 as the verdict, or re-dispatch a test-only patch round once the lock is free.",
      "tests": "NOT MEASURED locally at a07beaa37: the vitest run of ui/packages/app-shell/src/views/studio-design/, homeRecoveryRedirectsFollowDeclaration-7373, ui/packages/app-shell/src/layout/, and pnpm --filter @object-ui/app-shell type-check. Reason: the verify lock was never acquired (each try ended VERDICT queue-timeout (exit 99), never acquired, waited 540s). The planned script is scratchpad issue-36501/verify.sh. Written: one new DOM test file, StudioDesignSurface.backToApp-36501.test.tsx, and one new unit file, fetchInstalledPackageRow-7881.test.ts. Updated: homeLoop-12513, pillarNavGuard, narrowHeader-12509, desktopHint-11795, entryReadsOnce-11797, noAppPackageLabel-12718, notFound-26708, readOnlyPosture-12453, kernelReadOnly-29567, packageLessFlows-11553, oneSurface-28572, autosaveSwitch-11232, packageListErrorPosture, homeRecoveryRedirectsFollowDeclaration-7373 (alsoReads now includes StudioBackToApp.tsx), and the e2e files studio-customize-journey and studio-object-designer. Deleted: openApp-34593, narrowChip-12611, packageDeletionInference, manageSnapshotRefresh, packageLookupFailure, packageUserMessage. No ablation: none was possible without a test run. Browser screenshots and the 1280/1440 no-wrap reading are NOT MEASURED for the same reason; the new test pins no-wrap by its classes.",
      "gates": "Derived with node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack. The first line read: derived from the tree of objectstack-ai/objectstack at commit 78d2143fc. The re-derivation listed the same commands as the first. Local subset, 37 commands outside the lock: 35 EXIT=0, including check:nul-bytes OK (27026 files, no raw ASCII control bytes), check:published-files, check:empty-changeset, check:adr-0087-registration, check:changeset-no-major and check:cross-package-test-inputs. check:test-source-alias was EXIT=1 on six edited surface tests (lazy @objectstack/lint reach); it is fixed in a07beaa37 and the re-run is EXIT=0 (check-test-source-alias OK; the source reach judged 36 test files changed since 9abc732132). check:type-check-debt was EXIT=3: its closure build waits on the same lock, so it is NOT MEASURED locally. pnpm --dir ui exec vitest run scripts/ is a test under the lock: NOT MEASURED. The --ran reconciliation was not run, because two derived families have no local reading. CI check-runs on #36519: in_progress when this report was written; not awaited, per the contract.",
      "dogfood_battery": "n/a: the PR title has no `!` and the claim has no (narrowing) arm (Clause-②: no)",
      "mcp_calls": "0",
      "api_writes": "3: pr_create via the fleet-write relay (POST /repos/objectstack-ai/objectstack/pulls, draft; POST /repos/objectstack-ai/objectstack/issues/36519/assignees os-steve; the read-back showed 8189 bytes sent and stored, identical) plus this os-dev-report comment on issue 36501 via post-stamped.mjs. The git push calls are not REST writes.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: none. Lock slot keeping, observed: os-verify-lock.sh says a 99 keeps slot issue-36501-build's place. My first ticket was at 2026-11-22T15:41:10Z. Re-entries with the same OS_VERIFY_LOCK_SLOT were later placed 3rd or 4th, behind waiters that queued after that (for example pid 21711, waiting 6s, ahead of me), and --status showed no parked row for the slot. Not filed. Carrier: none; noted only. Dedupe words: os-verify-lock slot kept, queue-timeout resume, parked place lost",
        "carrier: none. Noted, not filed: switcher-only studio catalogue keys (engine.studio.pkg.switchTitle, pkg.heading, pkg.none, pkg.new, pkg.withPair, org.hint, pkg.manage) now have no reader; packageApp icon and branding in StudioDesignSurface are no longer read. Both are listed in the PR's Acceptance notes for a dead-key sweep."
      ]
    }

    Generated by Claude Code

  8. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 36501,
      "status": "done",
      "branch": "claude/issue-36501-studio-back-to-app",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36519",
      "session": "session_01ADHkmRY38EZf38Yy3zthbY",
      "premise_still_valid": true,
      "summary": "Patch round on the seat's CI reading of a07beaa371 (run 45044971858). New head: e9654953a. Each of the 5 failures had its root in a test or e2e file I had edited; product code is unchanged. (1) Type Check UI: type-check:e2e flagged PKG in e2e/live/studio-object-designer.spec.ts as declared but never read. Its only reader was the deleted F1 switcher test, so the constant is removed. (2) Lint UI: in the app-shell lint, StudioDesignSurface.desktopHint-11795.test.tsx imported waitFor but did not use it. (3) Test UI 2/16 is the same file: the control case called act without importing it. The import now reads act, cleanup, render and screen. (4) Test UI 6/16: the backToApp-36501 case 'an app other than the package's own' clicked the back link and then read the app name from a header that had already unmounted. It now reads the name before the click. (5) The Test UI aggregate follows from 3 and 4. Nothing was skipped or quarantined. The feature is as reported in round 1: the top bar reads Back to app, then the app name, then the Studio mark. Removed: the home icon, the package switcher and Open app. The diff is +922/-3416 across 37 files, over 3,000 lines, so it goes to os-zhuang after L1.",
      "tests": "No test was run locally this round. The lock was queued under slot issue-36501-ci for the two failing files by path, plus their dependency closure build (scratchpad issue-36501/verify2.sh). It returned VERDICT queue-timeout (exit 99) after waiting 540s, behind holder pid 9348 (scratchpad issue-35315 verify.sh). That is over the 15-minute bound, so per the seat CI is the runner: NOT MEASURED locally. CI's Test UI shards 1/16 through 16/16 were in_progress at e9654953a when this was written. Deleted test files, each with the removed behaviour it pinned: (a) StudioDesignSurface.openApp-34593: the header's Open app button, which went to the focused object's list or else the app's home, offered a picker for several apps and showed nothing for a draft-only app; its second half was the switcher hiding kernel packages. The flat kernel-row tag CONTROL moved to backToApp-36501. (b) StudioDesignSurface.narrowChip-12611: the switcher chip on a narrow header, where the Read-only word gives way first and then the name truncates; it was the chip's own container, cap and tooltip. (c) StudioDesignSurface.packageDeletionInference (objectui#7821): the switcher's onManageChanged must not treat a failed list refresh as the package being deleted and evict the author. (d) StudioDesignSurface.manageSnapshotRefresh (objectui#7907): the switcher's onManageChanged must not swallow a failed managed-snapshot refresh and show the pre-action record. (e) StudioDesignSurface.packageLookupFailure (objectui#7881): a failed /api/v1/packages read must throw and toast, never open the sheet on null. Its wire cases moved to fetchInstalledPackageRow-7881.test.ts, which tests the helper that survives. (f) StudioDesignSurface.packageUserMessage (objectui#7938): error.userMessage outranks message, with the code appended; these wire cases also moved to fetchInstalledPackageRow-7881.test.ts. Source deleted: StudioOpenApp.tsx.",
      "gates": "Local runs without a build, at e9654953a. tsc -p ui/tsconfig.e2e.json (the CI type-check:e2e step): TSC_E2E_EXIT=0. eslint with the app-shell package config over all 24 added or modified app-shell .ts/.tsx files: ESLINT_EXIT=0 (0 errors, 55 warnings). eslint on the two e2e specs and the studio en/zh catalogues: ESLINT_EXIT=0. App-shell tsc is NOT MEASURED locally: the fresh worktree has no dependency dist, and building it needs the lock. In CI run 45044971858, Type Check UI stopped at type-check:e2e, before the package type-check; its earlier steps passed, including check:i18n-keys and check:i18n-drift. CI on e9654953a: Type Check UI, Lint UI and Test UI 1/16 through 16/16 were in_progress; Plan Test UI shards was success. Round 1's local gate set is unchanged: 35 of 37 EXIT=0; test-source-alias was fixed to EXIT=0; type-check-debt exited 3 and is NOT MEASURED.",
      "dogfood_battery": "n/a: the PR title has no `!` and the claim has no (narrowing) arm (Clause-②: no)",
      "mcp_calls": "0",
      "api_writes": "1 this round: this os-dev-report comment on issue 36501 via post-stamped.mjs (relay). Round 1 had 3: pr_create (POST pulls and POST issues/36519/assignees) plus comment 7082467318. git push is not a REST write. The CI logs were read through gh api GET actions/jobs/ID/logs, which writes nothing.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none. Noted, not filed: os-verify-lock slot resume. After a 99, re-entries with the same OS_VERIFY_LOCK_SLOT were placed behind waiters that queued later; round 1 has the readings. Dedupe words: os-verify-lock slot kept, queue-timeout resume, parked place lost",
        "carrier: none. Noted, not filed: switcher-only studio catalogue keys (engine.studio.pkg.switchTitle, pkg.heading, pkg.none, pkg.new, pkg.withPair, org.hint, pkg.manage) and packageApp icon/branding no longer have a reader. They are listed in the PR's Acceptance notes."
      ]
    }

    Generated by Claude Code

  9. removed
    pm:dispatched
    on Nov 22, 2026
  10. added a commit that references this issue on Nov 23, 2026
    cd51dbb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions