diff --git a/i18n/en/Admin.resx b/i18n/en/Admin.resx
index 3e741800..90626969 100644
--- a/i18n/en/Admin.resx
+++ b/i18n/en/Admin.resx
@@ -1124,6 +1124,15 @@
Show the videos as cardsListShow the videos as a list
+ Board
+ Show the videos in two lanes: published, and sent from a workspace
+ Published
+ Every render this server holds, newest first
+ Workspace
+ Renders a PC's workspace made and sent here; those not sent yet stay on that PC
+ Sent
+ Sent from the workspace of {0}{0} a computer's name
+ Version {0}{0} a project version numberSelected: {0}{0} a countSelect this videoSelect every video shown
diff --git a/i18n/en/Tooltips.resx b/i18n/en/Tooltips.resx
index 5ddb3ff5..7f55fbd6 100644
--- a/i18n/en/Tooltips.resx
+++ b/i18n/en/Tooltips.resx
@@ -1075,6 +1075,13 @@
Select the video; Ctrl and Shift add to the selectionSelect one video only to do thisOnly on the server: not on this PC
+ Show the videos in two lanes: published, and in the workspace
+ Renders filed in this PC's archive or on the server, newest first
+ Renders made in the workspace: not sent yet, or sent and still in its exports
+ Sent to the archive; the file is still in the workspace
+ Sent to the server; the file is still in the workspace
+ Rendered in the workspace and sent to the archive: play it or show it here
+ Rendered in the workspace and sent to the server: play it or show it hereWhere Copy to folder puts videos; not inside the archive or the workspaceChoose the videos folderOpen the videos folder in Explorer
diff --git a/i18n/en/Videos.resx b/i18n/en/Videos.resx
index 017b7824..7e5114a0 100644
--- a/i18n/en/Videos.resx
+++ b/i18n/en/Videos.resx
@@ -35,6 +35,14 @@
TitleGridList
+ Board
+ Published
+ Workspace
+ Sent
+ Version {0}{0} a project version number
+ Video
+ Still
+ Image sequenceSelected: {0}{0} a countNo videosServer not reachable
diff --git a/i18n/it/Admin.it.resx b/i18n/it/Admin.it.resx
index 32ddb648..2fc3ffc1 100644
--- a/i18n/it/Admin.it.resx
+++ b/i18n/it/Admin.it.resx
@@ -1116,6 +1116,15 @@
Mostra i video come schedeElencoMostra i video come elenco
+ Bacheca
+ Mostra i video in due colonne: pubblicati e inviati da uno spazio di lavoro
+ Pubblicati
+ Tutti i render di questo server, dal più recente
+ Spazio di lavoro
+ Render fatti nello spazio di lavoro di un PC e inviati qui; quelli non ancora inviati restano su quel PC
+ Inviato
+ Inviato dallo spazio di lavoro di {0}
+ Versione {0}Selezionati: {0}Seleziona questo videoSeleziona tutti i video mostrati
diff --git a/i18n/it/Tooltips.it.resx b/i18n/it/Tooltips.it.resx
index da7e30e2..ab1948fb 100644
--- a/i18n/it/Tooltips.it.resx
+++ b/i18n/it/Tooltips.it.resx
@@ -1057,6 +1057,13 @@
Seleziona il video; Ctrl e Maiusc aggiungono alla selezioneSeleziona un solo video per farloSolo sul server: non su questo PC
+ Mostra i video in due colonne: pubblicati e nello spazio di lavoro
+ Render archiviati nell'archivio di questo PC o sul server, dal più recente
+ Render fatti nello spazio di lavoro: non ancora inviati, o inviati e ancora nelle sue esportazioni
+ Inviato all'archivio; il file è ancora nello spazio di lavoro
+ Inviato al server; il file è ancora nello spazio di lavoro
+ Renderizzato nello spazio di lavoro e inviato all'archivio: riproducilo o mostralo qui
+ Renderizzato nello spazio di lavoro e inviato al server: riproducilo o mostralo quiNon connesso a un server: sono elencati solo i video di questo PCIl Chronos del server non ha la libreria video; aggiornalo per vederne i videoMostra il file in Esplora file
diff --git a/i18n/it/Videos.it.resx b/i18n/it/Videos.it.resx
index a2bb8c71..0e678d0e 100644
--- a/i18n/it/Videos.it.resx
+++ b/i18n/it/Videos.it.resx
@@ -35,6 +35,14 @@
TitoloGrigliaElenco
+ Bacheca
+ Pubblicati
+ Spazio di lavoro
+ Inviato
+ Versione {0}
+ Video
+ Fotogramma
+ Sequenza di immaginiSelezionati: {0}Nessun videoServer non raggiungibile
diff --git a/src/Chronos.App/DesignTime/SampleData.cs b/src/Chronos.App/DesignTime/SampleData.cs
index f7e88cc8..ff723449 100644
--- a/src/Chronos.App/DesignTime/SampleData.cs
+++ b/src/Chronos.App/DesignTime/SampleData.cs
@@ -518,17 +518,22 @@ public sealed class SampleData
DateTimeOffset created, string? project = null) =>
new(id, sequence, preset, codec, width, height, fps, seconds, bytes, created, "nas", null, null, null, RenderKind.Video, title, first, project, project is null ? null : 3,
VideoStates.Ok, [], $"{first:yyyy-MM-dd} {title} - {preset}.mp4");
+ var lakeVertical = Guid.CreateVersion7();
+ var lakeCreated = Now.AddDays(-30);
IReadOnlyList server =
[
OnServer(Guid.CreateVersion7(), _sunrise, "Sunrise over Superga", new DateTime(2026, 7, 2, 5, 12, 0), "4K HEVC", "hevc", 3840, 2160, 24, 120, 3_960_000_000L, Now.AddHours(-6)),
OnServer(cometVideo.Id, comet.Id, comet.DisplayTitle, comet.FirstCapture!.Value, cometVideo.PresetName, "hevc", 3840, 2160, 24, 41.9, cometVideo.Bytes, cometVideo.Created),
- OnServer(Guid.CreateVersion7(), _lakeComo, "Lake Como storm", new DateTime(2026, 8, 21, 16, 30, 0), "Vertical 1080p", "h264", 1080, 1920, 30, 48.3, 248_000_000L,
- Now.AddDays(-30), project: "Vertical social"),
+ OnServer(lakeVertical, _lakeComo, "Lake Como storm", new DateTime(2026, 8, 21, 16, 30, 0), "Vertical 1080p", "h264", 1080, 1920, 30, 48.3, 248_000_000L,
+ lakeCreated, project: "Vertical social"),
];
var milan = await LocalAsync("Milan skyline dusk");
var gif = Path.Combine(_services.Environment.DataDirectory, "workspace-sample", "exports", $"{milan.FirstCapture:yyyy-MM-dd} {milan.DisplayTitle} - GIF preview.gif");
WriteStandIn(gif);
+ // A render the workspace sent to the server, whose file is still in its exports: the Board's Workspace lane, as sent.
+ var vertical = Path.Combine(_services.Environment.DataDirectory, "workspace-sample", "exports", "2026-08-21 Lake Como storm - Vertical 1080p.mp4");
+ WriteStandIn(vertical);
IReadOnlyList workspace =
[
new()
@@ -551,6 +556,27 @@ public sealed class SampleData
WorkspaceProjectId = Guid.CreateVersion7(),
ProjectName = "Social cut",
},
+ new()
+ {
+ Id = lakeVertical,
+ SequenceId = _lakeComo,
+ Title = "Lake Como storm",
+ PresetName = "Vertical 1080p",
+ Codec = "h264",
+ Width = 1080,
+ Height = 1920,
+ Fps = 30,
+ DurationSeconds = 48.3,
+ Bytes = 248_000_000L,
+ Created = lakeCreated,
+ Kind = RenderKind.Video,
+ FileName = Path.GetFileName(vertical),
+ LocalPath = vertical,
+ IsWorkspaceSent = true,
+ WorkspaceProjectId = Guid.CreateVersion7(),
+ WorkspaceServerHome = true,
+ ProjectName = "Vertical social",
+ },
];
videos.ServerVideos = () => new VideoServer(VideoServerState.Available, () => new SampleRemoteVideos(server), CanEdit: true, CanDelete: true);
diff --git a/src/Chronos.App/Infrastructure/AppSettings.cs b/src/Chronos.App/Infrastructure/AppSettings.cs
index c9d5a02a..101d7af4 100644
--- a/src/Chronos.App/Infrastructure/AppSettings.cs
+++ b/src/Chronos.App/Infrastructure/AppSettings.cs
@@ -22,6 +22,9 @@ public enum LibraryLayout
/// Year bands with photos per month above the card grid.
Timeline,
+
+ /// The Videos section's two lanes, Published and Workspace (the Library has no board).
+ Board,
}
/// Rendering quality profile (Settings › Rendering).
@@ -164,7 +167,10 @@ public sealed class AppSettings
public LibraryLayout LibraryLayout { get; set; } = LibraryLayout.Grid;
public SequenceSort LibrarySort { get; set; } = SequenceSort.Newest;
- /// The Videos section as cards () or as a list ().
+ ///
+ /// The Videos section as cards (), as a list () or as the
+ /// Board ().
+ ///
public LibraryLayout VideosLayout { get; set; } = LibraryLayout.Grid;
// ---- Rendering ----
diff --git a/src/Chronos.App/Infrastructure/Formatting.cs b/src/Chronos.App/Infrastructure/Formatting.cs
index 28c307de..d80952e9 100644
--- a/src/Chronos.App/Infrastructure/Formatting.cs
+++ b/src/Chronos.App/Infrastructure/Formatting.cs
@@ -5,10 +5,16 @@ namespace Chronos.App.Infrastructure;
/// Culture-aware number, size and duration formatting for the UI.
public static class Formatting
{
+ /// U+00A0, which joins a number to its unit.
+ public const char NoBreakSpace = '\u00A0';
+
/// Localized "{0} KB" formats from bytes to petabytes (BRIEF §16: sizes follow the language, "96,2 Go").
private static readonly string[] ByteUnits = ["Common.Size.B", "Common.Size.KB", "Common.Size.MB", "Common.Size.GB", "Common.Size.TB", "Common.Size.PB"];
- /// 1,536 → "1.5 KB" (decimal units, as Explorer shows for drives).
+ ///
+ /// 1,536 → "1.5 KB" (decimal units, as Explorer shows for drives), the number and its unit held together by a no-break
+ /// space (U+00A0) so a wrapped or trimmed line never parts them (issue #28).
+ ///
public static string Bytes(long bytes)
{
double value = bytes;
@@ -19,7 +25,7 @@ public static class Formatting
unit++;
}
var format = unit == 0 || value >= 100 ? "0" : "0.#";
- return Loc.L(ByteUnits[unit], value.ToString(format, Loc.Culture));
+ return Loc.L(ByteUnits[unit], value.ToString(format, Loc.Culture)).Replace(' ', NoBreakSpace);
}
public static string Count(long n) => n.ToString("N0", Loc.Culture);
diff --git a/src/Chronos.App/Sections/VideosView.xaml b/src/Chronos.App/Sections/VideosView.xaml
index a3d30a92..ac51d371 100644
--- a/src/Chronos.App/Sections/VideosView.xaml
+++ b/src/Chronos.App/Sections/VideosView.xaml
@@ -101,6 +101,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -115,7 +179,7 @@
-
+
@@ -141,6 +205,7 @@
AutomationProperties.Name="{l:Loc Videos.View.Grid}">
+
@@ -166,7 +231,7 @@
-
@@ -248,6 +313,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Chronos.App/Sections/VideosViewModel.cs b/src/Chronos.App/Sections/VideosViewModel.cs
index 3d066711..26529849 100644
--- a/src/Chronos.App/Sections/VideosViewModel.cs
+++ b/src/Chronos.App/Sections/VideosViewModel.cs
@@ -26,12 +26,17 @@ namespace Chronos.App.Sections;
/// and of the workspace (not sent yet) in one list, merged by render id, with filters, an order, cards or a list, and the
/// actions on the selection: Play in the pane on the right, Show in folder, Copy (or Download) to the videos folder checked
/// by hash, Copy on server, Delete… into the trash after a dry run, Open in Edit, and Send for the workspace's renders.
-/// An older server, or none, leaves this PC's videos with the reason.
+/// An older server, or none, leaves this PC's videos with the reason. The Board (owner request of 2026-11-06) shows the same
+/// renders in two lanes, Published and Workspace (), with the workspace's sent renders beside them.
///
public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVideosSection
{
private IReadOnlyList _entries = [];
private IReadOnlyList _rows = [];
+ private IReadOnlyList _sent = [];
+ private IReadOnlyList _sentRows = [];
+ private IReadOnlyList _publishedRows = [];
+ private IReadOnlyList _workspaceRows = [];
private IReadOnlyList> _kinds = [];
private IReadOnlyList> _codecs = [];
private IReadOnlyList> _years = [];
@@ -79,10 +84,15 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
ClearFiltersCommand = new RelayCommand(ClearFilters, () => Filter.IsFiltered);
ClearSequenceCommand = new RelayCommand(() => ShowSequence(null), () => IsSequenceFiltered);
RefreshCommand = new AsyncRelayCommand(RefreshAsync);
- _layoutIndex = services.Settings.VideosLayout == LibraryLayout.List ? 1 : 0;
+ _layoutIndex = services.Settings.VideosLayout switch
+ {
+ LibraryLayout.List => 1,
+ LibraryLayout.Board => 2,
+ _ => 0,
+ };
ClearSelectionCommand = new RelayCommand(() =>
{
- foreach (var row in _rows) row.IsSelected = false;
+ foreach (var row in AllRows) row.IsSelected = false;
}, () => HasSelection);
ClosePlayerCommand = new RelayCommand(() => Player = null);
}
@@ -97,7 +107,7 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
/// The signed-in server's videos, and what the account may do there.
internal Func ServerVideos { get; set; }
- /// The workspace's renders not sent yet.
+ /// The workspace's renders: those not sent yet, and those sent whose file is still there (the Board's).
internal Func>> WorkspaceRenders { get; set; }
/// Queues a job of this PC (a copy into the videos folder).
@@ -147,6 +157,30 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
}
}
+ /// The workspace's sent renders whose file is still in its exports/, before the filters (the Board's alone).
+ public IReadOnlyList SentEntries => _sent;
+
+ /// The Board's Published lane: renders filed at this PC's archive or the server, newest first.
+ public IReadOnlyList PublishedRows { get => _publishedRows; private set => Set(ref _publishedRows, value); }
+
+ /// The Board's Workspace lane: the workspace's renders not sent yet and those sent, newest first.
+ public IReadOnlyList WorkspaceRows { get => _workspaceRows; private set => Set(ref _workspaceRows, value); }
+
+ /// The Published lane's count.
+ public string PublishedCountText => Formatting.Count(_publishedRows.Count);
+
+ /// The Workspace lane's count.
+ public string WorkspaceCountText => Formatting.Count(_workspaceRows.Count);
+
+ /// The Published lane is empty and the Workspace lane is not ("No videos" in the lane; both empty is the section's empty state).
+ public bool IsPublishedEmpty => _publishedRows.Count == 0 && _workspaceRows.Count > 0;
+
+ /// The Workspace lane is empty and the Published lane is not.
+ public bool IsWorkspaceEmpty => _workspaceRows.Count == 0 && _publishedRows.Count > 0;
+
+ /// The rows of the list and the Board's sent rows: what a selection can hold.
+ private IEnumerable AllRows => _rows.Concat(_sentRows);
+
public bool IsLoading
{
get => _isLoading;
@@ -159,26 +193,40 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
}
/// No video anywhere: "No videos".
- public bool IsEmpty => !_isLoading && _entries.Count == 0;
+ public bool IsEmpty => !_isLoading && _entries.Count == 0 && (_sent.Count == 0 || !IsBoard);
/// Videos, none of which the filters keep: "No videos" and Clear filters.
- public bool IsNoMatch => !_isLoading && _entries.Count > 0 && _rows.Count == 0;
+ public bool IsNoMatch => !_isLoading && !IsEmpty && (IsBoard ? _publishedRows.Count + _workspaceRows.Count == 0 : _rows.Count == 0);
- /// The cards (0) or the list (1), kept for the next run (Settings: ).
+ /// The cards (0), the list (1) or the Board (2), kept for the next run (Settings: ).
public int LayoutIndex
{
get => _layoutIndex;
set
{
- if (value is < 0 or > 1 || !Set(ref _layoutIndex, value)) return;
- Shell.Services.Settings.VideosLayout = value == 1 ? LibraryLayout.List : LibraryLayout.Grid;
+ if (value is < 0 or > 2 || !Set(ref _layoutIndex, value)) return;
+ Shell.Services.Settings.VideosLayout = value switch
+ {
+ 1 => LibraryLayout.List,
+ 2 => LibraryLayout.Board,
+ _ => LibraryLayout.Grid,
+ };
+ // The sent renders show on the Board alone: off it, none of them stays selected out of sight.
+ if (value != 2)
+ {
+ foreach (var row in _sentRows) row.IsSelected = false;
+ }
OnPropertyChanged(nameof(IsGrid));
OnPropertyChanged(nameof(IsList));
+ OnPropertyChanged(nameof(IsBoard));
+ OnPropertyChanged(nameof(IsEmpty));
+ OnPropertyChanged(nameof(IsNoMatch));
}
}
public bool IsGrid => _layoutIndex == 0;
public bool IsList => _layoutIndex == 1;
+ public bool IsBoard => _layoutIndex == 2;
// ---- Filters ----
@@ -295,12 +343,12 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
// ---- Selection ----
- public IReadOnlyList SelectedRows => [.. _rows.Where(r => r.IsSelected)];
+ public IReadOnlyList SelectedRows => [.. AllRows.Where(r => r.IsSelected)];
- public bool HasSelection => _rows.Any(r => r.IsSelected);
+ public bool HasSelection => AllRows.Any(r => r.IsSelected);
/// "Selected: 3".
- public string SelectionText => Loc.L("Videos.Selected", Formatting.Count(_rows.Count(r => r.IsSelected)));
+ public string SelectionText => Loc.L("Videos.Selected", Formatting.Count(AllRows.Count(r => r.IsSelected)));
public ICommand ClearSelectionCommand { get; }
@@ -371,6 +419,7 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
{
[var one] when CanOpen(one.Entry) => Loc.L("Tooltips.Videos.OpenInEdit"),
[{ Entry.IsUnsent: true }] => Loc.L("Tooltips.Videos.WorkspaceRow"),
+ [{ Entry.IsWorkspaceSent: true } sent] => WorkspaceText.ForHome("Tooltips.Videos.SentRow", sent.Entry.WorkspaceServerHome),
[_] => Loc.L("Tooltips.Videos.ServerOnly"),
[] => Loc.L("Tooltips.Videos.OpenInEdit"),
_ => Loc.L("Tooltips.Videos.SelectOne"),
@@ -408,6 +457,7 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
var merged = await WithLocalCopiesAsync(VideoSources.Merge(local, remote, workspace));
if (load != _loads) return;
_server = state;
+ _sent = [.. workspace.Where(e => e.IsWorkspaceSent)];
Entries = merged;
OnPropertyChanged(nameof(ServerState));
OnPropertyChanged(nameof(IsServerLimited));
@@ -428,6 +478,7 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
BuildOptions();
// The rows' words are made with them: made again in the new language.
Rows = [];
+ SetSentRows([]);
Apply();
base.OnLanguageChanged();
}
@@ -515,14 +566,57 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
private void Apply()
{
// A row is kept while its render reads the same (its selection and its poster with it).
- var cache = _rows.ToDictionary(r => r.Entry.Id);
- Rows = [.. Filter.Apply(_entries).Select(e => cache.TryGetValue(e.Id, out var row)
- ? row.Entry == e ? row : new VideoRowViewModel(e) { IsSelected = row.IsSelected, Poster = row.Poster }
- : new VideoRowViewModel(e))];
- if (_player is { } player && !_entries.Any(e => e.Id == player.Entry.Id)) Player = null;
+ var filter = Filter;
+ Rows = Reuse(_rows, filter.Apply(_entries));
+ // The Board: the same rows in their lanes, and the workspace's sent renders as rows of their own (a sent render's id is
+ // its home entry's too).
+ var (published, workspace) = VideoBoard.Split(_entries, _sent, filter);
+ SetSentRows(Reuse(_sentRows, workspace.Where(e => e.IsWorkspaceSent)));
+ var listed = _rows.ToDictionary(r => r.Entry.Id);
+ var sent = _sentRows.ToDictionary(r => r.Entry.Id);
+ PublishedRows = [.. published.Select(e => listed[e.Id])];
+ WorkspaceRows = [.. workspace.Select(e => e.IsWorkspaceSent ? sent[e.Id] : listed[e.Id])];
+ OnPropertyChanged(nameof(PublishedCountText));
+ OnPropertyChanged(nameof(WorkspaceCountText));
+ OnPropertyChanged(nameof(IsPublishedEmpty));
+ OnPropertyChanged(nameof(IsWorkspaceEmpty));
+ OnPropertyChanged(nameof(IsEmpty));
+ OnPropertyChanged(nameof(IsNoMatch));
+ if (_player is { } player && !_entries.Concat(_sent).Any(e => e.Id == player.Entry.Id)) Player = null;
OnPropertyChanged(nameof(Filter));
}
+ /// The rows of , each kept from while its render reads the same.
+ private static IReadOnlyList Reuse(IReadOnlyList rows, IEnumerable entries)
+ {
+ var cache = rows.ToDictionary(r => r.Entry.Id);
+ return
+ [
+ .. entries.Select(e => cache.TryGetValue(e.Id, out var row)
+ ? row.Entry == e ? row : new VideoRowViewModel(e) { IsSelected = row.IsSelected, Poster = row.Poster }
+ : new VideoRowViewModel(e)),
+ ];
+ }
+
+ /// The Board's sent rows, wired as the list's are.
+ private void SetSentRows(IReadOnlyList rows)
+ {
+ foreach (var row in _sentRows)
+ {
+ row.SelectionChanged -= OnSelectionChanged;
+ row.PosterRequested -= OnPosterRequested;
+ }
+ var changed = _sentRows.Any(r => r.IsSelected) || rows.Any(r => r.IsSelected);
+ _sentRows = rows;
+ foreach (var row in _sentRows)
+ {
+ row.Section = this;
+ row.SelectionChanged += OnSelectionChanged;
+ row.PosterRequested += OnPosterRequested;
+ }
+ if (changed) OnSelectionChanged(null);
+ }
+
private void SetFilter(ref FilterOption field, FilterOption value, [System.Runtime.CompilerServices.CallerMemberName] string? name = null)
{
if (EqualityComparer>.Default.Equals(field, value)) return;
@@ -619,7 +713,7 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
OnPropertyChanged(nameof(ShowInFolderToolTip));
OnPropertyChanged(nameof(OpenInEditToolTip));
// A row's menu acts on the selection it is part of: its words follow the selection too.
- foreach (var each in _rows) each.RefreshMenu();
+ foreach (var each in AllRows) each.RefreshMenu();
CommandManager.InvalidateRequerySuggested();
}
@@ -671,7 +765,12 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
internal string? CopyBlocker(IReadOnlyList rows)
{
if (rows.Count == 0) return Loc.L("Tooltips.Videos.Copy");
- if (!rows.Any(r => Copyable(r.Entry))) return rows.All(r => r.Entry.Missing) ? Loc.L("Tooltips.Videos.Missing") : Loc.L("Tooltips.Videos.WorkspaceRow");
+ if (!rows.Any(r => Copyable(r.Entry)))
+ {
+ return rows.All(r => r.Entry.Missing) ? Loc.L("Tooltips.Videos.Missing")
+ : rows.All(r => r.Entry.IsWorkspaceSent) ? WorkspaceText.ForHome("Tooltips.Videos.SentRow", rows[0].Entry.WorkspaceServerHome)
+ : Loc.L("Tooltips.Videos.WorkspaceRow");
+ }
if (FolderProblem() is { } problem) return VideoText.FolderReason(problem);
return LocalLibrary() is { IsAvailable: true } ? null : Loc.L("Tooltips.Videos.Copy");
}
@@ -688,7 +787,8 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
internal string? DeleteBlocker(IReadOnlyList rows)
{
if (rows.Count == 0) return Loc.L("Tooltips.Videos.Delete");
- if (rows.All(r => r.Entry.IsUnsent)) return Loc.L("Tooltips.Videos.WorkspaceRow");
+ if (rows.All(r => r.Entry.IsWorkspaceSent)) return WorkspaceText.ForHome("Tooltips.Videos.SentRow", rows[0].Entry.WorkspaceServerHome);
+ if (rows.All(r => r.Entry.IsUnsent || r.Entry.IsWorkspaceSent)) return Loc.L("Tooltips.Videos.WorkspaceRow");
var local = rows.Any(r => r.Entry.IsLocal) && LocalLibrary() is { IsAvailable: true };
var server = rows.Any(r => !r.Entry.IsLocal && r.Entry.IsOnServer);
if (local) return null;
@@ -699,9 +799,10 @@ public sealed class VideosViewModel : SectionViewModel, Chronos.App.Editor.IVide
/// A render Copy to folder takes: this PC's file, or the server's alone (downloaded).
private bool Copyable(VideoEntry entry) =>
- !entry.IsUnsent && !entry.Missing && (entry.IsLocal || (entry.IsOnServer && _server.State == VideoServerState.Available));
+ !entry.IsUnsent && !entry.IsWorkspaceSent && !entry.Missing && (entry.IsLocal || (entry.IsOnServer && _server.State == VideoServerState.Available));
- private static bool CanOpen(VideoEntry entry) => entry.IsLocal || entry is { IsUnsent: true, WorkspaceServerHome: false };
+ /// Open in Edit: a render of this PC's archive, or a workspace's whose project's home is this PC's archive.
+ private static bool CanOpen(VideoEntry entry) => entry.IsLocal || (entry is { WorkspaceServerHome: false } && (entry.IsUnsent || entry.IsWorkspaceSent));
// ---- Actions ----
diff --git a/src/Chronos.App/Shell/ScreenCapture.cs b/src/Chronos.App/Shell/ScreenCapture.cs
index 00847c96..2062d953 100644
--- a/src/Chronos.App/Shell/ScreenCapture.cs
+++ b/src/Chronos.App/Shell/ScreenCapture.cs
@@ -230,7 +230,8 @@ public static class ScreenCapture
///
/// The Videos section (owner review 1, R9) on in both themes: the cards of this
/// PC's, the server's and the workspace's renders (videos), then the list with the still selected and shown in the
- /// player pane (videos-list); the cards again after, with nothing selected.
+ /// player pane (videos-list), then the Board's two lanes (videos-board); the cards again after, with nothing
+ /// selected.
///
private static async Task CaptureVideosAsync(MainWindow window, ShellViewModel shell, SampleData sample, string directory)
{
@@ -258,6 +259,10 @@ public static class ScreenCapture
written += await SaveAsync(window, directory, "videos-list", theme);
videos.ClosePlayerCommand.Execute(null);
videos.ClearSelectionCommand.Execute(null);
+
+ // The Board (owner request of 2026-11-06): Published beside Workspace, the workspace's sent render among its own.
+ videos.LayoutIndex = 2;
+ written += await SaveAsync(window, directory, "videos-board", theme);
videos.LayoutIndex = 0;
}
return written;
diff --git a/src/Chronos.App/Videos/VideoRows.cs b/src/Chronos.App/Videos/VideoRows.cs
index 622533ae..b3406092 100644
--- a/src/Chronos.App/Videos/VideoRows.cs
+++ b/src/Chronos.App/Videos/VideoRows.cs
@@ -2,6 +2,7 @@ using System.Globalization;
using System.Windows.Media;
using Chronos.App.Archiving;
using Chronos.App.Infrastructure;
+using Chronos.App.Workspace;
using Chronos.Core.Localization;
using Chronos.Core.Model;
using Chronos.Data.Videos;
@@ -49,6 +50,24 @@ public static class VideoText
return string.Join(Loc.Separator, new[] { Format(entry), Duration(entry), Formatting.Bytes(entry.Bytes) }.Where(p => p.Length > 0));
}
+ ///
+ /// "4K archive · HEVC · 0:41 · 1.4 GB": a card's line (issue #28), the preset first, then the codec, the duration (a still
+ /// has none) and the size.
+ ///
+ public static string Card(VideoEntry entry)
+ {
+ ArgumentNullException.ThrowIfNull(entry);
+ return string.Join(Loc.Separator, new[] { entry.PresetName, VideoSources.CodecText(entry.Codec), Duration(entry), Formatting.Bytes(entry.Bytes) }.Where(p => p.Length > 0));
+ }
+
+ /// "Social cut · Version 3": the project rendered and its version, when known; empty for a render of the sequence's settings.
+ public static string Project(VideoEntry entry)
+ {
+ ArgumentNullException.ThrowIfNull(entry);
+ if (entry.ProjectName is not { Length: > 0 } project) return string.Empty;
+ return entry.ProjectVersionNumber is { } number ? project + Loc.Separator + Loc.L("Videos.Version", Formatting.Count(number)) : project;
+ }
+
/// The state chips of a render: where its file is, whether it was copied, and a missing file.
public static IReadOnlyList States(VideoEntry entry)
{
@@ -56,6 +75,7 @@ public static class VideoText
var states = new List();
if (entry.Missing) states.Add(new CardStatus(StatusKind.Warning, Loc.L("Videos.State.Missing"), Loc.L("Tooltips.Videos.Missing")));
if (entry.IsUnsent) states.Add(new CardStatus(StatusKind.Queued, Loc.L("Videos.State.NotSent"), Loc.L("Tooltips.Videos.NotSent")));
+ else if (entry.IsWorkspaceSent) states.Add(new CardStatus(StatusKind.Synced, Loc.L("Videos.State.Sent"), WorkspaceText.ForHome("Tooltips.Videos.Sent", entry.WorkspaceServerHome)));
else if (entry.IsLocal && entry.IsOnServer) states.Add(new CardStatus(StatusKind.Synced, Loc.L("Videos.State.HereAndServer"), Loc.L("Tooltips.Videos.HereAndServer")));
else if (entry.IsLocal) states.Add(new CardStatus(StatusKind.Done, Loc.L("Videos.State.Here"), Loc.L("Tooltips.Videos.Here")));
else if (entry.IsOnServer) states.Add(new CardStatus(StatusKind.Remote, Loc.L("Videos.State.OnServer"), Loc.L("Tooltips.Videos.OnServer")));
@@ -120,6 +140,24 @@ public sealed class VideoRowViewModel(VideoEntry entry) : ObservableObject
public string Subtitle => Entry.ProjectName is { Length: > 0 } project ? Entry.PresetName + Loc.Separator + project : Entry.PresetName;
public string DetailsText => VideoText.Details(Entry);
+
+ /// The card's line: preset, codec, duration and size ().
+ public string CardText => VideoText.Card(Entry);
+
+ /// The project and its version on a Board card; empty when none was rendered.
+ public string ProjectText => VideoText.Project(Entry);
+
+ public bool HasProject => ProjectText.Length > 0;
+
+ /// A Board card's facts: the kind and when it was made.
+ public string BoardFactsText => KindLabel(Entry.Kind) + Loc.Separator + DateText;
+
+ /// Send, on a workspace render not sent yet.
+ public bool CanSend => Entry.IsUnsent;
+
+ /// What Send does for the render, worded for its project's home.
+ public string SendToolTip => WorkspaceText.ForHome("Tooltips.Editor.Render.SendAgain", Entry.WorkspaceServerHome);
+
public string FormatText => VideoText.Format(Entry);
public string DurationText => VideoText.Duration(Entry);
public string SizeText => Formatting.Bytes(Entry.Bytes);
@@ -128,7 +166,18 @@ public sealed class VideoRowViewModel(VideoEntry entry) : ObservableObject
public IReadOnlyList States { get; } = VideoText.States(entry);
/// The card's and the row's tooltip: what it is, then how to select it.
- public string ToolTip => Entry.IsUnsent ? Loc.L("Tooltips.Videos.WorkspaceRow") : Loc.L("Tooltips.Videos.Select");
+ public string ToolTip => Entry.IsUnsent ? Loc.L("Tooltips.Videos.WorkspaceRow")
+ : Entry.IsWorkspaceSent ? WorkspaceText.ForHome("Tooltips.Videos.SentRow", Entry.WorkspaceServerHome)
+ : Loc.L("Tooltips.Videos.Select");
+
+ /// "Video", "Still", "Image sequence": one render's kind; a newer kind as it is.
+ private static string KindLabel(string kind) => kind switch
+ {
+ RenderKind.Video => Loc.L("Videos.Kind.One.Video"),
+ RenderKind.Still => Loc.L("Videos.Kind.One.Still"),
+ RenderKind.Sequence => Loc.L("Videos.Kind.One.Sequence"),
+ _ => kind,
+ };
///
/// Play's tooltip: what it does, or why it waits (a server's video plays here once it is copied to this PC, a file
diff --git a/src/Chronos.App/Videos/VideoSources.cs b/src/Chronos.App/Videos/VideoSources.cs
index 874b79ce..7e3d2d3d 100644
--- a/src/Chronos.App/Videos/VideoSources.cs
+++ b/src/Chronos.App/Videos/VideoSources.cs
@@ -81,6 +81,12 @@ public sealed record VideoEntry
/// A workspace render not at its home yet: read-only here (Play, Show in folder, Send).
public bool IsUnsent { get; init; }
+ ///
+ /// A workspace render its home took already, whose file is still in the project's exports/: the Board's Workspace
+ /// lane shows it as sent (its home's entry stands for it everywhere else). Read-only here (Play, Show in folder).
+ ///
+ public bool IsWorkspaceSent { get; init; }
+
/// The file is not where it was recorded (here, or on the server for a render the server alone holds).
public bool Missing { get; init; }
@@ -93,6 +99,9 @@ public sealed record VideoEntry
/// The project rendered; null for a render of the sequence's settings.
public string? ProjectName { get; init; }
+ /// The number of the project version rendered; null when not known.
+ public int? ProjectVersionNumber { get; init; }
+
/// The paths of its verified copies in videos folders (of this PC and of the server).
public IReadOnlyList Copies { get; init; } = [];
@@ -140,7 +149,7 @@ public sealed record VideoFilter
if (Year is { } year && entry.Year != year) return false;
if (Source switch
{
- VideoSourceFilter.Local => !entry.IsLocal && !entry.IsUnsent,
+ VideoSourceFilter.Local => !entry.IsLocal && !entry.IsUnsent && !entry.IsWorkspaceSent,
VideoSourceFilter.Server => !entry.IsOnServer,
VideoSourceFilter.NotSent => !entry.IsUnsent,
_ => false,
@@ -260,6 +269,7 @@ public static class VideoSources
IsLocal = true,
Missing = item.Missing,
ProjectName = item.ProjectName,
+ ProjectVersionNumber = item.ProjectVersionNumber,
Copies = [.. item.Copies.Select(c => c.Path)],
};
}
@@ -286,11 +296,12 @@ public static class VideoSources
IsOnServer = true,
Missing = video.State == VideoStates.Missing,
ProjectName = video.ProjectName,
+ ProjectVersionNumber = video.ProjectVersionNumber,
Copies = [.. video.Copies.Select(c => c.Path)],
};
}
- /// A workspace render not sent yet ( its file on this PC).
+ /// A workspace render, sent or not yet ( its file on this PC).
public static VideoEntry FromWorkspace(WorkspaceRenderEntry render, WorkspaceEntry project, string path, bool exists)
{
ArgumentNullException.ThrowIfNull(render);
@@ -311,7 +322,8 @@ public static class VideoSources
Kind = RenderKind.Of(null, render.Codec, render.Fps, render.DurationSeconds),
FileName = Path.GetFileName(path.TrimEnd('/', '\\')),
LocalPath = path,
- IsUnsent = true,
+ IsUnsent = render.IsUnsent,
+ IsWorkspaceSent = render.IsSent,
Missing = !exists,
WorkspaceProjectId = project.ProjectId,
WorkspaceServerHome = project.IsServerHome,
@@ -345,8 +357,9 @@ public static class VideoSources
order.Add(entry.Id);
}
}
- // A workspace render the archive or the server holds was sent: the library's entry stands for it.
- foreach (var entry in workspace)
+ // A workspace render the archive or the server holds was sent: the library's entry stands for it. One the ledger marks
+ // sent belongs to the Board's Workspace lane alone (VideoBoard).
+ foreach (var entry in workspace.Where(e => !e.IsWorkspaceSent))
{
if (merged.TryAdd(entry.Id, entry)) order.Add(entry.Id);
}
@@ -409,8 +422,9 @@ public static class VideoSources
}
///
- /// The workspace renders not at their home yet, of every project whose ledger reads (one that does not is logged and
- /// skipped: it never hides the others).
+ /// The workspace renders of every project whose ledger reads (one that does not is logged and skipped: it never hides the
+ /// others): those not at their home yet () and those sent whose file is still in
+ /// exports/ ().
///
public static IReadOnlyList ReadWorkspace(WorkspaceStore store, IEnumerable projects)
{
@@ -422,7 +436,7 @@ public static class VideoSources
try
{
var folder = store.Project(project.ProjectId);
- foreach (var render in folder.ReadRenders().Unsent)
+ foreach (var render in folder.ReadRenders().Entries)
{
var path = folder.ExportFile(render.File);
entries.Add(FromWorkspace(render, project, path, File.Exists(path) || Directory.Exists(path)));
@@ -449,6 +463,45 @@ public static class VideoSources
public static bool ShowsAsImage(string? path) => path is not null && ImageExtensions.Contains(Path.GetExtension(path), StringComparer.OrdinalIgnoreCase);
}
+/// The two lanes of the Videos section's Board (owner request of 2026-11-06).
+public enum VideoLane
+{
+ /// Renders filed at a home: this PC's archive or the signed-in server (a workspace's sent ones among them).
+ Published,
+
+ /// Renders in a workspace project's exports/: not sent yet, or sent and still there.
+ Workspace,
+}
+
+///
+/// The Board of the Videos section: every render in the lane of where it is, published at a home or in a workspace, newest
+/// first. A workspace render its home took shows in both lanes: as the home's entry under Published, as sent under Workspace.
+/// WPF-free.
+///
+public static class VideoBoard
+{
+ /// The lane of .
+ public static VideoLane LaneOf(VideoEntry entry)
+ {
+ ArgumentNullException.ThrowIfNull(entry);
+ return entry.IsUnsent || entry.IsWorkspaceSent ? VideoLane.Workspace : VideoLane.Published;
+ }
+
+ ///
+ /// The lanes of (the merged list) and (the workspace's sent renders),
+ /// each with what keeps, newest first whatever the list's order.
+ ///
+ public static (IReadOnlyList Published, IReadOnlyList Workspace) Split(IEnumerable entries, IEnumerable sent,
+ VideoFilter filter)
+ {
+ ArgumentNullException.ThrowIfNull(entries);
+ ArgumentNullException.ThrowIfNull(sent);
+ ArgumentNullException.ThrowIfNull(filter);
+ var kept = (filter with { Sort = null }).Apply(entries.Concat(sent));
+ return ([.. kept.Where(e => LaneOf(e) == VideoLane.Published)], [.. kept.Where(e => LaneOf(e) == VideoLane.Workspace)]);
+ }
+}
+
/// The videos folder of this PC (decision 15): where Copy to folder puts renders.
public static class VideosFolders
{
diff --git a/src/Chronos.Server/Admin/web/admin.css b/src/Chronos.Server/Admin/web/admin.css
index 1b98f527..3da0f6c8 100644
--- a/src/Chronos.Server/Admin/web/admin.css
+++ b/src/Chronos.Server/Admin/web/admin.css
@@ -434,6 +434,16 @@ dialog.player .viewer-head .ellipsis { flex: 0 1 auto; }
.seq-items.rows.video-items { grid-template-columns: max-content 64px minmax(120px, 1fr) max-content minmax(60px, max-content); }
.video-items .col-kind, .video-items .col-format, .video-items .col-duration { display: none; }
}
+/* The Videos board (owner request of 2026-11-06): two lanes side by side, Published and Workspace, each a heading with its
+ count over its own grid of cards; one lane under the other on a narrow screen. */
+.seq-items.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px; align-items: start; }
+.board-lane { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
+.board-head { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; }
+.board-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
+.board-cards > .empty-lane { grid-column: 1 / -1; margin: 0; padding: 16px 0; color: var(--text-muted); text-align: center; }
+@media (max-width: 900px) {
+ .seq-items.board { grid-template-columns: minmax(0, 1fr); }
+}
/* Upload dialog (owner review 2, R3, upload.js): the target, a drop zone, the photos with their state, the total. */
dialog.dialog.upload { width: 640px; }
diff --git a/src/Chronos.Server/Admin/web/icons.js b/src/Chronos.Server/Admin/web/icons.js
index 1501a711..6d1d07b6 100644
--- a/src/Chronos.Server/Admin/web/icons.js
+++ b/src/Chronos.Server/Admin/web/icons.js
@@ -16,6 +16,7 @@ export const icons = {
plus: ``,
copy: ``,
search: ``,
+ board: ``,
grid: ``,
list: ``,
trash: ``,
diff --git a/src/Chronos.Server/Admin/web/pages/videos.js b/src/Chronos.Server/Admin/web/pages/videos.js
index 2985d31f..242ff006 100644
--- a/src/Chronos.Server/Admin/web/pages/videos.js
+++ b/src/Chronos.Server/Admin/web/pages/videos.js
@@ -3,6 +3,9 @@
// edits (owner review 2, R6): it plays a render in the browser, downloads it, copies it hash-verified into the server's
// videos folder (a video-copy job) and deletes it into the archive's trash after a dry run that names what goes, whose
// fingerprint the delete sends back. Restoring goes through Library › Trash. Nothing here renders or changes a project.
+// The board (owner request of 2026-11-06) shows the same videos in two lanes, newest first: Published, every render the
+// server holds, and Workspace, those a PC's workspace made and sent here (boardLane), marked Sent with the PC's name; the
+// renders a workspace has not sent yet stay on that PC, where the desktop's board lists them.
import { t, applyStrings } from "../i18n.js";
import { escapeHtml, attr, formatBytes, formatNumber, formatDateTime, toast, errorText, confirmDialog, emptyState, routeParams, redraw } from "../ui.js";
import { icons } from "../icons.js";
@@ -48,6 +51,12 @@ export async function render(root, { api, setMeta, actions, onEvent }) {
folder = s.videosPath ?? "";
if (root.isConnected) drawMass();
}, () => {});
+ /** The server's name, which its own renders carry as producedBy: the board tells them from a workspace's (boardLane). */
+ let serverName = null;
+ api.get("/api/v1/server/info").then((info) => {
+ serverName = info.name ?? null;
+ if (root.isConnected && view === "board") draw();
+ }, () => {});
actions.innerHTML = `
${icons.trash}
@@ -72,6 +81,8 @@ export async function render(root, { api, setMeta, actions, onEvent }) {
aria-label="${attr(t("Admin.Videos.View.Cards"))}">${icons.grid}
+
@@ -160,7 +171,11 @@ export async function render(root, { api, setMeta, actions, onEvent }) {
cursor = page.next ?? null;
if (!more) total = page.total ?? null;
learn(page.items);
- if (more) {
+ if (more && view === "board") {
+ // A lane's cards stay newest first: the board is drawn again with the page added.
+ rows = rows.concat(page.items);
+ draw();
+ } else if (more) {
rows = rows.concat(page.items);
itemsHost.insertAdjacentHTML("beforeend", page.items.map(itemHtml).join(""));
watchImages(itemsHost);
@@ -260,7 +275,7 @@ export async function render(root, { api, setMeta, actions, onEvent }) {
}
function draw() {
- itemsHost.className = `seq-items video-items ${view === "list" ? "rows" : "cards"}`;
+ itemsHost.className = `seq-items video-items ${view === "list" ? "rows" : view === "board" ? "board" : "cards"}`;
itemsHost.setAttribute("role", "listbox");
itemsHost.setAttribute("aria-multiselectable", "true");
itemsHost.setAttribute("aria-label", t("Admin.Videos.Title"));
@@ -274,6 +289,14 @@ export async function render(root, { api, setMeta, actions, onEvent }) {
syncSelection();
return;
}
+ if (view === "board") {
+ itemsHost.innerHTML = boardHtml();
+ applyStrings(itemsHost);
+ watchImages(itemsHost);
+ grid.restore();
+ syncSelection();
+ return;
+ }
const head = view === "list" ? `
@@ -286,7 +309,22 @@ export async function render(root, { api, setMeta, actions, onEvent }) {
syncSelection();
}
- function itemHtml(v) {
+ /**
+ * The two lanes, newest first whatever the order chosen, each with its count: Published holds every video shown, Workspace
+ * those a PC's workspace sent here, again as cards of their own marked Sent.
+ */
+ function boardHtml() {
+ const newest = [...rows].sort((a, b) => (Date.parse(b.created) - Date.parse(a.created)) || String(a.id).localeCompare(String(b.id)));
+ const sent = newest.filter((v) => boardLane(v, serverName) === "workspace");
+ const lane = (key, items, workspace) => `
+
`;
}
+ // On the board: the project and its version, then preset · codec · length · size, then kind · date (issue #28's order).
+ if (view === "board") {
+ return `