Repository navigation
Description
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Child of epic #36107, phase 2, narrowed by the maintainer on 2026-11-23 14:30Z. This is the only phase-2 card; items 8 and 9 are dropped.
维护者原话(按先后)
- 14:25Z 「我记得有一个任务是去掉首页,登录之后自动跳转到第一个应用,然后每一个应用进去都能看到一个首页菜单,现在开发了吗?这个需求合理吗?帮我重新评估」
- 14:29Z 「我的工作和左侧栏的通知是不是重复了」
- 14:30Z 「同意」, answering the revised proposal: no new sidebar entry; the bell is the one todo and notification entry; the platform home page is retired.
What
Today a desktop user with more than one app lands on the platform home page (/home) after login. Everything that page shows already has another place: the app menu switches apps, 「添加应用」 offers AI build and templates, the bell shows approvals and notifications, and the sidebar shows the current app's recent items. The one exception is the admin setup checklist. The top bar is gone (#36112), so inside an app a desktop user can reach /home only with ⌘⇧H.
Expected
- Desktop (768 px and up) login lands in the last-used app. Reuse the phone path
resolvePhoneLandingPath(ui/apps/console/src/components/RootLandingRedirect.tsx) and drop its phone-only condition. The order follows the 手机端:登录后进应用,应用首页就是这个应用的全部菜单,左上角切换应用 #35881 ruling: the last-used app first, then the declared default app, then the first listed app. - Email-link login does the same. The epic's state section says
ui/packages/auth/src/LoginForm.tsx:561hard-codes/home; this was not checked line by line. /homeis retired. The old address redirects into the last-used app by the same order. ⌘⇧H and every 「Home」 link (useHomePath) follow.- No apps: an empty state offering 用 AI 搭建, 从模板开始 and 应用市场 (design board 45, picture 4 in 专题:去掉顶栏和平台首页那一层——登录直接进应用,全局入口进左侧菜单,侧栏第一项是首页(分三个阶段,十二项) #36107).
- The admin setup checklist moves. Today only
/homeshows it, to admins, while it is incomplete. The thread reads the code and proposes one of two places to the seat: the first page of the 系统设置 app, or a banner for admins inside apps. The maintainer decides before that part is built. Items 1 to 4 do not wait on it. - The bell's count is pending approvals plus unread notifications. Change it only if it is not that today.
Not done
- No 「首页」 or 「我的工作」 sidebar entry. No home AI input. No cross-app 「最近访问」; the sidebar keeps the current app's 「最近使用」.
- Phone: it already lands in the last-used app first. Phone behaviour must not change.
State (main e343ab7, read from code and PR #36187's description; not measured in a browser)
- Desktop landing: the declared default app, else the only non-setup app, else
/home. - With the top bar gone, a desktop user inside an app cannot click back to
/home; only ⌘⇧H reaches it (feat(console): from 768 px up an app draws no top bar; the app menu, search, bell and account move to the sidebar (#36112 PR A) #36187 F3). - HotCRM's
crm.app.tsisisDefault, and its first sidebar entry is already called Home (executive_dashboard). A platform 「首页」 entry would have collided with it.
Acceptance
- A multi-app account logs out and back in and lands in the last-used app. On first login it lands in the default app, or the first listed app when there is no default.
- Email-link login behaves the same.
- Opening
/homeredirects into an app; the platform home page no longer renders. - An account with no apps sees the empty state after login.
- An admin sees the setup checklist in its new place, once the maintainer has picked it.
- A record deep link and the pre-login
redirectare not affected. - Phone width behaves as before.
- Browser-measured on desktop and phone widths, with screenshots.
Grading (proposed): area:ux · Feature · epic child at the epic's grade ⇒ p2. Evidence: read (#36107, the maintainer's ruling, the code paths above).
Dedupe: #36107 phase 2 had not been split; no open card names RootLandingRedirect desktop landing or /home retirement.
Activity
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim: PM loop round 9 · 2026-11-23T14:33Z
Session:
session_01JQwxbZeHNsF3RWcWpj7rGjThread session: opened by the coordinator; the thread names itself in its first report
Account:
os-warrenBranch: the card thread's own branch, named at its first push; the seat records it then
Worktree:
objectstack-issue-36732Domain:
domain:uiSeat:
repo:objectstack#1Area: card thread
#36732(w8-H)Dispatch: p2 area:ux epic child of #36107, filed by the seat on the maintainer's 「同意」 2026-11-23T14:30Z; taken under the ruling 2026-11-23T12:25Z 「非专题卡同意你的意见 ux 允许派发 p1 p2 卡,专题卡优先」 (epic cards first); one in for one out under the 15-thread cap
File surface: the desktop login landing and home retirement in ui/apps/console (RootLandingRedirect.tsx, the
/homeroute anduseHomePathcallers, the home page's empty state and setup checklist), ui/packages/auth LoginForm.tsx (email-link landing), the bell count if it needs it, their tests, a changeset (stop on breach; the thread's first report states the real surface and the seat amends this line)Container & model:
S,mode:thread,model: opus — default tier; the thread's first report states the served tier,effort: highClause-②: no. A new route, contract, spec key or export is amended to yes before its code
Metadata-protocol: none
Responsibility: as the card body states
Thread-read: none
Premise: read from the card; the thread re-reads it on its base before code
Serial constraints cleared: phase 1 items 1–2 merged (#36112 closed); no open PR names the card
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim: branch record · 2026-11-23T14:39Z · same session as claim 7104199806, which it completes
Session:
session_01JQwxbZeHNsF3RWcWpj7rGjThread session:
session_01JQwxbWjmw77uT2gNL5G1UhAccount:
os-warrenBranch:
claude/project-thread-v08i7bWorktree:
objectstack-issue-36732Domain:
domain:uiSeat:
repo:objectstack#1Area: card thread
#36732(w8-H)File surface: ui/apps/console/src/components/RootLandingRedirect.tsx and its tests (incl. landingHomeParity-7256); ui/apps/console/src/App.tsx (the
/homeroute); ui/packages/app-shell/src/utils/homePath.ts, hooks/useHomePath.ts and tests; ui/packages/app-shell/src/console/home/HomePage.tsx (no-apps empty state); ui/packages/app-shell/src/layout/SidebarAppMenu.tsx (reuse the 「添加应用」 entries); ui/packages/auth/src/LoginForm.tsx; ui/packages/i18n locale packs (one new string); a changesetContainer & model:
S,mode:thread, servedopus(claude-opus-5-5),effort: highClause-②: yes (widening). app-shell gains one export (the desktop landing resolver, for the parity test), and i18n gains a key. Nothing is removed or renamed. This widening owes a review at TIER_DEFAULT before the queue.
Metadata-protocol: none
Responsibility: as the card body states, with the premise reads below
Thread-read: none
Premise: read on base e343ab7 by the thread.
LoginFormhandleSsohard-codesbase + '/home'). There is no magic-link login. The SSO callback takes the same landing./homestays the app picker list, and the phone landing order is unchanged. Only the desktop's third step becomes "the first listed app".Serial constraints cleared: phase 1 items 1–2 merged (外壳(二)去掉顶栏:侧栏常驻可收起;应用名、搜索、头像进侧栏;应用菜单只做换应用;提示条移到内容区顶部 #36112 closed); no open PR names the card
objectstack-fleet commentedon Nov 23, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
area:ux·domain:ui·priority:p2· Feature ·pm:dispatched(seat 1); seat grade kept.Rationale: phase 2 of epic #36107, narrowed by the maintainer at 14:30Z: on desktop, login goes straight to the last-used app, the platform home page is retired, and the bell stays the single todo and notification entry. It is a planned change to a common path, with nothing broken today, so p2.
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Item 5 ruled by the maintainer (decision card, 2026-11-23 15:07Z): 「系统设置第一页」. The incomplete setup checklist shows to admins at the top of the 系统设置 app's first page and disappears once it is complete. The no-apps empty state still shows it. Built in this card's PR.
test(console): the desktop Home lands in an app — old Home tests move…
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWjmw77uT2gNL5G1Uh
os-dev-report
{ "issue": 36732, "status": "rework", "branch": "claude/project-thread-v08i7b", "pr": "https://github.com/objectstack-ai/objectstack/pull/36738", "session": "session_01JQwxbWjmw77uT2gNL5G1Uh", "premise_still_valid": true, "summary": "Items 1-4 and 6 built on head c2000776. From 768 px up a sign-in, the SSO callback, / and the old /home address land in the last-used app (while still active and not hidden), else the declared isDefault app, else the first product app (Setup and platform built-ins excluded); with no product app /home draws only the no-apps empty state with the sidebar's Add-app doors. Home affordances (useHomePath) follow the same order via the exported resolveDesktopHomePath, held equal to the console resolver by a parity test. Phone unchanged. Item 6 needed no change (bell = unread topics + pending approvals already). Status is rework only because item 5 (admin checklist placement) awaits the maintainer's pick; until then an admin with a product app no longer sees the checklist on desktop, and the PR stays draft.", "tests": "Under os-verify-lock: 8 previously failing files -> Test Files 8 passed (8), Tests 107 passed (107); HomePage.desktopNoApps-36732 + AppContent.deniedVsUnpublished + homePath -> 3 passed (3), 42 passed (42); packages/i18n -> 106 passed (106), 1978 passed, 13 skipped. New cases: resolveDesktopLandingPath, desktop route landing + wait + retired /home (4), desktop parity, useHomePath phone/desktop, resolveDesktopHomePath, SSO callback, desktop no-apps empty state (5). Browser: local showcase stack, 1280x800 and 375x812, 7 frames described in the PR Verification table (desktop first sign-in -> showcase app; no product app -> empty state; last app Setup -> sign-in and /home land in Setup; signed-out deep link kept; phone /home still the app list).", "gates": "exit 0: check-changeset-no-major, check-empty-changeset, check-adr-0087-registration, check:undeclared-dep-imports, check:test-source-alias (after warm-import fix in 2 edited tests), check:cross-package-test-inputs, check:role-word, check:nul-bytes, check:published-files, check-sdui-manifest. UI type-check NOT MEASURED as a verdict locally (built @object-ui declarations absent; touched-file filter found and fixed one real error); CI Type Check UI and full suites are the verdict, in_progress at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0 GitHub writes via MCP; subscribe_pr_activity (harness) only", "api_writes": "2 — fleet relay pr_create (POST pulls + POST issues/36738/assignees), this report comment via post-stamped", "open_questions": [ { "question": "Item 5: where does the admin first-run checklist go once the desktop home page retires?", "options": ["A the first page of the Setup app", "B an admin banner inside apps"], "recommendation": "A, sent to the seat earlier; build waits for the maintainer's pick" } ], "security_findings": "none", "out_of_scope_findings": [] }Generated by Claude Code
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Item 5 re-ruled by the maintainer at 2026-11-23 15:21Z, decision card 「合并表单+侧栏小条」: 「基本信息合成一张表单一次保存;其余改可选;侧栏底部「开始使用 2/6」小条,系统设置第一页留完整清单。」
Split by the seat:
/homeretires.feat(console): an administrator's first-run checklist sits at the top…
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWjmw77uT2gNL5G1Uh
os-dev-report
{ "issue": 36732, "status": "done", "branch": "claude/project-thread-v08i7b", "pr": "https://github.com/objectstack-ai/objectstack/pull/36738", "session": "session_01JQwxbWjmw77uT2gNL5G1Uh", "premise_still_valid": true, "summary": "Supersedes the earlier report on this card (that one was rework pending item 5). Head 5317dbf4 adds item 5 per the maintainer's pick A (comment 7105083177): from 768 px up the first-run checklist sits at the top of the Setup app's first page, the page Setup's root lands on for this member (same resolveLandingRoute over the same member-shown trees AppRootLanding reads), through a new exported app-shell slot SetupFirstPageSlotProvider that the console fills with FirstRunChecklist. The checklist keeps its own rules (admins only, hidden once done, dismissable); the no-apps empty state keeps it; phone unchanged. Items 1-4 and 6 as reported before.", "tests": "AppContent.setupFirstPage-36732: 7 passed (7); ablation with the Setup and landing-page gates removed: 2 failed | 5 passed, restored. Neighbours at 5317dbf4: app-shell AppContent*, console AppContent*, FirstRunChecklist, firstRunChecklist*, App.homePermissions-12700: Test Files 57 passed (57), Tests 561 passed (561). Browser at 1280 and 375: checklist on Setup's first page, absent on a business app and on another Setup page, phone unchanged; frames named in the PR Verification table.", "gates": "exit 0 at 5317dbf4: check:test-source-alias, check:undeclared-dep-imports, check:nul-bytes, check:cross-package-test-inputs, check-empty-changeset, check-changeset-no-major, check:published-files. app-shell tsc filtered: no new errors (2138 lines before and after). CI check-runs are the verdict, in_progress at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0 GitHub writes via MCP", "api_writes": "4 — relay pr_create (PR + assignee), first report comment, issue_patch of the PR body (signed trailer), this comment", "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: none · noted, not filed — a phone admin with apps sees no first-run checklist anywhere; pre-existing since the phone /home became the app list alone, unchanged here"] }Generated by Claude Code
fix(console): the desktop landing and Home never open an app a permis…
test(console): the AI-unavailable Home follows the desktop landing; a…
fix(console): Home outside the /me/apps answer names /home, never an …
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Cleared · 2026-11-23T19:47Z: closed by the merge of #36738. The seat takes
pm:dispatchedand its assignee off.