mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-05 06:59:42 +02:00
docs(file-picker): state the Home/cases nesting the right way round, and document the new fallback chain
The two merge-time edits the #383 review asked for. The comment above the picker's fallback chain said Home is nested under Codeman Cases; on the native default it is the other way round (~/codeman-cases sits inside ~). And the "Filesystem path picker" paragraph in architecture-invariants still said the picker falls back to /mnt/d, which #383 changed to: the session's Current Folder, then the Codeman Cases root, then /mnt/d, then the first root. No code behaviour changes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -574,8 +574,8 @@ async function resolveFilesystemPickerPath(
|
||||
// With no explicit path (the "Link Existing" case picker, which passes no
|
||||
// sessionId and an empty initialPath until the user has typed something),
|
||||
// land on the shared cases root rather than falling through to whichever
|
||||
// root happens to be first. `Home` is only nested under `Codeman Cases` on
|
||||
// the native default (~/codeman-cases); a Docker deployment binds them at
|
||||
// root happens to be first. `Codeman Cases` sits inside `Home` only on the
|
||||
// native default (~/codeman-cases); a Docker deployment binds them at
|
||||
// unrelated host paths (CODEMAN_APPDATA_PATH vs CODEMAN_CASES_PATH), so a
|
||||
// Home-first fallback opened the picker somewhere with no cases in sight —
|
||||
// and, worse, made an OLD case folder left behind by a since-changed
|
||||
|
||||
Reference in New Issue
Block a user