From 2f0a7562db8a6a4cc12eb8cecfa9724a3d780aa6 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 6 Oct 2026 08:09:37 +0000 Subject: [PATCH] fix(archive): accessible, right-to-left safe Archive screen after the visual review Named menu buttons and set filter, visible keyboard focus on tree and preview rows, live search and progress lines, per-card Cancel, dialog labels that grow, paths and templates left to right, RTL tree keys, focus back to the opener when a dialog closes, lists that keep their fill behind a dialog, one chart grid with 14 px gaps, the heatmap scale in its header, health and recent states as in the mockup, and the Maintenance view renamed Health. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC --- i18n/en/Archive.resx | 13 +- i18n/en/Tooltips.resx | 3 + i18n/it/Archive.it.resx | 13 +- i18n/it/Tooltips.it.resx | 3 + src/Titano.App/Sections/ArchiveView.xaml | 292 ++++++++++++++------ src/Titano.App/Sections/ArchiveView.xaml.cs | 39 ++- src/Titano.App/Sections/ArchiveViewModel.cs | 2 +- 7 files changed, 269 insertions(+), 96 deletions(-) diff --git a/i18n/en/Archive.resx b/i18n/en/Archive.resx index 2148b764..68351c0e 100644 --- a/i18n/en/Archive.resx +++ b/i18n/en/Archive.resx @@ -4,7 +4,7 @@ 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Copy into the layout… + Copy into archive… Index in place… {0:N0} sequence changed {0:N0} sequences changed @@ -37,6 +37,7 @@ Cancel {0:N0} copy {0:N0} copies + The duplicate search stoppedlong Folder {0:N0} group {0:N0} groups @@ -54,6 +55,11 @@ {0} changed after the plan was made.long: error sentence The card or folder {0} is no longer available.long: error sentence The archive changed after this plan was made.long: error sentence + Titano was denied access to the archive.long + A file of the archive could not be read or written.long + The sequence is no longer in the index.long + The index could not be read or written.long + Retry Cancel None found Find @@ -61,10 +67,13 @@ Every sequence verified Every sequence analysed {0} missing · {1} damaged + {0:N0} duplicate group + {0:N0} duplicate groups {0:N0} duplicate frame {0:N0} duplicate frames Analyse Show + Mark copies Find Build Verify @@ -72,6 +81,7 @@ No duplicate frames {0:N0} sequence lacks proxies {0:N0} sequences lack proxies + No copies flagged {0:N0} sequence not analysed {0:N0} sequences not analysed Every sequence has proxies @@ -183,6 +193,7 @@ Verify Archive tree Undated + Health Maintenance View Overview diff --git a/i18n/en/Tooltips.resx b/i18n/en/Tooltips.resx index e264dc55..12b3f5c2 100644 --- a/i18n/en/Tooltips.resx +++ b/i18n/en/Tooltips.resx @@ -39,6 +39,7 @@ Keep only the sequences with one tag Queue the light analysis of these sequences Find the duplicate groups + Flag every copy after the first so renders skip it · runs maintenance Find files and rows that do not match Queue proxy generation for these sequences Re-hash the originals of these sequences @@ -69,6 +70,7 @@ Choose the new folder of an archive you moved; its sequences follow Make exactly these changes to folders, sidecars and index · resumes after a crash Change the tags of these sequences in sidecars and index + Run the same action again 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 @@ -86,6 +88,7 @@ Title template; the title token is the current title · checked as you type Re-hash every original and report bit rot · reads the whole archive {0} · Right arrow opens the year, Left arrow closes it + {0} · Left arrow opens the year, Right arrow closes it Dismiss Open the folder with the log files Return to the advisor's value diff --git a/i18n/it/Archive.it.resx b/i18n/it/Archive.it.resx index fd159c3b..2554a5f6 100644 --- a/i18n/it/Archive.it.resx +++ b/i18n/it/Archive.it.resx @@ -4,7 +4,7 @@ 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Copia nella struttura… + Copia nell'archivio… Indicizza sul posto… {0:N0} sequenza modificata {0:N0} sequenze modificate @@ -34,6 +34,7 @@ Annulla {0:N0} copia {0:N0} copie + Ricerca dei doppioni interrotta Cartella {0:N0} gruppo {0:N0} gruppi @@ -50,6 +51,11 @@ {0} è cambiato dopo la creazione del piano. La scheda o cartella {0} non è più disponibile. L'archivio è cambiato dopo la creazione del piano. + Titano non ha accesso all'archivio. + Non è stato possibile leggere o scrivere un file dell'archivio. + La sequenza non è più nell'indice. + Non è stato possibile leggere o scrivere l'indice. + Riprova Annulla Nessuno trovato Cerca @@ -57,10 +63,13 @@ Tutte le sequenze verificate Tutte le sequenze analizzate {0} mancanti · {1} danneggiati + {0:N0} gruppo di doppioni + {0:N0} gruppi di doppioni {0:N0} fotogramma doppio {0:N0} fotogrammi doppi Analizza Mostra + Segna copie Cerca Crea Verifica @@ -68,6 +77,7 @@ Nessun fotogramma doppio {0:N0} sequenza senza proxy {0:N0} sequenze senza proxy + Nessuna copia segnata {0:N0} sequenza non analizzata {0:N0} sequenze non analizzate Ogni sequenza ha i proxy @@ -177,6 +187,7 @@ Verifica Albero dell'archivio Senza data + Stato Manutenzione Vista Panoramica diff --git a/i18n/it/Tooltips.it.resx b/i18n/it/Tooltips.it.resx index f384abea..6f8c694e 100644 --- a/i18n/it/Tooltips.it.resx +++ b/i18n/it/Tooltips.it.resx @@ -39,6 +39,7 @@ Tieni solo le sequenze con un tag Metti in coda l'analisi rapida di queste sequenze Trova i gruppi di doppioni + Segna ogni copia dopo la prima perché i render la saltino · esegue la manutenzione Trova file e righe che non corrispondono Metti in coda la creazione dei proxy per queste sequenze Ricalcola l'hash degli originali di queste sequenze @@ -69,6 +70,7 @@ Scegli la nuova cartella di un archivio spostato; le sequenze lo seguono Applica esattamente queste modifiche a cartelle, sidecar e indice · riprende dopo un arresto Cambia i tag di queste sequenze in sidecar e indice + Esegui di nuovo la stessa azione 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 @@ -86,6 +88,7 @@ Modello del titolo; il segnaposto title è il titolo attuale · controllato mentre scrivi Ricalcola l'hash di ogni originale e segnala i danni · legge tutto l'archivio {0} · Freccia destra apre l'anno, freccia sinistra lo chiude + {0} · Freccia sinistra apre l'anno, freccia destra lo chiude Chiudi Apri la cartella dei file di log Torna al valore consigliato diff --git a/src/Titano.App/Sections/ArchiveView.xaml b/src/Titano.App/Sections/ArchiveView.xaml index 47ee6af4..0692ded0 100644 --- a/src/Titano.App/Sections/ArchiveView.xaml +++ b/src/Titano.App/Sections/ArchiveView.xaml @@ -5,8 +5,39 @@ xmlns:v="clr-namespace:Titano.Ui.Visuals;assembly=Titano.Ui" xmlns:l="clr-namespace:Titano.Ui.Localization;assembly=Titano.Ui" xmlns:ar="clr-namespace:Titano.App.Archiving" + xmlns:infra="clr-namespace:Titano.App.Infrastructure" xmlns:shell="clr-namespace:Titano.App.Shell"> + + + + + + + + + + + + + + + + + +