feat(app): library, jobs, settings, server, welcome and about screens

Local-mode composition root (SQLite index, one JobEngine fed by a single
handler registration list), keyset-paged library with thumbnail cache and
hover scrub, live job list with throttled updates and the shell job bar,
settings with live template validation and encoder self-test, server
connection with trust-on-first-use and DPAPI token, first-run welcome,
About with update check, and --capture screenshots with synthetic data.

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-02 12:26:58 +00:00
1 parent 446daeae2b
commit ffbea7cb74
94 files changed
+10130 -374

No files matched your search

@@ -0,0 +1,39 @@
namespace Titano.App.Infrastructure;
/// <summary>Texts of a confirmation dialog (DESIGN §4: two buttons, safe action left and default).</summary>
public sealed record ConfirmRequest
{
public required string Heading { get; init; }
public required string Message { get; init; }
/// <summary>Monospaced detail (certificate fingerprint); null hides it.</summary>
public string? Detail { get; init; }
public string? DetailToolTip { get; init; }
public required string SafeText { get; init; }
public required string SafeToolTip { get; init; }
public required string ActionText { get; init; }
public required string ActionToolTip { get; init; }
/// <summary>Warning-outlined action (never a primary) for data-destroying choices.</summary>
public bool IsDestructive { get; init; }
}
/// <summary>Modal questions and OS pickers the view models ask for (BRIEF §12.1: modals only for confirmations and login).</summary>
public interface IAppDialogs
{
/// <summary>A folder chosen in the shell's folder picker; null when cancelled.</summary>
string? PickFolder(string title, string? initialFolder = null);
/// <summary>A JSON file chosen in the shell's Open dialog; null when cancelled.</summary>
string? PickJsonFile(string title);
/// <summary>True when the user chose the action.</summary>
bool Confirm(ConfirmRequest request);
/// <summary>
/// The login form. <paramref name="signIn"/> receives user and password and returns null on success or the
/// error sentence to show; the form stays open until it succeeds or the user cancels. True when signed in.
/// </summary>
bool SignIn(string server, string? username, Func<string, string, Task<string?>> signIn);
}