From 20b9654c33054540cb078c93b2c23fadf89e1247 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 3 Oct 2026 11:50:43 +0000 Subject: [PATCH] feat(app): complete the Library: timeline, saved views, quick and mass actions, remote cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Library gets a third layout (year bands of photos per month over the card grid; a month narrows to its year and scrolls to it), saved views stored as app-scope settings rows, hover quick actions on cards and rows (open, analyse, render the sequence's preset, sync), the full mass actions bar (analyse, proxies, verify, tags, rating, move, upload, download, delete into the trash, CSV) with each button's reason when it cannot run, and, while signed in, the server's sequences without a local copy as remote cards filterable by origin. Delete shows the engine's dry run behind a typed confirmation and offers Undo; the Archive manager gets Delete… and a Trash dialog that restores sequences. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC --- i18n/en/Archive.resx | 36 + i18n/en/Library.resx | 49 ++ i18n/en/Tooltips.resx | 51 ++ i18n/it/Archive.it.resx | 35 + i18n/it/Library.it.resx | 49 ++ i18n/it/Server.it.resx | 2 +- i18n/it/Tooltips.it.resx | 51 ++ src/Titano.App/Archive/ArchiveDialogs.xaml | 177 +++++ src/Titano.App/Archive/DeletePlans.cs | 47 ++ src/Titano.App/Archive/SequenceDeletion.cs | 78 ++ .../Archive/TrashDialogViewModel.cs | 109 +++ src/Titano.App/Infrastructure/AppSettings.cs | 3 + src/Titano.App/Library/LibraryActions.cs | 217 ++++++ src/Titano.App/Library/LibraryFilter.cs | 55 +- src/Titano.App/Library/LibraryTimeline.cs | 63 ++ src/Titano.App/Library/MassActions.cs | 126 ++++ src/Titano.App/Library/RemoteCards.cs | 109 +++ src/Titano.App/Library/RemoteThumbnails.cs | 87 +++ src/Titano.App/Library/SavedViews.cs | 91 +++ src/Titano.App/Library/SequenceItem.cs | 57 +- src/Titano.App/Library/ThumbnailService.cs | 4 +- .../Library/ViewNameDialogViewModel.cs | 52 ++ src/Titano.App/Sections/ArchiveView.xaml | 183 +---- src/Titano.App/Sections/ArchiveViewModel.cs | 30 +- src/Titano.App/Sections/LibraryView.xaml | 524 +++++++++----- src/Titano.App/Sections/LibraryView.xaml.cs | 54 +- src/Titano.App/Sections/LibraryViewModel.cs | 665 ++++++++++++++++-- 27 files changed, 2582 insertions(+), 422 deletions(-) create mode 100644 src/Titano.App/Archive/ArchiveDialogs.xaml create mode 100644 src/Titano.App/Archive/DeletePlans.cs create mode 100644 src/Titano.App/Archive/SequenceDeletion.cs create mode 100644 src/Titano.App/Archive/TrashDialogViewModel.cs create mode 100644 src/Titano.App/Library/LibraryActions.cs create mode 100644 src/Titano.App/Library/LibraryTimeline.cs create mode 100644 src/Titano.App/Library/MassActions.cs create mode 100644 src/Titano.App/Library/RemoteCards.cs create mode 100644 src/Titano.App/Library/RemoteThumbnails.cs create mode 100644 src/Titano.App/Library/SavedViews.cs create mode 100644 src/Titano.App/Library/ViewNameDialogViewModel.cs diff --git a/i18n/en/Archive.resx b/i18n/en/Archive.resx index 2b9444d0..35b8275d 100644 --- a/i18n/en/Archive.resx +++ b/i18n/en/Archive.resx @@ -34,7 +34,31 @@ Remove {0} from the index?long Its sidecar is gone. Only the index row is removed; no file is deleted.long Folder to copy into the archivelong + Move to trash + Not moved: {0} · {1}long + {0:N0} sequence moved to the trashlong + {0:N0} sequences moved to the trashlong + The sequences could not move to the trashlong + {0:N0} file + {0:N0} files + Move {0:N0} sequence to the trash?long + Move {0:N0} sequences to the trash?long + Keep + They stay in the archive's trash, restorable from Maintenance.long + {0} · {1} · {2}invariant + {0} and {1} ({2}) leave the library and move to the archive's trash; nothing is erased.long + + {0:N0} morelong + + {0:N0} morelong + Nothing can move to the trashlong + its photos are the archive rootlong + a job is working on itlong + other sequences are inside its folderlong + its folder holds another sequence; scan the archive firstlong + the archive is offline or read-onlylong + Type {0} to confirmlong + Undo Cancel + Close {0:N0} copy {0:N0} copies Folder @@ -98,6 +122,7 @@ Rebuild proxies Relink moved archive… Run maintenance + Trash… {0:N0} issue {0:N0} issues The orphan search stoppedlong @@ -153,6 +178,7 @@ {0:N0} sequences · all Analyse Clear filter + Delete… Export CSV Set filter Filtered set @@ -182,6 +208,16 @@ Rebuild index… Scan Verify + Deleted {0}long + The trash is emptylong + The sequence could not come back from the trashlong + Trash · {0}long + Deleted sequences + Reading the trash… + Restore + {0:N0} sequence restoredlong + {0:N0} sequences restoredlong + Restoring {0}…long Archive tree Undated Maintenance diff --git a/i18n/en/Library.resx b/i18n/en/Library.resx index cc92b057..92208d8b 100644 --- a/i18n/en/Library.resx +++ b/i18n/en/Library.resx @@ -6,12 +6,32 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Analyse Clear selection + Delete… + Download Export list Folder + Move… Open Proxies + Rating + Render + Sync + Tags… + Upload Verify Adopt a folder + Move works on the sequences of one archive at a time.long + The same on this PC and on the server: nothing to sync.long + Your server account cannot download originals.long + The library index is not open.long + Select one or more sequences first.long + Your server account cannot change this sequence.long + Your server account cannot upload.long + Sign in to a Titano Server first, on the Server screen.long + The selected sequences have nothing to fetch from the server.long + The server already has what the selected sequences hold.long + Only for sequences on this PC; the selection lives on the server.long + A transfer of this sequence is already under way.long Clear filters Camera Date @@ -32,10 +52,14 @@ Show Export the list to All cameras + This PC and server Any status All tags All years Camera + Origin + On this PC + Only on server Status Analysed Without proxies @@ -48,7 +72,13 @@ Year {0} s No sequences match the filters + The server did not accept the joblong {0} queued · {1} + Sent to the server: {0} · {1}long + The rating could not be savedlong + No rating + {0:N0} star + {0:N0} stars Rescan Search title, camera, tag {0:N0} selected @@ -65,7 +95,26 @@ Proxies Remote Synced + {0:N0} transfer queuedlong + {0:N0} transfers queuedlong View Grid List + Timeline + Saved views + Show view + Delete view + View {0} deletedlong + Give the view a name.long + At most {0} characters, no control characters.long + Another view already has this name.long + Name + Rename view + Rename view… + View renamed to {0}long + Save + Save view + Save view… + View {0} savedlong + Undo diff --git a/i18n/en/Tooltips.resx b/i18n/en/Tooltips.resx index 2601110d..1109f1c3 100644 --- a/i18n/en/Tooltips.resx +++ b/i18n/en/Tooltips.resx @@ -29,6 +29,11 @@ Show every sequence of the selection again Close without changing anything · Esc Hide the sequences of this year + Move {0:N0} sequence to the trash; type the number above first + Move {0:N0} sequences to the trash; type the number above first + Change nothing + What moves to the archive's trash, and what cannot move + Bring the sequences back from the trash into their folders Show the folder of the first copy in Explorer Open the sequence of the first copy in the editor Find identical photos across sequences by hash · reads the index only @@ -72,6 +77,7 @@ Incremental scan: new, changed and removed files by modification time and size The selected years and sequences (all when nothing is selected), narrowed by camera, status or tag Run the deep analysis on every sequence in the set + Move the set to the archive's trash · shows the dry run, then asks you to type to confirm Export the set as CSV: one row per sequence Move the set into a new folder layout · dry run first Generate or refresh proxies @@ -84,6 +90,8 @@ Tags to add, separated by commas Tags to remove, separated by commas Title template; the title token is the current title · checked as you type + The sequences deleted from this archive, each one restorable + Move this sequence back into its folder and the library, with its settings and renders Re-hash every original and report bit rot · reads the whole archive {0} · Right arrow opens the year, Left arrow closes it Dismiss @@ -306,10 +314,40 @@ Cards with thumbnails Copy and verify photos from a memory card Table with sortable columns + Deep analysis of {0:N0} sequence on this PC · runs as one job + Deep analysis of {0:N0} sequences on this PC · runs as one job + Move {0:N0} sequence to its archive's trash · shows the dry run, then asks you to type to confirm + Move {0:N0} sequences to their archive's trash · shows the dry run, then asks you to type to confirm + Fetch what {0:N0} sequence lacks here (originals or renders) from the server · runs as a transfer job + Fetch what {0:N0} sequences lack here (originals or renders) from the server · runs as transfer jobs + Save {0:N0} row as CSV in a folder you choose + Save {0:N0} rows as CSV in a folder you choose + Move {0:N0} sequence into a new folder layout of its archive · shows the dry run first + Move {0:N0} sequences into a new folder layout of their archive · shows the dry run first + Build JPEG proxies of {0:N0} sequence · runs as one job + Build JPEG proxies of {0:N0} sequences · runs as one job + Set the rating of {0:N0} sequence, in its sidecar and the index + Set the rating of {0:N0} sequences, in their sidecars and the index + Add or remove tags on {0:N0} sequence + Add or remove tags on {0:N0} sequences + Send what the server lacks of {0:N0} sequence (originals and settings, or renders) · runs as a transfer job + Send what the server lacks of {0:N0} sequences (originals and settings, or renders) · runs as transfer jobs + Re-read {0:N0} sequence and compare every hash with the index · runs as a job + Re-read {0:N0} sequences and compare every hash with the index · runs as a job per archive Open in the sequence editor · Enter Use an existing archive folder on this PC or the network + Show the sequences on this PC, only those on the server, or both Build JPEG proxies for fast editing · runs as a job Build proxies of the selected sequences · runs as one job + Queue a render with {0}, this sequence's recommended or default preset · runs as a job + Render with {0} on the server, where the originals are · the server or a render node runs it + Fetch the server's originals this PC lacks, verified by hash · runs as a transfer job + Fetch the server's renders this sequence lacks · runs as a transfer job + Settings changed here and on the server; choose what to keep on the Server screen + Send the renders of this sequence the server lacks · runs as a transfer job + Send or take the settings changed on one side + Send the originals and settings the server lacks · runs as a transfer job + Give the selection this rating Rescan the archive for changes · runs as a job Click selects · double-click opens Search titles, camera makes and models, and tags as you type @@ -337,8 +375,21 @@ {0:N0} warning; open the sequence for details {0:N0} warnings; open the sequence for details Show only one tag + Year bands with photos per month above the cards + Click a month to show its year and scroll to its sequences Re-read every file and compare its hash with the index · runs as a job Verify the hashes of the selected sequences · runs as one job + Show the search, filters and sort saved under this name + Forget the saved view on screen; no sequence is touched + A short name, such as "Night, 4K, not analysed" + Give the saved view on screen another name + Rename the view · Enter + Save the search, filters and sort on screen as a named view + Save the view · Enter + Save the deleted view again + Saved views: show one, or save the filters on screen + Saved view on screen: {0} + Choose a saved view to show Show only one year of first capture Version, diagnostics and links Scan, verify and maintain the archive · Ctrl+4 diff --git a/i18n/it/Archive.it.resx b/i18n/it/Archive.it.resx index d219e873..5a828515 100644 --- a/i18n/it/Archive.it.resx +++ b/i18n/it/Archive.it.resx @@ -31,7 +31,30 @@ Rimuovere {0} dall'indice? Il suo sidecar non c'è più. Viene rimossa solo la riga dell'indice; nessun file viene eliminato. Cartella da copiare nell'archivio + Sposta nel cestino + Non spostata: {0} · {1} + {0:N0} sequenza spostata nel cestino + {0:N0} sequenze spostate nel cestino + Impossibile spostare le sequenze nel cestino + {0:N0} file + {0:N0} file + Spostare {0:N0} sequenza nel cestino? + Spostare {0:N0} sequenze nel cestino? + Mantieni + Restano nel cestino dell'archivio, ripristinabili da Manutenzione. + {0} e {1} ({2}) escono dalla libreria e vanno nel cestino dell'archivio; non viene cancellato nulla. + + {0:N0} altra + + altre {0:N0} + Niente può andare nel cestino + le sue foto sono la radice dell'archivio + un'attività ci sta lavorando + altre sequenze stanno nella sua cartella + la sua cartella contiene un'altra sequenza; prima esegui una scansione + l'archivio non è raggiungibile o è di sola lettura + Digita {0} per confermare + Annulla Annulla + Chiudi {0:N0} copia {0:N0} copie Cartella @@ -94,6 +117,7 @@ Ricrea proxy Ricollega archivio spostato… Esegui manutenzione + Cestino… {0:N0} problema {0:N0} problemi Ricerca degli orfani interrotta @@ -148,6 +172,7 @@ {0:N0} sequenze · tutte Analizza Togli filtro + Elimina… Esporta CSV Filtro selezione Selezione @@ -176,6 +201,16 @@ Ricostruisci indice… Scansiona Verifica + Eliminata il {0} + Il cestino è vuoto + Impossibile ripristinare la sequenza dal cestino + Cestino · {0} + Sequenze eliminate + Lettura del cestino… + Ripristina + {0:N0} sequenza ripristinata + {0:N0} sequenze ripristinate + Ripristino di {0}… Albero dell'archivio Senza data Manutenzione diff --git a/i18n/it/Library.it.resx b/i18n/it/Library.it.resx index 5d75b9af..4265f7ad 100644 --- a/i18n/it/Library.it.resx +++ b/i18n/it/Library.it.resx @@ -6,12 +6,32 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Analizza Deseleziona tutto + Elimina… + Scarica Esporta elenco Cartella + Sposta… Apri Proxy + Voto + Renderizza + Sincronizza + Tag… + Carica Verifica Adotta una cartella + Lo spostamento agisce sulle sequenze di un solo archivio alla volta. + Uguale su questo PC e sul server: niente da sincronizzare. + Il tuo account sul server non può scaricare gli originali. + L'indice della libreria non è aperto. + Prima seleziona una o più sequenze. + Il tuo account sul server non può modificare questa sequenza. + Il tuo account sul server non può caricare. + Prima accedi a un Titano Server, nella schermata Server. + Le sequenze selezionate non hanno nulla da ricevere dal server. + Il server ha già tutto ciò che contengono le sequenze selezionate. + Solo per sequenze su questo PC; la selezione si trova sul server. + Un trasferimento di questa sequenza è già in corso. Azzera i filtri Fotocamera Data @@ -32,10 +52,14 @@ Mostra Esporta l'elenco in Tutte le fotocamere + Questo PC e server Qualsiasi stato Tutti i tag Tutti gli anni Fotocamera + Origine + Su questo PC + Solo sul server Stato Analizzate Senza proxy @@ -48,7 +72,13 @@ Anno {0} s Nessuna sequenza corrisponde + Il server non ha accettato l'attività {0} in coda · {1} + Inviato al server: {0} · {1} + Impossibile salvare il voto + Nessun voto + {0:N0} stella + {0:N0} stelle Ripeti scansione Cerca titolo, fotocamera, tag {0:N0} selezionata @@ -65,7 +95,26 @@ Proxy Remota Sincronizzata + {0:N0} trasferimento in coda + {0:N0} trasferimenti in coda Vista Griglia Elenco + Cronologia + Viste salvate + Mostra vista + Elimina vista + Vista {0} eliminata + Dai un nome alla vista. + Al massimo {0} caratteri, senza caratteri di controllo. + Un'altra vista ha già questo nome. + Nome + Rinomina vista + Rinomina vista… + Vista rinominata in {0} + Salva + Salva vista + Salva vista… + Vista {0} salvata + Annulla diff --git a/i18n/it/Server.it.resx b/i18n/it/Server.it.resx index 27661ba8..aaf6c9ae 100644 --- a/i18n/it/Server.it.resx +++ b/i18n/it/Server.it.resx @@ -64,7 +64,7 @@ Troppi tentativi; attendi un minuto e riprova. Scegli una password diversa da quella attuale. Non puoi farlo sul tuo account. - Un job sta lavorando su questa sequenza, oppure non può andare nel cestino; riprova quando è libera. + Un'attività sta lavorando su questa sequenza, oppure non può andare nel cestino; riprova quando è libera. La sessione è scaduta; accedi di nuovo. È impostato da una variabile d'ambiente; modificala lì. La sequenza è cambiata sul server; ricaricala e riapplica la modifica. diff --git a/i18n/it/Tooltips.it.resx b/i18n/it/Tooltips.it.resx index 2d899232..9c563bb1 100644 --- a/i18n/it/Tooltips.it.resx +++ b/i18n/it/Tooltips.it.resx @@ -29,6 +29,11 @@ Mostra di nuovo tutte le sequenze della selezione Chiudi senza modificare nulla · Esc Nascondi le sequenze di quest'anno + Sposta {0:N0} sequenza nel cestino; prima digita il numero indicato + Sposta {0:N0} sequenze nel cestino; prima digita il numero indicato + Non cambiare nulla + Cosa va nel cestino dell'archivio e cosa non può spostarsi + Riporta le sequenze dal cestino nelle loro cartelle Mostra in Esplora risorse la cartella della prima copia Apri nell'editor la sequenza della prima copia Trova foto identiche tra le sequenze tramite hash · legge solo l'indice @@ -72,6 +77,7 @@ Scansione incrementale: file nuovi, modificati e rimossi per data e dimensione Anni e sequenze selezionati (tutti se nulla è selezionato), ristretti per fotocamera, stato o tag Esegui l'analisi profonda su ogni sequenza della selezione + Sposta la selezione nel cestino dell'archivio · mostra prima la simulazione, poi chiede di digitare per confermare Esporta la selezione in CSV: una riga per sequenza Sposta la selezione in una nuova struttura di cartelle · prima la simulazione Crea o aggiorna i proxy @@ -84,6 +90,8 @@ Tag da aggiungere, separati da virgole Tag da rimuovere, separati da virgole Modello del titolo; il segnaposto title è il titolo attuale · controllato mentre scrivi + Le sequenze eliminate da questo archivio, ognuna ripristinabile + Riporta questa sequenza nella sua cartella e nella libreria, con impostazioni e render Ricalcola l'hash di ogni originale e segnala i danni · legge tutto l'archivio {0} · Freccia destra apre l'anno, freccia sinistra lo chiude Chiudi @@ -306,10 +314,40 @@ Schede con miniature Copia e verifica le foto da una scheda di memoria Tabella con colonne ordinabili + Analisi approfondita di {0:N0} sequenza su questo PC · un'unica attività + Analisi approfondita di {0:N0} sequenze su questo PC · un'unica attività + Sposta {0:N0} sequenza nel cestino del suo archivio · mostra prima la simulazione, poi chiede di digitare per confermare + Sposta {0:N0} sequenze nel cestino del loro archivio · mostra prima la simulazione, poi chiede di digitare per confermare + Ricevi dal server ciò che manca qui a {0:N0} sequenza (originali o render) · come attività di trasferimento + Ricevi dal server ciò che manca qui a {0:N0} sequenze (originali o render) · come attività di trasferimento + Salva {0:N0} riga come CSV in una cartella a tua scelta + Salva {0:N0} righe come CSV in una cartella a tua scelta + Sposta {0:N0} sequenza in una nuova struttura di cartelle del suo archivio · prima la simulazione + Sposta {0:N0} sequenze in una nuova struttura di cartelle del loro archivio · prima la simulazione + Crea i proxy JPEG di {0:N0} sequenza · un'unica attività + Crea i proxy JPEG di {0:N0} sequenze · un'unica attività + Imposta il voto di {0:N0} sequenza, nel sidecar e nell'indice + Imposta il voto di {0:N0} sequenze, nei sidecar e nell'indice + Aggiungi o rimuovi tag su {0:N0} sequenza + Aggiungi o rimuovi tag su {0:N0} sequenze + Invia ciò che manca al server di {0:N0} sequenza (originali e impostazioni, o render) · come attività di trasferimento + Invia ciò che manca al server di {0:N0} sequenze (originali e impostazioni, o render) · come attività di trasferimento + Rileggi {0:N0} sequenza e confronta ogni hash con l'indice · come attività + Rileggi {0:N0} sequenze e confronta ogni hash con l'indice · un'attività per archivio Apre nell'editor della sequenza · Invio Usa una cartella archivio esistente su questo PC o in rete + Mostra le sequenze su questo PC, solo quelle sul server o entrambe Crea proxy JPEG per una modifica veloce · viene eseguita come attività Crea i proxy delle sequenze selezionate · un'unica attività + Metti in coda un render con {0}, il preset consigliato o predefinito della sequenza · come attività + Renderizza con {0} sul server, dove sono gli originali · lo esegue il server o un nodo di render + Scarica gli originali del server che mancano su questo PC, verificati con l'hash · come attività di trasferimento + Ricevi i render del server che mancano a questa sequenza · come attività di trasferimento + Impostazioni cambiate qui e sul server; scegli cosa tenere nella schermata Server + Invia i render di questa sequenza che mancano al server · come attività di trasferimento + Invia o ricevi le impostazioni cambiate da una sola parte + Invia gli originali e le impostazioni che mancano al server · come attività di trasferimento + Assegna questo voto alla selezione Ripete la scansione dell'archivio per trovare modifiche · viene eseguita come attività Clic seleziona · doppio clic apre Cerca titoli, marche e modelli di fotocamera e tag mentre scrivi @@ -337,8 +375,21 @@ {0:N0} avviso; apri la sequenza per i dettagli {0:N0} avvisi; apri la sequenza per i dettagli Mostra un solo tag + Fasce per anno con le foto di ogni mese sopra le schede + Fai clic su un mese per mostrarne l'anno e scorrere alle sue sequenze Rilegge ogni file e ne confronta l'hash con l'indice · viene eseguita come attività Verifica gli hash delle sequenze selezionate · un'unica attività + Mostra la ricerca, i filtri e l'ordinamento salvati con questo nome + Dimentica la vista salvata sullo schermo; nessuna sequenza viene toccata + Un nome breve, ad esempio "Notte, 4K, non analizzate" + Dai un altro nome alla vista salvata sullo schermo + Rinomina la vista · Invio + Salva ricerca, filtri e ordinamento sullo schermo come vista con nome + Salva la vista · Invio + Salva di nuovo la vista eliminata + Viste salvate: mostrane una o salva i filtri sullo schermo + Vista salvata sullo schermo: {0} + Scegli una vista salvata da mostrare Mostra un solo anno del primo scatto Versione, diagnostica e collegamenti Scansiona, verifica e gestisci l'archivio · Ctrl+4 diff --git a/src/Titano.App/Archive/ArchiveDialogs.xaml b/src/Titano.App/Archive/ArchiveDialogs.xaml new file mode 100644 index 00000000..0c5a6f52 --- /dev/null +++ b/src/Titano.App/Archive/ArchiveDialogs.xaml @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +