feat(app): matches list, compare dialog, settings rows, library and picker surfaces (owner review 6, P6)

Server > Matches shows the pairs the copy engine found (same sequence on the
server and this PC, or twice here), attention first, with the design 8.1
actions; Keep apart and Unlink toast with Undo. The in-window Compare dialog
walks photos, details, projects and the plan, blocks until details are
chosen, and confirms only what replaces or merges (typed count for a merge).
Sync rows of an unanswered pair read "match found" and offer Compare first;
Upload all local skips suspected copies and says why. Settings > Server gains
Link matches, Integrate photos and Integrate projects. Library cards carry the
match status with Compare..., the sequence picker marks twins, and Jobs opens
Integrate and Merge targets. The sample engine and capture scenes render every
state; tests cover the text rules and the screens.

Refs #73

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-16 20:29:07 +01:00
1 parent 283d04d9cd
commit 06b826e39d
34 files changed
+3762 -43

No files matched your search

@@ -15,9 +15,32 @@ namespace Chronos.App.Workspace;
public sealed class WorkspaceProjectItem(WorkspaceEntry entry, SequenceItem? sequence) : ObservableObject
{
private WorkspaceStatus? _status;
private string? _twinHome;
private string? _twinProject;
public WorkspaceEntry Entry { get; } = entry;
/// <summary>
/// The other home of the same time-lapse (a linked or integrated match) when it has a workspace project too; null
/// otherwise (owner review 6, #73). The picker shows a muted Twin chip after the name.
/// </summary>
public string? TwinHome => _twinHome;
public bool HasTwin => _twinHome is not null;
/// <summary>"Also at nas: Vertical."</summary>
public string? TwinToolTip => _twinHome is null ? null : Loc.L("Tooltips.Editor.Picker.Twin", _twinHome, _twinProject ?? string.Empty);
/// <summary>Marks the item as the twin of <paramref name="project"/> at <paramref name="home"/> (null: none).</summary>
public void SetTwin(string? home, string? project)
{
_twinHome = home;
_twinProject = project;
OnPropertyChanged(nameof(TwinHome));
OnPropertyChanged(nameof(HasTwin));
OnPropertyChanged(nameof(TwinToolTip));
}
/// <summary>The sequence's row of the library, for its thumbnail; null when the index no longer has it.</summary>
public SequenceItem? Sequence { get; } = sequence;