fix(app): editor review fixes for saving, undo, preview, commands and layout

- Undo/redo snapshots take outside changes (advice, merged edits) on Replace;
  a drag, click or key press ends a merged run; Reset to Auto is its own step.
- A failed save stays pending and is retried with backoff; closing or switching
  asks before discarding it; the local source throws unless the index took it.
- Opening a sequence survives any failure; the window title follows the editor;
  the job bar hides when idle in the editor.
- Render, Add to queue and Batch re-read their state; disabled commands say why;
  Analyse is disabled while queued and announces its cost and Ctrl+Shift+A.
- Preview: 1:1 and wheel zoom render the source's own pixels, the view keeps its
  place across resolutions, crop mask result mode, unreadable frames say so,
  labelled tools, keyboard focus on open, tools hidden on Export lose their effect.
- Preparation re-solves from measured series (no re-decode per slider step) with
  a half-precision frame cache.
- Exposure flicker and waveform charts, Time plan chart, Camera crop margins,
  sortable frame table, wrapped findings, responsive preset cards, render-done
  follow-up, Jobs history filtered on the sequence.

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 10:36:50 +00:00
1 parent 596b748c5c
commit 25e85aee57
32 files changed
+1612 -369

No files matched your search

+24 -2
View File
@@ -45,6 +45,7 @@ public sealed class ShellViewModel : LocalizedViewModel
BottomSections = [Settings, About];
_current = Library;
Library.IsSelected = true;
Library.PropertyChanged += OnCurrentChanged;
NavigateCommand = new RelayCommand(p =>
{
@@ -95,7 +96,12 @@ public sealed class ShellViewModel : LocalizedViewModel
get => _current;
private set
{
if (Set(ref _current, value)) OnPropertyChanged(nameof(WindowTitle));
var previous = _current;
if (!Set(ref _current, value)) return;
previous.PropertyChanged -= OnCurrentChanged;
value.PropertyChanged += OnCurrentChanged;
OnPropertyChanged(nameof(WindowTitle));
OnPropertyChanged(nameof(IsJobBarVisible));
}
}
@@ -157,7 +163,17 @@ public sealed class ShellViewModel : LocalizedViewModel
: _queuedCount > 0 ? Loc.L("Shell.JobBar.Ready", _queuedCount) : Loc.L("Shell.JobBar.Idle");
public double JobProgress { get => _jobProgress; private set => Set(ref _jobProgress, value); }
public bool IsJobActive { get => _jobActive; private set => Set(ref _jobActive, value); }
public bool IsJobActive
{
get => _jobActive;
private set
{
if (Set(ref _jobActive, value)) OnPropertyChanged(nameof(IsJobBarVisible));
}
}
/// <summary>The job bar shows "Ready" when idle, except in the editor where it gives its 40 px to the preview (DESIGN §4).</summary>
public bool IsJobBarVisible => _jobActive || _current != Sequence;
public bool IsJobIndeterminate { get => _jobIndeterminate; private set => Set(ref _jobIndeterminate, value); }
/// <summary>Pauses the job the bar shows.</summary>
@@ -217,6 +233,12 @@ public sealed class ShellViewModel : LocalizedViewModel
public void ShowToast(Toast toast) => PendingToasts.Add(toast);
/// <summary>The section on screen renamed itself (the editor opened a sequence): the window title follows.</summary>
private void OnCurrentChanged(object? sender, System.ComponentModel.PropertyChangedEventArgs e)
{
if (e.PropertyName is nameof(SectionViewModel.Title) or "" or null) OnPropertyChanged(nameof(WindowTitle));
}
/// <summary>A one-line notice with one action (job done, update available).</summary>
public void Notify(string title, string? message = null, string? actionText = null, string? actionToolTip = null, Action? action = null) =>
ShowToast(new Toast