docs(desktop): update resolveNewSessionCwd priority comment for detached-everywhere
The remote remembered cwd is no longer a bare-new-session default after the #57911 fix; the comment listed it as priority 2. Follow-up from salvage self-review of PR #57926.
This commit is contained in:
@@ -208,7 +208,9 @@ export function goToProject(id: string, options?: { newSession?: boolean }): voi
|
||||
//
|
||||
// Priority (first hit wins):
|
||||
// 1. Explicit sidebar project scope (drilled into a project / Home bucket)
|
||||
// 2. Configured default project dir / remote remembered cwd (detached otherwise)
|
||||
// 2. Configured default project dir (detached otherwise — in BOTH local and
|
||||
// remote mode; a bare new chat never inherits the sticky remembered cwd,
|
||||
// #57911 / #84220)
|
||||
//
|
||||
// The "active project" is just an atom ($projectScope) — so inside a project a
|
||||
// new session (cmd-n, the trunk "+") starts at that project's root (its primary
|
||||
|
||||
Reference in New Issue
Block a user