feat(move): "move to folder" for grid selections, folders, and m shortcut #3

Merged
dtoro merged 1 commits from claude/infallible-sammet-3471fa into main 2026-06-18 00:40:25 +02:00
Owner

Extends the heap-only "move to folder" action to grid single/bulk
selections, sidebar folders, and an m keyboard shortcut — all through
one shared dialog driven by a moveDialog store.

Backend (sidecar):

  • Extract the heap move/copy + reindex loop into a reusable movePhotoFiles
    helper plus resolveMoveTarget
  • POST /photos/move: move/copy an arbitrary UID list into a folder
  • POST /folders/:rel/move: reparent a folder dir (whole subtree) under a
    new parent, guarding against moving into itself/a descendant

Frontend:

  • moveDialog store + generalized MoveToFolderDialog (heap | photos | folder
    subjects); mounted once in +layout.svelte. Replaces HeapConvertDialog
  • movePhotosToFolder / moveFolder service fns
  • Entry points: BulkActionBar button, gridKeyNav m, FolderTree kebab,
    heap kebab — all call openMove()

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

Extends the heap-only "move to folder" action to grid single/bulk selections, sidebar folders, and an `m` keyboard shortcut — all through one shared dialog driven by a moveDialog store. Backend (sidecar): - Extract the heap move/copy + reindex loop into a reusable movePhotoFiles helper plus resolveMoveTarget - POST /photos/move: move/copy an arbitrary UID list into a folder - POST /folders/:rel/move: reparent a folder dir (whole subtree) under a new parent, guarding against moving into itself/a descendant Frontend: - moveDialog store + generalized MoveToFolderDialog (heap | photos | folder subjects); mounted once in +layout.svelte. Replaces HeapConvertDialog - movePhotosToFolder / moveFolder service fns - Entry points: BulkActionBar button, gridKeyNav `m`, FolderTree kebab, heap kebab — all call openMove() Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
dtoro added 1 commit 2026-06-18 00:40:21 +02:00
Extends the heap-only "move to folder" action to grid single/bulk
selections, sidebar folders, and an `m` keyboard shortcut — all through
one shared dialog driven by a moveDialog store.

Backend (sidecar):
- Extract the heap move/copy + reindex loop into a reusable movePhotoFiles
  helper plus resolveMoveTarget
- POST /photos/move: move/copy an arbitrary UID list into a folder
- POST /folders/:rel/move: reparent a folder dir (whole subtree) under a
  new parent, guarding against moving into itself/a descendant

Frontend:
- moveDialog store + generalized MoveToFolderDialog (heap | photos | folder
  subjects); mounted once in +layout.svelte. Replaces HeapConvertDialog
- movePhotosToFolder / moveFolder service fns
- Entry points: BulkActionBar button, gridKeyNav `m`, FolderTree kebab,
  heap kebab — all call openMove()

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
dtoro merged commit 669e5fde33 into main 2026-06-18 00:40:25 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dtoro/mule-image#3