feat: single setup, mass-pass progress, per-server homes, Desktop shares its library (owner review 5, v1.1.0) (#68)
CI / Build and test (push) Successful in 11m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 12s
Release / Build, test and publish (push) Successful in 14m56s
CI / PostgreSQL 16 integration (push) Successful in 10m11s
CI / PostgreSQL 17 integration (push) Successful in 10m15s
CI / Docker image (push) Successful in 45s
Release / Server image (push) Successful in 4m55s

Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #68.
This commit is contained in:
Alby96 authored and Alby96 committed 2026-11-15 18:11:43 +01:00
1 parent 988068ee8e
commit 20d64af4a4
793 files changed
+23882 -2096

No files matched your search

+24 -1
View File
@@ -24,7 +24,7 @@ namespace Chronos.App.Shell;
/// <summary>
/// <c>Chronos.exe --capture &lt;dir&gt;</c>: renders every client screen at 1440×900 in the dark and light themes to
/// <c>&lt;screen&gt;-&lt;theme&gt;.png</c> from <see cref="SampleData"/> (first run on an empty index, then a populated
/// one, then the Videos section, then the sync table with transfers, a conflict and its confirmation, then the sequence editor on an archive
/// one, then the Videos section, then the sync table with transfers, a conflict and its confirmation, then the server's jobs, then the sequence editor on an archive
/// sequence and on a server sequence with proxies, its server job and a read-only account), plus the Library, the
/// editor's Exposure tab and the import plan in Arabic (<c>*-rtl-dark.png</c>, right to left), for visual review,
/// the pixel diff against <c>tests/visual/baselines</c> and phase reports (BRIEF §20.2), then exits. The pictures are
@@ -53,6 +53,10 @@ public static class ScreenCapture
window.ShowInTaskbar = false;
window.Show();
// The Server section's job list reads the sample server's jobs, none until its own scene.
var serverJobs = new SampleServerJobs();
shell.Server.JobsConnection = _ => serverJobs;
// First run: empty index, nothing connected, the welcome dialog over the empty Library.
await sample.OpenEmptyAsync();
await shell.StartAsync();
@@ -113,6 +117,12 @@ public static class ScreenCapture
shell.Navigate(SectionKey.Server);
written += await SaveAsync(window, directory, "server", theme);
// This PC's library shared (owner review 5, #67), then one that could not start.
SampleData.ShowShare(shell.Services);
written += await SaveAsync(window, directory, "server-share", theme);
SampleData.ShowShareFailed(shell.Services);
written += await SaveAsync(window, directory, "server-share-failed", theme);
SampleData.HideShare(shell.Services);
// Every page, About last (owner review 2, R5).
shell.Navigate(SectionKey.Settings);
@@ -164,6 +174,19 @@ public static class ScreenCapture
SelectSyncFilter(shell, SyncFilter.All);
}
// The server's jobs running and paused above the sync table, with what each does now (owner review 5, #65); the
// sample account is an editor, so the list is read-only.
serverJobs.Fill();
await shell.Server.Jobs.ReloadAsync();
foreach (var theme in Themes)
{
ThemeManager.Apply(theme);
shell.Navigate(SectionKey.Server);
written += await SaveAsync(window, directory, "server-jobs", theme);
}
serverJobs.Clear();
await shell.Server.Jobs.ReloadAsync();
written += await CaptureEditorAsync(window, shell, sample, directory);
written += await CaptureRemoteEditorAsync(window, shell, sample, directory);
Log.Info("capture", $"{written} screenshot(s) written to {Path.GetFullPath(directory)}");