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:
Alby96andClaude Opus 5.5 committed 2026-11-25 17:27:33 +01:00
1 parent 30e159cbd4
commit 58ff4e48b3
44 files changed
+261 -118

No files matched your search

+2 -2
View File
@@ -1,13 +1,13 @@
namespace Febe.Web.Engine;
/// <summary>A still frame of Febe's browser for the Attività page (mockup 06: one frame every few seconds, not a video).</summary>
/// <summary>A still frame of Febe's browser for the Dashboard (mockup 06: one frame every few seconds, not a video).</summary>
/// <param name="Jpeg">The frame, JPEG encoded.</param>
/// <param name="Url">Address of the page, without query string.</param>
/// <param name="At">When the frame was taken.</param>
public sealed record BrowserFrame(byte[] Jpeg, string? Url, DateTimeOffset At);
/// <summary>
/// The latest frame of Febe's browser, for the preview of the Attività page. Implemented by the composition over the
/// The latest frame of Febe's browser, for the preview of the Dashboard. Implemented by the composition over the
/// browser host (Docker: the screencast of the remote view; Windows: the WebView2). Taking frames is never an action
/// toward the site: it reads what the browser already shows.
/// </summary>
+1 -1
View File
@@ -3,7 +3,7 @@ using Febe.Core.Collection.Diagnostics;
namespace Febe.Web.Engine;
/// <summary>
/// The traces of the diagnostic report (issue #39) for «Esporta il rapporto di diagnostica» in Attività: the finished
/// The traces of the diagnostic report (issue #39) for «Esporta il rapporto di diagnostica» in the Dashboard: the finished
/// ones of the last two weeks and the ones in progress, oldest first. They hold no data value
/// (<see cref="SessionTrace"/>).
/// </summary>
+1 -1
View File
@@ -100,7 +100,7 @@ public sealed class OfflineEngine(IClock clock) : IEngineMonitor, IEngineControl
/// <summary>Pieces for building snapshots outside <see cref="EngineMonitor"/> (offline engine, demo).</summary>
public static class SnapshotParts
{
/// <summary>The four main budgets in the order of the Attività page.</summary>
/// <summary>The four main budgets in the order of the Dashboard.</summary>
public static readonly ActionKind[] Main = [ActionKind.ProfileOpen, ActionKind.StoryView, ActionKind.BackfillPage, ActionKind.DataDownload];
/// <summary>Every category in the order of the table of spec §7.5.</summary>
+1 -1
View File
@@ -3,7 +3,7 @@ using Febe.Core.Storage;
namespace Febe.Web.Engine;
/// <summary>The stops of the last days for the Attività page (spec §7.6: «nella cronologia della pagina Attività»).</summary>
/// <summary>The stops of the last days for the Dashboard (spec §7.6 still says «nella cronologia della pagina Attività», the page before it).</summary>
public interface IIncidentHistory
{
/// <summary>Incidents that started in [from, to), newest first.</summary>