diff --git a/CHANGELOG.md b/CHANGELOG.md index d4c0a0d93..27229431b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -339,6 +339,10 @@ public 50 the old detector named an example's `samples.csv` and the input are working in, so a setting you had overridden for a subtree kept applying. The nearest folder takes precedence, as the project's own config files already did. +- **A project without a name shows its folder again on Windows.** The fallback + label was taken by splitting the path on `/`, so on a Windows server the + project list, the workbench header, and the command palette showed the full + path where the rest of the interface shows just the folder. - **A dropped connection no longer pauses an Ace turn after a minute.** A turn checks the Wallet balance before it sends anything, and a check that could not reach the Wallet spent the five quick retries meant for provider diff --git a/frontend/workspace/src/pages/home-projects.test.ts b/frontend/workspace/src/pages/home-projects.test.ts new file mode 100644 index 000000000..0b27ad146 Binary files /dev/null and b/frontend/workspace/src/pages/home-projects.test.ts differ diff --git a/frontend/workspace/src/pages/home-projects.ts b/frontend/workspace/src/pages/home-projects.ts index c4896ba7a..f9ebf0d20 100644 --- a/frontend/workspace/src/pages/home-projects.ts +++ b/frontend/workspace/src/pages/home-projects.ts @@ -44,7 +44,9 @@ function uniqueProjects(projects: ProjectRecord[]) { function folderName(worktree: string) { if (worktree === "/") return "/" - const parts = worktree.split("/").filter(Boolean) + // The server reports native separators, so a Windows worktree arrives with + // backslashes and a forward-slash split would return the whole path. + const parts = worktree.split(/[\\/]/).filter(Boolean) return parts.at(-1) ?? worktree }