Add new directory button #66

Merged
miro merged 3 commits from claude/directory-creation-43e778 into main 2026-10-11 09:52:36 +00:00
Owner

Summary

  • Add a New directory button next to Upload on directory pages, backed by a createDirectory server function (validates the name, refuses to overwrite an existing path).
  • Hide Upload and New directory inside the trash.
  • pnpm dev now also runs docker/bootstrap.mjs --only (new dev:bootstrap task) so storage and .trash exist on the dev WebDAV server. Without --only the script still starts the server, so Docker is unchanged.

Test plan

  • tsc --noEmit and biome check pass
  • dev:bootstrap creates both directories against a local rclone WebDAV server
  • Create a directory in the UI, including a duplicate name and invalid names (/, ..)
  • Confirm the buttons are hidden under Trash
## Summary - Add a **New directory** button next to Upload on directory pages, backed by a `createDirectory` server function (validates the name, refuses to overwrite an existing path). - Hide Upload and New directory inside the trash. - `pnpm dev` now also runs `docker/bootstrap.mjs --only` (new `dev:bootstrap` task) so `storage` and `.trash` exist on the dev WebDAV server. Without `--only` the script still starts the server, so Docker is unchanged. ## Test plan - [x] `tsc --noEmit` and `biome check` pass - [x] `dev:bootstrap` creates both directories against a local rclone WebDAV server - [ ] Create a directory in the UI, including a duplicate name and invalid names (`/`, `..`) - [x] Confirm the buttons are hidden under Trash
Add new directory button and run bootstrap in dev
All checks were successful
CI / format (pull_request) Successful in 25s
CI / lint (pull_request) Successful in 43s
CI / typecheck (pull_request) Successful in 43s
CI / knip (pull_request) Successful in 44s
CI / test (pull_request) Successful in 45s
CI / build (pull_request) Successful in 36s
CI / docker (arm64, docker-arm64) (pull_request) Successful in 27s
E2E / playwright (pull_request) Successful in 46s
CI / docker (amd64, docker-amd64) (pull_request) Successful in 34s
CI / manifest (pull_request) Has been skipped
a9d135df6f
- createDirectory server function and New directory dialog next to Upload
- hide Upload and New directory in the trash
- pnpm dev now creates the storage and .trash directories (bootstrap --only)
Add e2e tests for new directory validation and trash buttons
Some checks failed
CI / lint (pull_request) Successful in 28s
CI / format (pull_request) Successful in 41s
CI / test (pull_request) Successful in 45s
CI / typecheck (pull_request) Successful in 45s
CI / knip (pull_request) Successful in 47s
CI / docker (arm64, docker-arm64) (pull_request) Successful in 13s
CI / build (pull_request) Successful in 35s
CI / docker (amd64, docker-amd64) (pull_request) Successful in 14s
CI / manifest (pull_request) Has been skipped
E2E / playwright (pull_request) Failing after 2m12s
e1b4516542
Start a WebDAV server in the e2e workflow
All checks were successful
CI / format (pull_request) Successful in 27s
CI / lint (pull_request) Successful in 40s
CI / typecheck (pull_request) Successful in 42s
CI / docker (arm64, docker-arm64) (pull_request) Successful in 4s
CI / test (pull_request) Successful in 45s
CI / knip (pull_request) Successful in 47s
CI / build (pull_request) Successful in 35s
CI / docker (amd64, docker-amd64) (pull_request) Successful in 3s
CI / manifest (pull_request) Has been skipped
E2E / playwright (pull_request) Successful in 50s
989550b4ef
miro merged commit f8f90cceb1 into main 2026-10-11 09:52:36 +00:00
miro deleted branch claude/directory-creation-43e778 2026-10-11 09:52:36 +00:00
miro referenced this pull request from a commit 2026-10-11 09:52:36 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miro/files!66
No description provided.