Skip to content

Add directory creation to the folder picker - #895

Closed
Ingress007 wants to merge 1 commit into
agegr:mainfrom
Ingress007:feat/directory-picker-create-folder
Closed

Ingress007 wants to merge 1 commit into
agegr:mainfrom
Ingress007:feat/directory-picker-create-folder

Conversation

@Ingress007

Copy link
Copy Markdown

Summary

  • add a left-aligned New directory action to the directory picker footer
  • open a compact, picker-styled dialog with Create and select, Create, and Cancel actions
  • start directory browsing from the currently selected project, preserving the existing picker behavior
  • create only one direct child of the browsed directory and report invalid names, conflicts, missing parents, and permission errors
  • protect the mutating endpoint with the project's request-origin and JSON content-type checks
  • add English, Simplified Chinese, and Traditional Chinese translations
  • add coverage for API security and creation, path safety, picker behavior/style, current-project initialization, and locale parity

Tests

  • node_modules/.bin/tsc --noEmit ✅
  • npm run lint ✅
  • focused tests: 18 passed ✅
  • local HTTP creation smoke test against the development server ✅
  • npm test: 1070 passed, 12 failed, 2 skipped. The 12 failures match the pre-existing Windows baseline (path separators, CRLF-sensitive source assertions, model fixture, and native PTY lifecycle tests); this change adds no full-suite failures.

@Ingress007
Ingress007 force-pushed the feat/directory-picker-create-folder branch from 8b9a563 to e98ec08 Compare September 19, 2026 10:36
@Ingress007

Copy link
Copy Markdown
Author

Closing at the author's request so the submitted file set can be corrected.

@Ingress007 Ingress007 closed this Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant