feat: work board, no usage data, archive folder tree, deploy guide (owner review 4 + owner review 1 phase 6) (#62)
CI / Build and test (push) Successful in 10m37s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 16m19s
CI / PostgreSQL 16 integration (push) Successful in 10m19s
CI / PostgreSQL 17 integration (push) Successful in 11m27s
CI / Docker image (push) Successful in 57s
Release / Server image (push) Successful in 1m34s

Owner review 4 and owner review 1 phase 6.

- Work board in Videos (desktop and admin panel): Published and Workspace lanes (#29).
- Anonymous usage counts removed: Chronos sends nothing about its use (#30).
- The archive's whole folder tree is created inside any archive root, on the server and the desktop (#31).
- Video cards start with the preset; sizes keep number and unit together (#28).
- Deploy guide docs/deploy (Docker, Unraid, desktop), BRIEF §24, original documentation in docs/reference/original (#22).

Closes #22 #28 #29 #30 #31

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #62.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-11-06 18:46:22 +01:00
1 parent 728ffa35cb
commit 0075065884
304 files changed
+6892 -325

No files matched your search

+156 -2
View File
@@ -101,6 +101,99 @@
<Setter Property="ContextMenu" Value="{StaticResource Menu.Video}" />
<EventSetter Event="MouseDoubleClick" Handler="OnItemDoubleClick" />
</Style>
<Style x:Key="ListBoxItem.VideoBoard" TargetType="ListBoxItem" BasedOn="{StaticResource ListBoxItem.Row}">
<Setter Property="Padding" Value="14,10" />
<Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
<Setter Property="AutomationProperties.Name" Value="{Binding Title}" />
<Setter Property="Tag" Value="{Binding DataContext, RelativeSource={RelativeSource AncestorType=ListBox}}" />
<Setter Property="ContextMenu" Value="{StaticResource Menu.Video}" />
<EventSetter Event="MouseDoubleClick" Handler="OnItemDoubleClick" />
</Style>
<!--
A Board card's text and its actions: beside each other, and the actions on a row of their own under the text while the
player pane narrows the lanes (rc.14 review: at the window's smallest width the text kept about 80 px).
-->
<Style x:Key="Panel.BoardText" TargetType="StackPanel">
<Style.Triggers>
<DataTrigger Binding="{Binding DataContext.IsPlayerOpen, RelativeSource={RelativeSource AncestorType=UserControl}}" Value="True">
<Setter Property="Grid.ColumnSpan" Value="2" />
</DataTrigger>
</Style.Triggers>
</Style>
<Style x:Key="Panel.BoardActions" TargetType="StackPanel">
<Setter Property="Orientation" Value="Horizontal" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="Grid.Column" Value="1" />
<Setter Property="Margin" Value="8,0,0,0" />
<Style.Triggers>
<DataTrigger Binding="{Binding DataContext.IsPlayerOpen, RelativeSource={RelativeSource AncestorType=UserControl}}" Value="True">
<Setter Property="Grid.Column" Value="0" />
<Setter Property="Grid.Row" Value="1" />
<Setter Property="Margin" Value="0,4,0,0" />
<Setter Property="HorizontalAlignment" Value="Left" />
</DataTrigger>
</Style.Triggers>
</Style>
<!-- A Board card: title, project and version, preset · codec · duration · size, kind · date, state chips, and its actions. -->
<DataTemplate x:Key="Template.BoardCard" DataType="{x:Type vid:VideoRowViewModel}">
<Grid ToolTip="{Binding ToolTip}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<StackPanel Style="{StaticResource Panel.BoardText}">
<TextBlock Text="{Binding Title}" FontWeight="SemiBold" TextTrimming="CharacterEllipsis" />
<TextBlock Style="{StaticResource Text.Secondary}" Text="{Binding ProjectText}" TextTrimming="CharacterEllipsis" Margin="0,2,0,0"
Visibility="{Binding HasProject, Converter={StaticResource BoolToVisibility}}" />
<TextBlock Style="{StaticResource Text.Secondary}" Text="{Binding CardText}" TextTrimming="CharacterEllipsis" Margin="0,2,0,0" />
<TextBlock Style="{StaticResource Text.Faint}" Text="{Binding BoardFactsText}" TextTrimming="CharacterEllipsis" Margin="0,2,0,0" />
<ItemsControl Margin="0,6,0,0" ItemsSource="{Binding States}" ItemTemplate="{StaticResource Template.Status}" ItemsPanel="{StaticResource Panel.Row}"
Focusable="False" ClipToBounds="True" />
</StackPanel>
<StackPanel Style="{StaticResource Panel.BoardActions}">
<Button Style="{StaticResource Button.Quick}" ui:ButtonIcon.Glyph="{StaticResource Icon.Play}"
Command="{Binding DataContext.PlayCommand, RelativeSource={RelativeSource AncestorType=UserControl}}" CommandParameter="{Binding}"
ToolTip="{Binding PlayToolTip}" AutomationProperties.Name="{l:Loc Videos.Play}" />
<Button Style="{StaticResource Button.Quick}" ui:ButtonIcon.Glyph="{StaticResource Icon.FolderOpen}"
Command="{Binding DataContext.ShowInFolderCommand, RelativeSource={RelativeSource AncestorType=UserControl}}" CommandParameter="{Binding}"
ToolTip="{Binding MenuShowInFolderToolTip}" AutomationProperties.Name="{l:Loc Videos.ShowInFolder}" />
<Button Style="{StaticResource Button.Quick}" ui:ButtonIcon.Glyph="{StaticResource Icon.Sequence}"
Command="{Binding DataContext.OpenInEditCommand, RelativeSource={RelativeSource AncestorType=UserControl}}" CommandParameter="{Binding}"
ToolTip="{Binding MenuOpenInEditToolTip}" AutomationProperties.Name="{l:Loc Videos.OpenInEdit}" />
<Button Style="{StaticResource Button.Quick}" ui:ButtonIcon.Glyph="{StaticResource Icon.Upload}"
Command="{Binding DataContext.SendCommand, RelativeSource={RelativeSource AncestorType=UserControl}}" CommandParameter="{Binding}"
ToolTip="{Binding SendToolTip}" AutomationProperties.Name="{l:Loc Editor.Render.SendAgain}"
Visibility="{Binding CanSend, Converter={StaticResource BoolToVisibility}}" />
</StackPanel>
</Grid>
</DataTemplate>
<Style x:Key="ListBox.Lane" TargetType="ListBox" BasedOn="{StaticResource {x:Type ListBox}}">
<Setter Property="ItemContainerStyle" Value="{StaticResource ListBoxItem.VideoBoard}" />
<Setter Property="ItemTemplate" Value="{StaticResource Template.BoardCard}" />
<Setter Property="SelectionMode" Value="Extended" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="VirtualizingPanel.IsVirtualizing" Value="True" />
<Setter Property="VirtualizingPanel.VirtualizationMode" Value="Recycling" />
<Setter Property="VirtualizingPanel.ScrollUnit" Value="Pixel" />
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled" />
<Setter Property="KeyboardNavigation.TabNavigation" Value="Continue" />
</Style>
<Style x:Key="Border.LaneCount" TargetType="Border">
<Setter Property="Background" Value="{DynamicResource Brush.Card}" />
<Setter Property="BorderBrush" Value="{DynamicResource Brush.Stroke}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="CornerRadius" Value="9" />
<Setter Property="Padding" Value="7,0" />
<Setter Property="MinWidth" Value="22" />
<Setter Property="Height" Value="18" />
<Setter Property="Margin" Value="8,0,0,0" />
<Setter Property="VerticalAlignment" Value="Center" />
</Style>
</UserControl.Resources>
<Grid>
@@ -115,7 +208,7 @@
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<!-- Toolbar: search, kind, codec, year, source, order · cards or list (decision 20). -->
<!-- Toolbar: search, kind, codec, year, source, order · cards, list or Board (decision 20). -->
<Grid Grid.ColumnSpan="2" Margin="20,0" MinHeight="56">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" MinWidth="160" MaxWidth="260" />
@@ -141,6 +234,7 @@
AutomationProperties.Name="{l:Loc Videos.View.Grid}">
<v:SegmentedItem Glyph="{StaticResource Icon.ViewGrid}" ToolTip="{l:Loc Tooltips.Videos.View}" AutomationProperties.Name="{l:Loc Videos.View.Grid}" />
<v:SegmentedItem Glyph="{StaticResource Icon.ViewList}" ToolTip="{l:Loc Tooltips.Videos.View}" AutomationProperties.Name="{l:Loc Videos.View.List}" />
<v:SegmentedItem Glyph="{StaticResource Icon.ViewBoard}" ToolTip="{l:Loc Tooltips.Videos.View.Board}" AutomationProperties.Name="{l:Loc Videos.View.Board}" />
</v:SegmentedControl>
<Button Grid.Column="3" Style="{StaticResource Button.Quick}" VerticalAlignment="Top" Margin="8,14,0,0" ui:ButtonIcon.Glyph="{StaticResource Icon.Refresh}"
Command="{Binding RefreshCommand}" ToolTip="{l:Loc Tooltips.Videos.Refresh}" AutomationProperties.Name="{l:Loc Videos.Refresh}" />
@@ -166,7 +260,7 @@
</ListBox.InputBindings>
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type vid:VideoRowViewModel}">
<v:SequenceCard Title="{Binding Title}" Subtitle="{Binding DetailsText}" Badge="{Binding DurationText}" Statuses="{Binding States}" Thumbnail="{Binding Poster}"
<v:SequenceCard Title="{Binding Title}" Subtitle="{Binding CardText}" Badge="{Binding DurationText}" Statuses="{Binding States}" Thumbnail="{Binding Poster}"
IsSelected="{Binding IsSelected, RelativeSource={RelativeSource AncestorType=ListBoxItem}, Mode=TwoWay}"
SelectToolTip="{l:Loc Tooltips.Videos.Select}" ToolTip="{Binding ToolTip}" Loaded="OnCardLoaded">
<v:SequenceCard.ActionsContent>
@@ -248,6 +342,66 @@
</Grid>
</Border>
<!--
Board (owner request of 2026-11-06): Published, the renders filed at this PC's archive or the server, and Workspace, the
workspace's renders not sent yet and those sent still in its exports; newest first, a count per lane, the list's filters.
-->
<Grid Grid.Row="2" Margin="20,4,20,12" Visibility="{Binding IsBoard, Converter={StaticResource BoolToVisibility}}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="16" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Border Style="{StaticResource Border.Panel}">
<DockPanel>
<Border DockPanel.Dock="Top" BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,0,0,1" Padding="14,10" Background="Transparent"
ToolTip="{l:Loc Tooltips.Videos.Lane.Published}">
<StackPanel Orientation="Horizontal">
<TextBlock Text="{l:Loc Videos.Lane.Published}" FontWeight="SemiBold" VerticalAlignment="Center" />
<Border Style="{StaticResource Border.LaneCount}">
<TextBlock Style="{StaticResource Text.Faint}" Text="{Binding PublishedCountText}" HorizontalAlignment="Center" VerticalAlignment="Center"
Typography.NumeralAlignment="Tabular" />
</Border>
</StackPanel>
</Border>
<Grid>
<ListBox x:Name="PublishedLane" Style="{StaticResource ListBox.Lane}" ItemsSource="{Binding PublishedRows}" AutomationProperties.Name="{l:Loc Videos.Lane.Published}">
<ListBox.InputBindings>
<KeyBinding Key="Enter" Command="{Binding PlayCommand}" />
<KeyBinding Key="Delete" Command="{Binding DeleteCommand}" />
</ListBox.InputBindings>
</ListBox>
<TextBlock Style="{StaticResource Text.Hint}" Text="{l:Loc Videos.Empty}" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,24,0,0"
Visibility="{Binding IsPublishedEmpty, Converter={StaticResource BoolToVisibility}}" />
</Grid>
</DockPanel>
</Border>
<Border Grid.Column="2" Style="{StaticResource Border.Panel}">
<DockPanel>
<Border DockPanel.Dock="Top" BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,0,0,1" Padding="14,10" Background="Transparent"
ToolTip="{l:Loc Tooltips.Videos.Lane.Workspace}">
<StackPanel Orientation="Horizontal">
<TextBlock Text="{l:Loc Videos.Lane.Workspace}" FontWeight="SemiBold" VerticalAlignment="Center" />
<Border Style="{StaticResource Border.LaneCount}">
<TextBlock Style="{StaticResource Text.Faint}" Text="{Binding WorkspaceCountText}" HorizontalAlignment="Center" VerticalAlignment="Center"
Typography.NumeralAlignment="Tabular" />
</Border>
</StackPanel>
</Border>
<Grid>
<ListBox x:Name="WorkspaceLane" Style="{StaticResource ListBox.Lane}" ItemsSource="{Binding WorkspaceRows}" AutomationProperties.Name="{l:Loc Videos.Lane.Workspace}">
<ListBox.InputBindings>
<KeyBinding Key="Enter" Command="{Binding PlayCommand}" />
<KeyBinding Key="Delete" Command="{Binding DeleteCommand}" />
</ListBox.InputBindings>
</ListBox>
<TextBlock Style="{StaticResource Text.Hint}" Text="{l:Loc Videos.Empty}" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,24,0,0"
Visibility="{Binding IsWorkspaceEmpty, Converter={StaticResource BoolToVisibility}}" />
</Grid>
</DockPanel>
</Border>
</Grid>
<!-- Empty states: no video anywhere, or none the filters keep. -->
<ui:EmptyState Grid.Row="2" Message="{l:Loc Videos.Empty}" Visibility="{Binding IsEmpty, Converter={StaticResource BoolToVisibility}}" />
<ui:EmptyState Grid.Row="2" Message="{l:Loc Videos.Empty}" Visibility="{Binding IsNoMatch, Converter={StaticResource BoolToVisibility}}">