Skip to content

Shell close-out after the home retirement: retire or retarget the 「Back to home」 ⌘⇧H shortcut and its advertised rows (#36107 item 12) #37149

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

Filing gate ③ — maintainer-dispatched epic work. Source: topic #36107. The maintainer, verbatim, in seat repo:objectstack#4's session: 「#36062、#36107:后续拆卡继续」. Split summary: #36107 comment 7146718835.

Business reason. The platform home page is retired (#36732; maintainer ruling 2026-11-23, #36107 comment 7104152823), but the console still advertises 「Back to home」 with ⌘⇧H. An admin or user who presses it, or reads it in the shortcut help or the app switcher, is promised a home that no longer exists on desktop. Left alone, the shortcut help and the switcher teach a dead destination.

Where it lives (read at origin/main 2af9729).

  • ui/packages/app-shell/src/chrome/advertisedShortcuts.ts:74-83 — the advertised 「Back to home」 row and its chord.
  • ui/packages/app-shell/src/chrome/goHomeShortcut.ts — the handler; layout/ConsoleLayout.tsx registers it.
  • ui/packages/app-shell/src/layout/AppSwitcher.tsx:12 (module doc) and the switcher's 「Back to home」 row with its keycaps.
  • Still used on phone and on docs pages; check those before removing anything.

Change. Measure where ⌘⇧H lands on desktop today. Then either retire the shortcut and its rows on desktop, or retarget them to what "home" now means (the last-used app's landing page), whichever keeps one honest destination. Phone behaviour is unchanged. Re-point the shortcut help and its tests.

Acceptance. On desktop, no row or keycap advertises a home that is not there; whatever ⌘⇧H does is stated by the row that advertises it; the shortcut help and the app switcher agree; phone unchanged. Pins for the advertised rows and the handler.

Grade: area:ux · Task · a dead destination advertised to every desktop user · p2 (epic grade). Size S.
Reader: zone a4-C of seat repo:objectstack#4 dispatches it to an os-dev.
Dedupe: Back to home shortcut (objectstack, open) → 4 hits, none about this (seat posts, #31908 audit, #36900 Studio palette); 回首页 快捷键 → 1 (#36107 itself).

Activity

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

    Claim: PM loop round 1
    Session: session_01QSeKYnagJvGbCtNg2PhvgW
    Account: os-justin
    Branch: claude/issue-37149-back-to-home-shortcut
    Worktree: objectstack-issue-37149
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-C
    Epic: #36107 (sub-issue; split summary 7146718835)
    File surface: ui/packages/app-shell/src/chrome/{advertisedShortcuts.ts,goHomeShortcut.ts}, ui/packages/app-shell/src/layout/{AppSwitcher.tsx,ConsoleLayout.tsx} (the shortcut's registration only), their tests, ui/packages/i18n/src/locales/*.ts (values only), .changeset/* (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: platform UI code in objectstack (the 「Back to home」 ⌘⇧H row and handler outlived the desktop home page, retired by #36732) | none | every desktop user reading the shortcut help or the app switcher; reached today
    Thread-read: none
    Premise: holds
    Serial constraints cleared: none — no open PR touches these files (the zone's open PRs #37085 and #37114 do not; read now)

    Pre-claim lane: domain:ui — every path is under ui/**.
    Pre-claim deps: no Blocked-by: line; the home retirement it follows (#36732) is closed.
    Prior rulings read: check-prior-rulings.mjs --card 37149 at 2af9729 — 1 hit line: AppSwitcher.tsx:115 ⛔ do not add _unpublished (#6955) — unrelated to the shortcut, kept; the governing rulings are the maintainer's 2026-11-23 phase-2 narrowing (#36107 comment 7104152823: the platform home page is retired, the bell is the one todo entry) and the epic's item 12 close-out (「快捷键说明…跟着改」). No ADR on the surface.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
    os-dev-report

    {
      "issue": 37149,
      "status": "done",
      "branch": "claude/issue-37149-back-to-home-shortcut",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37159",
      "session": "session_01QSeKYnagJvGbCtNg2PhvgW",
      "premise_still_valid": true,
      "summary": "Measured (code read, origin/main 1f3e9f68e): ConsoleLayout installs useGoHomeShortcut(true, useHomePath()); from 768 px up useHomePath answers resolveDesktopHomePath(served, lastApp), i.e. where / lands after #36732 -- inside an app the app itself (rememberApp), from Studio/AI the last-used app -- so the desktop chord opens the app start page; on a phone it opens the declared landing or /home (app list). The handler works, only its name was stale, so I retargeted the wording (no product decision: behaviour unchanged) rather than retiring the shortcut. Desktop now advertises GO_TO_APP_START_SHORTCUT (same id + chord, label layout.appSwitcher.backToHome, the key the pill row already draws) and the pill row reads the same; phone keeps GO_HOME_SHORTCUT 'Back to home'. i18n: VALUE change only, no new key -- layout.appSwitcher.backToHome in all 11 locales → 'Back to app start page' (zh-Hans 返回应用起始页); console.shortcuts.goHome unchanged. Clause-②: no / Metadata-protocol: none in PR body and changeset (patch: @object-ui/app-shell, @object-ui/i18n).",
      "tests": "head 7c591386d. From ui/: vitest run AppHeader.homeMark-12605, AppSwitcher.homeMenu-12605, AppSwitcher.hostSingleApp-12913, KeyboardShortcutsDialog.wiredOnly-11674, AppHeader.unsavedEditsLeave-13231, SidebarAppMenu-36112, AppHeader.phoneTargets-29075 + packages/i18n/ → Test Files 117 passed (117), Tests 2106 passed | 13 skipped, lock VERDICT command-exit 0. New pins (top-level describe in AppHeader.homeMark-12605 harness, real en catalogue): desktop 1280px row == layout.appSwitcher.backToHome == 'Back to app start page', no 'home'; CONTROL phone 375px row == console.shortcuts.goHome 'Back to home'. Reverse verification via scripts/ablation-replace.mjs (desktop arm → GO_HOME_SHORTCUT, on-disk grep count 1): 1 failed | 12 passed, Expected 'Back to app start page' Received 'Back to home'; phone control stayed green; restored blob == HEAD, git diff HEAD empty. No dist step: harness imports app-shell source relatively. type-check @object-ui/i18n + @object-ui/app-shell: VERDICT command-exit 0. eslint touched files: 0 errors (2 pre-existing warnings AppSwitcher.tsx:130,236). Browser check: NOT MEASURED, reason: destination established by code read and pinned in jsdom; no dev server started.",
      "gates": "local: dispatch-gates --commands (tree objectstack-ai/objectstack @7c591386d, 41 commands) → 41/41 exit 0 (captured per command before any pipe); --ran reconciliation: 41 derived, 41 run, 0 NOT-MEASURED, 0 UNRUN. ① closure build: pnpm --workspace-concurrency=2 --filter '@object-ui/app-shell^...' build → VERDICT command-exit 0. overlap-check: VERDICT clean exit 0 (main + #37148/#37123/#37085 share locale files, all merge cleanly). e2e collection (cd ui && pnpm exec playwright test --project=chromium --list): exit 0, 202 tests in 35 files; no spec names the row. CI check-runs at report time on 7c591386d: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint · (7 lanes), PR-body guards, Type Check · (4 lanes) all in_progress; opt-in/queue lanes skipped. UI required contexts not yet listed. Not re-run locally: pnpm lint, test:repo (no test of that project touched).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — git push (branch, 3 pushes, not REST); relay pr_create (POST pulls + POST issues/37159/assignees, run 45512027459, read-back identical 6920 bytes); post-stamped os-dev-report comment on #37149",
      "line_budget": "152 changed lines (+121/-31), 18 files, under 3000",
      "files_changed": [".changeset/37149-go-home-shortcut-desktop-label.md", "ui/packages/app-shell/src/chrome/advertisedShortcuts.ts", "ui/packages/app-shell/src/chrome/goHomeShortcut.ts", "ui/packages/app-shell/src/layout/AppSwitcher.tsx", "ui/packages/app-shell/src/layout/__tests__/AppHeader.homeMark-12605.test.tsx", "ui/packages/app-shell/src/layout/__tests__/AppSwitcher.homeMenu-12605.test.tsx", "ui/packages/app-shell/src/layout/__tests__/AppSwitcher.hostSingleApp-12913.test.tsx", "ui/packages/i18n/src/locales/{ar,de,en,es,fr,ja,ko,pt-BR,ru,zh-Hans,zh-Hant}.ts (one value each)"],
      "deviations": "File surface: AppSwitcher.hostSingleApp-12913.test.tsx edited (a 'their tests' file asserting the old row text). ConsoleLayout.tsx untouched (registration unchanged; viewport choice lives in goHomeShortcut.ts). Local test run is targeted (7 files + i18n package), not the full app-shell suite; the rest is declared to CI's Test UI. A first vitest attempt via pnpm --filter exec hit the ui root guard (ran nothing) and a second failed module resolution before the closure build; both reruns above are the readings.",
      "open_questions": [],
      "security_findings": "withheld",
      "out_of_scope_findings": ["class: a · reach: public door — desktop app pill menu: 「All apps」 (AppSwitcher.tsx, Link to={homePath}) and the not-found/access-denied 「Back to home」 buttons (NotFoundState BackToHomeButton via AppContent homePath), AiUnavailable 「Back to home」 and the product mark 「PRODUCT home」 all resolve useHomePath() → on a desktop the last-used app's start page (AppSwitcher.homeMenu-12605 pins the row above at href /apps/com.acme.hotcrm; All apps shares the same homePath), so 'All apps' offers no list of apps and 'home' names a retired page · one family, not single cards; carrier: epic #36107 close-out · dedupe words: All apps desktop, Back to home desktop, home wording retired home page"]
    }
  5. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

    Delivered (2026-11-25T00:58Z): PR #37159 merged (2026-11-25T00:33Z); this card closed by its Fixes #37149. On a desktop the ⌘⇧H row in the keyboard-shortcuts dialog and the app pill now read 「Back to app start page」 (zh 返回应用起始页), the last-used app's start page it opens; the shortcut itself is unchanged, and a phone keeps 「Back to home」. The other desktop surfaces that still name the retired home page (「All apps」, the dead-end pages' 「Back to home」, 「{product} home」) are carried by #37163 under #36107. Nothing left on this card; pm:dispatched removed.

  6. removed
    pm:dispatched
    on Nov 25, 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