feat(P8): integrate phase 5 (workspace stills, strings, prune)

Wire the phase 5 parcels into one working whole.

- Save frame works in a workspace project. WorkspaceSequenceSource now
  makes still jobs (IProjectStills) routed like its renders: with the
  originals on this PC, a WorkspaceRender still into exports/; with
  proxies only, the home's still job with the portable settings and the
  project id. The tooltip for a source that saves no frames is now a real
  string.
- The Export footer has Save project file again for library sequences;
  workspace projects keep it in their project menu only.
- Sync render downloads are hashed and compared with the server's
  sha256 (one retry, then the job fails without filing the file), and
  uploads and downloads carry the render kind, so a saved frame no longer
  counts as a recent preset.
- Add the missing en/it strings: still frame out of the sequence
  (Core and both job handlers), keyframes not applicable, workspace
  stills, Videos refresh / clear sequence / play-from-server tips, the
  videos-folder creation error, and the admin panel kind labels, play
  and trash tips.
- Delete the export history, batch and card strings no longer used from
  English and prune them from every culture.
- Videos: the sequence chip clears only the sequence filter (desktop and
  admin panel), the desktop remembers cards or list, and a Refresh button.

Refs #21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-05 03:16:52 +01:00
1 parent c4924c122e
commit 6d87a1bc6d
111 files changed
+459 -754

No files matched your search

@@ -50,6 +50,11 @@ public sealed class VideoSourcesTests
Assert.True(merged.Single(e => e.Id == server[1].Id) is { IsLocal: false, IsOnServer: true, LocalPath: null });
Assert.True(merged.Single(e => e.Id == local[1].Id) is { IsLocal: true, IsUnsent: false });
Assert.True(merged.Single(e => e.Id == unsent.Id).IsUnsent);
// Play says why it waits: only on the server, or gone from this PC.
Assert.Equal(Loc.L("Tooltips.Videos.Play"), VideoText.PlayToolTip(twin));
Assert.Equal(Loc.L("Tooltips.Videos.PlayServer"), VideoText.PlayToolTip(merged.Single(e => e.Id == server[1].Id)));
Assert.Equal(Loc.L("Tooltips.Videos.Missing"), VideoText.PlayToolTip(local[1] with { Missing = true }));
}
[Test]
@@ -263,6 +268,13 @@ public sealed class VideosSectionTests(TestContext context)
section.SearchText = "comet";
Assert.True(section.Rows[0].IsSelected);
Assert.True(section.HasSelection);
// The chip's × clears the sequence only: the search and the order stay.
Assert.True(section.ClearSequenceCommand.CanExecute(null));
section.ClearSequenceCommand.Execute(null);
Assert.False(section.IsSequenceFiltered);
Assert.Equal("comet", section.SearchText);
Assert.Equal(VideoSorts.Largest, section.SelectedSort.Value);
Assert.False(section.ClearSequenceCommand.CanExecute(null));
});
[Test]
@@ -370,8 +382,12 @@ public sealed class VideosSectionTests(TestContext context)
await section.RefreshAsync();
var view = new VideosView { DataContext = section };
Layout(view);
Assert.Equal(LibraryLayout.Grid, shell.Services.Settings.VideosLayout);
section.LayoutIndex = 1;
Assert.Equal(LibraryLayout.List, shell.Services.Settings.VideosLayout, "the list is kept for the next run");
Assert.Equal(1, new VideosViewModel(shell).LayoutIndex, "and a new section opens on it");
section.Rows[0].IsSelected = true;
Assert.Equal(Loc.L("Tooltips.Videos.Play"), section.PlayToolTip);
Assert.True(section.PlayCommand.CanExecute(null));
section.PlayCommand.Execute(null);
var player = Assert.NotNull(section.Player);