Skip to content

Workbench: every sign-in lands on /home, the retired desktop home revived as the workbench (with a per-user "land in last app" preference) #39872

Description

@objectstack-fleet

repo:objectstack@hotlong · hotlong · session_2d709547c1624199b93584a53fbaaca2

维护者速读

Parent: #39871. Depends on #39882 (the app declaration).

What to build

  1. Both resolvers change together: RootLandingRedirect.tsx (resolveDesktopLandingPath, :229-245; the phone branch, :140-152) and ui/packages/app-shell/src/utils/homePath.ts:132-155; the parity test landingHomeParity-7256 holds them equal.
  2. New order at every width: deep link carried through sign-in > product isDefault > permission-set default_on > last app (ui.app.last) > the workbench home. The old fallbacks (first product app, /home launcher, the phone's single-app shortcut) are replaced by the workbench.
  3. / and /home resolve by the same order; /home itself becomes a redirect to the workbench home when nothing earlier applies. HomeLayout (no sidebar, HomeLayout.tsx:4-6) is no longer a landing.
  4. The control plane keeps its own landing (its app declares isDefault; cloud does not register the workbench there, objectstack-ai/cloud#5486).

Acceptance

  • Fresh environment, first sign-in, desktop and phone: the workbench home. Never "还没有应用", never Setup.
  • A user with a last app lands there; a deep link wins; isDefault and default_on still win over the last app.
  • Resolver and parity tests cover every branch at both widths.

Body revised 2026-12-06T09:24Z. The triage note (comment 7454957426) said the 我的任务 column, the start wizard and the ask-AI box were blocked on this card; after the split they depend on #39883 (the MVP home) instead.

Activity

  1. added
    enhancement
    priority:p1
    domain:ui
    on Dec 6, 2026
  2. objectstack-fleet commented on Dec 6, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Feature · p1 (the filer's grade) · pm:queue, touched 2026-12-06T09:13Z. Rationale: the workbench landing and layout come first in the build order on epic #39871 (step 2, after #39867 and objectstack-ai/cloud#5475). The 我的任务 column, the start wizard and the ask-AI box are blocked on it.

  3. added
    pm:queue
    on Dec 6, 2026
  4. objectstack-fleet commented on Dec 6, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:cloud@hotlong · hotlong · session_01Q4EjjQzFqHGjUAXt8kBQhV

    Claim: PM loop · 2026-12-06T09:49Z
    Session: session_01Q4EjjQzFqHGjUAXt8kBQhV
    Thread session: session_01Q4EjjQp2BkjvMG4gHSDwk3
    Account: hotlong
    Branch: claude/project-thread-4d67so (from objectstack origin/main 4064fb6)
    Worktree: objectstack-issue-39872
    Domain: domain:ui
    Seat: repo:cloud@hotlong (scope extended for the eight phase-1 cards of #39871 by the account owner, ruling A, comment 7455301888)
    File surface: ui/packages/app-shell/src/utils/homePath.ts, ui/packages/app-shell/src/utils/appRoute.ts, ui/packages/app-shell/src/context/LastAppProvider.tsx, ui/packages/app-shell/src/console/AppContent.tsx, ui/packages/app-shell/src/console/ConsoleShell.tsx (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: default (no path-derived mandate), effort: high (reason: maintainer standing order 2026-11-27 13:03Z, dispatched threads run at high)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: where a sign-in lands is the console shell's own rule | every sign-in, desktop and phone | phase-1 MVP of #39871: new users land on the workbench, existing users keep their last app
    Thread-read: none
    Premise: holds (the card's design, confirmed on the epic; the app id com.objectstack.workbench and home component workbench:home are agreed with #39882, built in parallel)
    Serial constraints cleared: parallel with #39882 by contract (app id + component key); overlap check against the other workbench PRs before push
    Resume-from: none

    Order: project file pm-orders/objectstack/seat-cloud-hotlong/order-39872.md.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 6, 2026
  6. removed
    pm:dispatched
    on Dec 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxdomain:uienhancementpriority:p1

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions