style(claude-do): merge Material icons: task rows + notes editor

ClaudeDo-Task: e940ffc0-4889-4f73-bae3-95bab3efc633
This commit is contained in:
mika kuns
2026-10-01 16:53:19 +02:00
3 changed files with 12 additions and 14 deletions
@@ -42,7 +42,7 @@
<Border DockPanel.Dock="Top" Classes="add-task" Margin="16,14,16,10"> <Border DockPanel.Dock="Top" Classes="add-task" Margin="16,14,16,10">
<Grid ColumnDefinitions="Auto,*,Auto"> <Grid ColumnDefinitions="Auto,*,Auto">
<Border Grid.Column="0" Classes="add-task-plus" VerticalAlignment="Center"> <Border Grid.Column="0" Classes="add-task-plus" VerticalAlignment="Center">
<PathIcon Width="12" Height="12" Data="{StaticResource Icon.Plus}" <PathIcon Width="12" Height="12" Data="{Binding Source='mdi:Plus', Converter={StaticResource IconKey}}"
Foreground="{DynamicResource TextFaintBrush}"/> Foreground="{DynamicResource TextFaintBrush}"/>
</Border> </Border>
<!-- Enter/Shift+Enter are handled in the code-behind's tunnel handler, same as the note <!-- Enter/Shift+Enter are handled in the code-behind's tunnel handler, same as the note
@@ -86,13 +86,13 @@
VerticalAlignment="Center" VerticalAlignment="Center"
IsVisible="{Binding FromAgent}" IsVisible="{Binding FromAgent}"
ToolTip.Tip="{loc:Tr notes.fromAgentTip}" ToolTip.Tip="{loc:Tr notes.fromAgentTip}"
Data="{StaticResource Icon.AgentSuggested}" Data="{Binding Source='mdi:CreationOutline', Converter={StaticResource IconKey}}"
Foreground="{DynamicResource TextFaintBrush}"/> Foreground="{DynamicResource TextFaintBrush}"/>
<Button Grid.Column="3" Classes="icon-btn note-del" <Button Grid.Column="3" Classes="icon-btn note-del"
VerticalAlignment="Center" VerticalAlignment="Center"
ToolTip.Tip="{loc:Tr notes.deleteTip}" ToolTip.Tip="{loc:Tr notes.deleteTip}"
Click="OnDeleteBulletClick"> Click="OnDeleteBulletClick">
<PathIcon Classes="danger" Data="{StaticResource Icon.Trash}" Width="12" Height="12"/> <PathIcon Classes="danger" Data="{Binding Source='mdi:TrashCanOutline', Converter={StaticResource IconKey}}" Width="12" Height="12"/>
</Button> </Button>
</Grid> </Grid>
</Border> </Border>
@@ -57,9 +57,9 @@
VerticalAlignment="Center" VerticalAlignment="Center"
ToolTip.Tip="{loc:Tr tasks.toggleSubtasksTip}"> ToolTip.Tip="{loc:Tr tasks.toggleSubtasksTip}">
<Panel> <Panel>
<PathIcon Width="12" Height="12" Data="{StaticResource Icon.ChevronDown}" <PathIcon Width="12" Height="12" Data="{Binding Source='mdi:ChevronDown', Converter={StaticResource IconKey}}"
IsVisible="{Binding IsExpanded}"/> IsVisible="{Binding IsExpanded}"/>
<PathIcon Width="12" Height="12" Data="{StaticResource Icon.ChevronRight}" <PathIcon Width="12" Height="12" Data="{Binding Source='mdi:ChevronRight', Converter={StaticResource IconKey}}"
IsVisible="{Binding !IsExpanded}"/> IsVisible="{Binding !IsExpanded}"/>
</Panel> </Panel>
</Button> </Button>
@@ -117,14 +117,14 @@
<!-- Roadblock badge --> <!-- Roadblock badge -->
<PathIcon Width="13" Height="13" VerticalAlignment="Center" <PathIcon Width="13" Height="13" VerticalAlignment="Center"
Data="{StaticResource Icon.Warning}" Data="{Binding Source='mdi:AlertOutline', Converter={StaticResource IconKey}}"
Foreground="#E0A800" Foreground="#E0A800"
IsVisible="{Binding HasRoadblock}" IsVisible="{Binding HasRoadblock}"
ToolTip.Tip="{Binding RoadblockTooltip}"/> ToolTip.Tip="{Binding RoadblockTooltip}"/>
<!-- Agent-suggested badge --> <!-- Agent-suggested badge -->
<PathIcon Width="10" Height="10" VerticalAlignment="Center" <PathIcon Width="10" Height="10" VerticalAlignment="Center"
Data="{StaticResource Icon.AgentSuggested}" Data="{Binding Source='mdi:CreationOutline', Converter={StaticResource IconKey}}"
Foreground="#5C8FA8" Foreground="#5C8FA8"
IsVisible="{Binding IsAgentSuggested}" IsVisible="{Binding IsAgentSuggested}"
ToolTip.Tip="{loc:Tr tasks.agentSuggestedTip}"/> ToolTip.Tip="{loc:Tr tasks.agentSuggestedTip}"/>
@@ -165,7 +165,7 @@
<Binding Path="ShowRowActions"/> <Binding Path="ShowRowActions"/>
</MultiBinding> </MultiBinding>
</Button.IsVisible> </Button.IsVisible>
<PathIcon Width="10" Height="10" Data="{StaticResource Icon.X}"/> <PathIcon Width="10" Height="10" Data="{Binding Source='mdi:Close', Converter={StaticResource IconKey}}"/>
</Button> </Button>
<!-- List chip with dot --> <!-- List chip with dot -->
@@ -213,9 +213,7 @@
<Binding Path="ShowRowActions"/> <Binding Path="ShowRowActions"/>
</MultiBinding> </MultiBinding>
</Button.IsVisible> </Button.IsVisible>
<Viewbox Width="16" Height="16"> <PathIcon Width="16" Height="16" Data="{Binding Source='mdi:AutoFix', Converter={StaticResource IconKey}}"/>
<Path Classes="icon-stroke" Data="{StaticResource Icon.Refine}"/>
</Viewbox>
</Button> </Button>
<Ellipse Classes="spinner" <Ellipse Classes="spinner"
IsVisible="{Binding IsRefining}" IsVisible="{Binding IsRefining}"
@@ -236,7 +234,7 @@
<Binding Path="ShowRowActions"/> <Binding Path="ShowRowActions"/>
</MultiBinding> </MultiBinding>
</Button.IsVisible> </Button.IsVisible>
<PathIcon Width="14" Height="14" Data="{StaticResource Icon.Star}"/> <PathIcon Width="14" Height="14" Data="{Binding Source='mdi:Star', Converter={StaticResource IconKey}}"/>
</Button> </Button>
</Grid> </Grid>
</Border> </Border>
@@ -72,7 +72,7 @@
IsVisible="{Binding !IsNotesList}"> IsVisible="{Binding !IsNotesList}">
<Grid ColumnDefinitions="Auto,*,Auto"> <Grid ColumnDefinitions="Auto,*,Auto">
<Border Grid.Column="0" Classes="add-task-plus" VerticalAlignment="Center"> <Border Grid.Column="0" Classes="add-task-plus" VerticalAlignment="Center">
<PathIcon Width="12" Height="12" Data="{StaticResource Icon.Plus}" <PathIcon Width="12" Height="12" Data="{Binding Source='mdi:Plus', Converter={StaticResource IconKey}}"
Foreground="{DynamicResource TextFaintBrush}"/> Foreground="{DynamicResource TextFaintBrush}"/>
</Border> </Border>
<TextBox Grid.Column="1" x:Name="AddTaskBox" Classes="add-task-input" <TextBox Grid.Column="1" x:Name="AddTaskBox" Classes="add-task-input"
@@ -138,7 +138,7 @@
Command="{Binding ActionCommand}" Command="{Binding ActionCommand}"
ToolTip.Tip="{loc:Tr tasks.clearCompletedTip}" ToolTip.Tip="{loc:Tr tasks.clearCompletedTip}"
VerticalAlignment="Center"> VerticalAlignment="Center">
<PathIcon Classes="danger" Data="{StaticResource Icon.Trash}" Width="13" Height="13"/> <PathIcon Classes="danger" Data="{Binding Source='mdi:TrashCanOutline', Converter={StaticResource IconKey}}" Width="13" Height="13"/>
</Button> </Button>
</Grid> </Grid>
</DataTemplate> </DataTemplate>