feat(ui): maximize work console via green traffic-light dot

This commit is contained in:
mika kuns
2026-06-05 10:27:47 +02:00
parent 2dfc4559b1
commit de4ad5dcf3
6 changed files with 79 additions and 6 deletions

View File

@@ -39,15 +39,22 @@
<Grid>
<!-- Task detail: description/steps card (upper) + pinned work console (lower) -->
<Grid IsVisible="{Binding IsTaskDetailVisible}"
Margin="14,12,14,12"
RowDefinitions="2*,*">
<Grid x:Name="DetailBodyGrid"
IsVisible="{Binding IsTaskDetailVisible}"
Margin="14,12,14,12">
<Grid.RowDefinitions>
<!-- MinHeight keeps the description visible: the console can never
overlap it, whether maximized (code-behind) or dragged. -->
<RowDefinition Height="2*" MinHeight="90"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ScrollViewer Grid.Row="0" VerticalScrollBarVisibility="Auto">
<detail:DescriptionStepsCard VerticalAlignment="Top"/>
</ScrollViewer>
<detail:WorkConsole Grid.Row="1" Margin="0,10,0,0"/>
<!-- Resize by dragging the console's top edge — a transparent splitter
over the gap above the console; no standalone separator bar. -->
over the gap above the console; no standalone separator bar.
Stays draggable while maximized. -->
<GridSplitter Grid.Row="1"
VerticalAlignment="Top"
Height="10"