fix(app): Library and Archive delete, quick actions and toolbar after review

Delete… runs in an in-window dialog shared by the Library and the Archive
manager: the dry run and the move into the trash report progress and stop
on Cancel, the toast counts only what really moved, and its Undo reports
failures. The confirmation names at most six moves and three refusals in
the UI font. Delete… stands apart at the far right of both bars and last
in the tab order.

The toolbar's filters wrap instead of pushing out the right-hand group at
1200 px. Card and row quick actions show while selected or focused, so Tab
reaches them; Analyse and Render are disabled with a reason when nothing
can run them, and say so in a toast if the session drops. Remote cards get
their own card, Analyse and Render tooltips; the details panel's Folder and
the saved-view menu say why they are disabled. Status offers Rendered, Not
rendered and Synced. Remote cards count in the Year and Camera choices and
the timeline. The trash dialog shows one sentence when empty.

--capture adds archive-trash and library-viewname.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-06 08:06:14 +00:00
1 parent 992834988d
commit 04895c7b7b
29 files changed
+602 -170

No files matched your search

+7
View File
@@ -36,6 +36,7 @@
<data name="Archive.Copy.Title" xml:space="preserve"><value>Folder to copy into the archive</value><comment>long</comment></data>
<data name="Archive.Delete.Action" xml:space="preserve"><value>Move to trash</value></data>
<data name="Archive.Delete.Blocked" xml:space="preserve"><value>Not moved: {0} · {1}</value><comment>long</comment></data>
<data name="Archive.Delete.Checking" xml:space="preserve"><value>Checking {0} of {1}…</value><comment>long</comment></data>
<data name="Archive.Delete.Done.one" xml:space="preserve"><value>{0:N0} sequence moved to the trash</value><comment>long</comment></data>
<data name="Archive.Delete.Done.other" xml:space="preserve"><value>{0:N0} sequences moved to the trash</value><comment>long</comment></data>
<data name="Archive.Delete.Failed" xml:space="preserve"><value>The sequences could not move to the trash</value><comment>long</comment></data>
@@ -49,12 +50,18 @@
<data name="Archive.Delete.Message" xml:space="preserve"><value>{0} and {1} ({2}) leave the library and move to the archive's trash; nothing is erased.</value><comment>long</comment></data>
<data name="Archive.Delete.More.one" xml:space="preserve"><value>+ {0:N0} more</value><comment>long</comment></data>
<data name="Archive.Delete.More.other" xml:space="preserve"><value>+ {0:N0} more</value><comment>long</comment></data>
<data name="Archive.Delete.Moving" xml:space="preserve"><value>Moving to the trash: {0} of {1}</value><comment>long</comment></data>
<data name="Archive.Delete.Nothing" xml:space="preserve"><value>Nothing can move to the trash</value><comment>long</comment></data>
<data name="Archive.Delete.Progress.one" xml:space="preserve"><value>Deleting {0:N0} sequence</value><comment>long</comment></data>
<data name="Archive.Delete.Progress.other" xml:space="preserve"><value>Deleting {0:N0} sequences</value><comment>long</comment></data>
<data name="Archive.Delete.Reason.ArchiveRoot" xml:space="preserve"><value>its photos are the archive root</value><comment>long</comment></data>
<data name="Archive.Delete.Reason.Busy" xml:space="preserve"><value>a job is working on it</value><comment>long</comment></data>
<data name="Archive.Delete.Reason.ContainsSequences" xml:space="preserve"><value>other sequences are inside its folder</value><comment>long</comment></data>
<data name="Archive.Delete.Reason.FolderMissing" xml:space="preserve"><value>its folder is missing; the Orphans check removes it</value><comment>long</comment></data>
<data name="Archive.Delete.Reason.ForeignSidecar" xml:space="preserve"><value>its folder holds another sequence; scan the archive first</value><comment>long</comment></data>
<data name="Archive.Delete.Reason.Offline" xml:space="preserve"><value>the archive is offline or read-only</value><comment>long</comment></data>
<data name="Archive.Delete.Removed.one" xml:space="preserve"><value>{0:N0} empty sequence removed</value><comment>long</comment></data>
<data name="Archive.Delete.Removed.other" xml:space="preserve"><value>{0:N0} empty sequences removed</value><comment>long</comment></data>
<data name="Archive.Delete.Type" xml:space="preserve"><value>Type {0} to confirm</value><comment>long</comment></data>
<data name="Archive.Delete.Undo" xml:space="preserve"><value>Undo</value></data>
<data name="Archive.Dialog.Cancel" xml:space="preserve"><value>Cancel</value></data>