D1, correzioni della revisione: conteggi della Libreria più rapidi, frecce che seguono le tessere, Dashboard nei testi
- /api/library/days in «Tutte le foto» faceva due volte il passaggio su tutta la tabella media a ogni aggiornamento del mosaico: il totale dei file è ora la somma dei giorni (CountLibraryFilesAsync tolto). - I totali e i conteggi per giorno di «Foto» e «Video» su tutta la libreria non pagano più un EXISTS per post (1,3-1,6 s): elenco degli elementi con file di quel tipo su un indice di copertura, 86-141 ms su 200.000 elementi; nuove misure con limite 600 ms in LibraryScaleTests. - La quota di chi aspetta non è un minimo per tipo: corretti commento e decisioni, prova con un arretrato più vecchio di un altro tipo. - Visualizzatore in «Tutte le foto»: le frecce saltano i file che non sono tessere (foto sotto «Video» e simili) e l'intestazione non dà il numero di un altro file; la voce già scelta dell'interruttore non ridisegna il mosaico. Prova d'interfaccia nuova (solo CI). - «Ricetta sospesa» dice di riattivarla dalla Dashboard, non da Attività; commenti aggiornati. - Nomi accessibili distinti nella scheda account, variabile in inglese in download-order.js, icona activity tolta perché nessuna pagina la usa. - Schermate 06, 11 e 14 rifatte con /dashboard e nuova 01-libreria-tutte-le-foto, confrontate con i mockup in docs/schermate/differenze.md (con quattro difetti visivi ancora da sistemare). - LEGGIMI del web (mode, cursore, files, moduli riusabili) e guida della Libreria (la scelta del mosaico resta nel browser, a differenza del tema). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
30e159cbd4
commit
58ff4e48b3
44 files changed
+261
-118
No files matched your search
@@ -17,7 +17,7 @@ public interface ITaskStore
|
||||
/// <summary>Pending tasks due at <paramref name="now"/>: highest priority first, then earliest due, then oldest.</summary>
|
||||
Task<IReadOnlyList<EngineTask>> PeekDueAsync(DateTimeOffset now, int limit, CancellationToken ct = default);
|
||||
|
||||
/// <summary>Pending tasks by due time (the queue shown in Attività, «verso le»).</summary>
|
||||
/// <summary>Pending tasks by due time (the queue shown in the Dashboard, «verso le»).</summary>
|
||||
Task<IReadOnlyList<EngineTask>> ListPendingAsync(int limit, CancellationToken ct = default);
|
||||
|
||||
/// <summary>Pending → Running, atomically. False if the task was not pending any more.</summary>
|
||||
|
||||
@@ -81,15 +81,11 @@ public interface IEntryStore
|
||||
|
||||
Task<LibraryTotals> GetLibraryTotalsAsync(LibraryFilter filter, CancellationToken ct = default);
|
||||
|
||||
/// <summary>
|
||||
/// Files of the entries of the filter that are in the library (downloaded or imported): the tiles of
|
||||
/// «Tutte le foto». With «Foto» and «Video» only the files of that kind.
|
||||
/// </summary>
|
||||
Task<int> CountLibraryFilesAsync(LibraryFilter filter, CancellationToken ct = default);
|
||||
|
||||
/// <summary>
|
||||
/// Entries (or, with <see cref="MosaicMode.Files"/>, files) per local calendar day in Alberto's zone, newest day
|
||||
/// first. A day without files is left out in that mode.
|
||||
/// first. A day without files is left out in that mode. In that mode the files are those in the library
|
||||
/// (downloaded or imported), the tiles of «Tutte le foto», with «Foto» and «Video» only the files of that kind; their
|
||||
/// total is the sum of the days (one pass over the files, not a second count).
|
||||
/// </summary>
|
||||
Task<IReadOnlyList<DayCount>> CountLibraryByDayAsync(LibraryFilter filter, TimeZoneInfo zone, MosaicMode mode = MosaicMode.Grouped, CancellationToken ct = default);
|
||||
|
||||
|
||||
Reference in new issue
Block a user