Review of owner review 2, phase 4a (R7): the Reorganize dialogs of the desktop and the web panel.
Desktop
- Clicking Apply first takes the focus from the template field, which committed it and started
a dry run identical to the one on screen: Apply turned off under the click. A commit now plans
only when the templates differ from the shown plan (or the last dry run failed).
- The Settings toast's Reorganize… disposed whatever dialog the Archive screen had open, so a
running Delete stopped without being asked. An open dialog now stays and its archive is not
switched; Reorganize says it waits and opens once that dialog closes, with the archive's
templates read again and every part the toasts offered meanwhile.
- Each Settings toast takes its own archive's offer (one pending offer per archive), and a toast
gone early (dismissed, pushed out) lets the next change of that archive raise its own toast:
Toast.Closed now says when a toast leaves the screen.
Web panel
- The Library sends the selected ids up to a thousand. all:true is used only above that, when
the selection is exactly what Select all fetched without a filter and the archive has not grown
since, so a sequence unticked or added later is never reorganized; otherwise the toast asks to
select again.
- The preview's "before" of an untitled sequence is its old name, not the new title twice.
- A dry run of the same request answering during the confirmation no longer drops the confirmed
apply; a plan that really changed is shown and said (Admin.Reorganize.PlanChanged).
- Enter in a template plans at once (the form never submitted on Enter).
- The confirm tooltip and the module header no longer say the moves are verified: moves and
renames are not hashed.
Strings in en and it; the reworded key exists in no other culture.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit bed718fb5af2ef69943fd348690c689259872a34)
Owner review 2, R7 asks to rename and move sequences after import, on the web panel too.
The Library's mass bar gets Reorganize… for the selection (every sequence after Select all
without a filter, else at most a thousand ids), and saving a changed folder or file template
on the Archive page offers it for all sequences in the save toast.
The dialog (reorganize.js) has a switch and a field for the folder, file and title templates,
prefilled from the archive settings; each change asks POST /archive/reorganize for a dry run,
one request at a time, and the table shows every step before and after (title, folder, renamed
files with samples, photos that keep their names and why). Apply confirms with the counts of
sequences, folders and photos, sends the shown plan's fingerprint back, and the toast links to
the queued job; a plan_changed refusal plans again. Server refusals land on the field they name.
Toasts can carry an action; the audit entry archive_reorganized reads as a sentence.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 13939dff9a1e8a23ce7802ac38f2ded7fdbc2a74)