feat(videos): board of published and workspace renders; card line starts with the preset
The Videos section and the admin Videos page gain a Board view with two
lanes, newest first, each with a count and the list's filters: Published
(library and server renders, including those sent from a workspace) and
Workspace (workspace exports, unsent ones plus sent ones marked Sent).
Cards show the sequence, project and version when known, preset, kind,
date and state chips, and reuse the existing actions; no new store.
Video cards now start with the preset ("4K archive · HEVC · 0:41 · 1.4 GB")
and Formatting.Bytes keeps number and unit together with a no-break space
(#28). The capture tool adds the videos-board scene in both themes.
Refs #29
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fe50b87726
commit
5a6efbb72f
27 files changed
+792
-74
No files matched your search
@@ -42,10 +42,10 @@ public sealed class CardPoolTests
|
||||
Assert.Equal("New card", pool[0].StateText);
|
||||
Assert.Equal("EOS R5 · card A", pool[1].Title);
|
||||
Assert.Equal("Known card", pool[1].StateText);
|
||||
Assert.Equal("128 GB · 96.2 GB used", pool[1].Subtitle);
|
||||
Assert.Equal("128 GB · serial 3F2A-9C11 · Canon EOS R5 #0431", pool[1].IdentityText);
|
||||
Assert.Equal("128\u00A0GB · 96.2\u00A0GB used", pool[1].Subtitle);
|
||||
Assert.Equal("128\u00A0GB · serial 3F2A-9C11 · Canon EOS R5 #0431", pool[1].IdentityText);
|
||||
Assert.Equal(SourceKind.Drive, pool[2].Kind);
|
||||
Assert.Equal("no DCIM · 1.8 TB free", pool[2].Subtitle);
|
||||
Assert.Equal("no DCIM · 1.8\u00A0TB free", pool[2].Subtitle);
|
||||
Assert.False(pool[3].IsInserted);
|
||||
Assert.Null(pool[3].Root);
|
||||
Assert.Equal("Canon EOS R5 · not inserted", pool[3].Subtitle);
|
||||
@@ -72,8 +72,8 @@ public sealed class CardPoolTests
|
||||
public void TheEntryTooltipCarriesTheStateAndTheWholeSubtitle()
|
||||
{
|
||||
var pool = CardPool.Build([CardA, Usb], [Known(CardA, "EOS R5 · card A", DateTimeOffset.UtcNow)], @"D:\Shoots\2026");
|
||||
Assert.Equal("Known card · 128 GB · 96.2 GB used", pool[0].ToolTip);
|
||||
Assert.Equal("no DCIM · 1.8 TB free", pool[1].ToolTip);
|
||||
Assert.Equal("Known card · 128\u00A0GB · 96.2\u00A0GB used", pool[0].ToolTip);
|
||||
Assert.Equal("no DCIM · 1.8\u00A0TB free", pool[1].ToolTip);
|
||||
Assert.Equal(@"Folder · D:\Shoots\2026", pool[2].ToolTip);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user