merge: card import and archive manager screens (card pool, plan, verified erase and format, server destination, tree, charts, maintenance)

Union of the Tooltips resources; sample data keeps the sync server and the
simulated cards; the import test names App.Infrastructure.Formatting fully now
that a test namespace of the same name exists.

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-03 11:01:34 +00:00
commit 828c64a485
57 files changed
+8742 -23

No files matched your search

@@ -116,6 +116,15 @@ public sealed class MediaCardRepository
r.GetStringOrNull(4), r.GetGuidOrNull(5), r.GetGuidOrNull(6), r.GetDateTimeOffset(7)),
cancellationToken);
/// <summary>The files one import job recorded from a card, by path (the import's verification result).</summary>
public Task<IReadOnlyList<ImportRecord>> ListImportsByJobAsync(Guid cardId, Guid jobId, CancellationToken cancellationToken = default) =>
_db.ListAsync(
"SELECT card_id, path, size, mtime, sha256, frame_id, job_id, imported_at FROM import_history WHERE card_id = $1 AND job_id = $2 ORDER BY path",
[cardId, jobId],
r => new ImportRecord(r.GetGuid(0), new ImportKey(r.GetString(1), r.GetInt64(2), r.GetDateTimeOffset(3)),
r.GetStringOrNull(4), r.GetGuidOrNull(5), r.GetGuidOrNull(6), r.GetDateTimeOffset(7)),
cancellationToken);
private static MediaCard Map(DbRow r) => new()
{
Id = r.GetGuid(0),