docs(picker): name both pickers in the manual and cover the clone picker in the New folder test

This commit is contained in:
Devvyn committed 2026-11-05 08:15:40 +08:00
1 parent cddfb48ea6
commit b89de128e1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ choice is remembered per device. The picker inserts the path into your prompt
**without** pressing Enter, so nothing is submitted by accident. Its sibling **⌫ All**
key clears the unsent prompt, and never sends the agent's `/clear` command.
In **Link Existing**'s picker, **+📁** (New folder) makes a folder inside the folder you
In the **Link Existing** and **Create New** (custom folder) pickers, **+📁** (New folder) makes a folder inside the folder you
are viewing and selects it. Names use letters, numbers, spaces and `_ - . ~` (not starting
with a dot or `~`). The cases folder is refused, since every folder there is already a
case: use **Add Case → New Case** instead.
+1 -1
View File
@@ -179,7 +179,7 @@ describe('PathPicker New folder', () => {
return sessionUiJs.slice(start, sessionUiJs.indexOf('PathPicker.open', start) + 400);
};
expect(block('openLinkCasePathPicker')).toContain('allowNewFolder: true');
for (const other of ['openDockerWorkspacePathPicker', 'openDockerWorkdirPicker']) {
for (const other of ['openDockerWorkspacePathPicker', 'openDockerWorkdirPicker', 'openCloneCasePathPicker']) {
expect(block(other), other).not.toContain('allowNewFolder');
}
});