AX Agent 대화 목록 선택 배경과 심볼 잘림 회귀를 바로잡는다

좌측 대화 목록 선택 카드가 보이지 않던 원인은 ConversationItemTemplate 루트 Border에 Background와 BorderBrush가 로컬값으로 고정되어 스타일 트리거를 이기고 있었기 때문이다. 기본 투명값을 스타일 setter로 옮겨 선택 상태에서 ItemSelectedBackground가 정상 적용되도록 수정했다.

ConversationItemsControl 컨테이너는 가로 Stretch로 맞춰 선택 배경이 행 전체 둥근 카드로 깔리게 했고, idle 심볼은 16x16 그리드와 내부 마진을 적용해 점선 링이 가장자리에서 살짝 잘리던 문제를 줄였다. README와 DEVELOPMENT 문서에도 2026-04-15 21:11 KST 기준으로 원인과 검증 결과를 기록했다.

검증: dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\verify_conversation_list_selection_fix\ -p:IntermediateOutputPath=obj\verify_conversation_list_selection_fix\ / 경고 0 오류 0
검증: dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj -c Release -v minimal --filter "ConversationItemViewModelTests" -p:OutputPath=bin\verify_conversation_list_selection_fix_tests\ -p:IntermediateOutputPath=obj\verify_conversation_list_selection_fix_tests\ / 통과 3
This commit is contained in:
2026-04-15 21:13:38 +09:00
parent 41228ae82e
commit 35e0d0dbbf
3 changed files with 32 additions and 7 deletions

View File

@@ -166,11 +166,14 @@
CornerRadius="11"
Padding="12,8"
Cursor="Hand"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="1">
BorderThickness="1"
HorizontalAlignment="Stretch"
SnapsToDevicePixels="True"
UseLayoutRounding="True">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="Margin" Value="0,2,0,2"/>
<Style.Triggers>
<DataTrigger Binding="{Binding IsBranch}" Value="True">
@@ -199,25 +202,28 @@
</Grid.ColumnDefinitions>
<Grid Grid.Column="0"
Width="14"
Height="14"
Width="16"
Height="16"
Margin="0,0,10,0"
VerticalAlignment="Center">
<Ellipse x:Name="ConvIdleRing"
Visibility="Collapsed"
Margin="1"
Stroke="{DynamicResource SecondaryText}"
StrokeThickness="1.3"
StrokeThickness="1.2"
StrokeDashArray="1.35,1.55"
StrokeDashCap="Round"
Fill="Transparent"
Opacity="0.55"/>
<Ellipse x:Name="ConvRunningRing"
Visibility="Collapsed"
Margin="1"
Stroke="{DynamicResource SecondaryText}"
StrokeThickness="1.6"
Fill="Transparent"/>
<Grid x:Name="ConvUnreadBadge"
Visibility="Collapsed">
Visibility="Collapsed"
Margin="1">
<Ellipse Fill="{DynamicResource AccentColor}"/>
<Ellipse Width="4.2"
Height="4.2"
@@ -1183,6 +1189,11 @@
ItemsSource="{Binding Source={StaticResource GroupedConversations}}"
ItemTemplate="{StaticResource ConversationItemTemplate}"
Margin="6,0,6,0">
<ItemsControl.ItemContainerStyle>
<Style TargetType="ContentPresenter">
<Setter Property="HorizontalAlignment" Value="Stretch"/>
</Style>
</ItemsControl.ItemContainerStyle>
<ItemsControl.GroupStyle>
<GroupStyle>
<GroupStyle.HeaderTemplate>