AX Agent 메시지 액션과 실행 배너를 claw-code 쪽으로 축소
Some checks failed
Release Gate / gate (push) Has been cancelled
Some checks failed
Release Gate / gate (push) Has been cancelled
- 메시지 액션 바를 텍스트+아이콘 조합에서 작은 아이콘 버튼 중심으로 바꿔 본문 집중도를 높임 - Cowork/Code 실행 배너의 여백, 메타 텍스트, 토큰 배지, 파일 경로 표시를 더 얇게 줄여 보조 정보 밀도를 낮춤 - 검증: dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify\\ -p:IntermediateOutputPath=obj\\verify\\ (경고 0 / 오류 0)
This commit is contained in:
@@ -4866,49 +4866,35 @@ public partial class ChatWindow : Window
|
||||
{
|
||||
Text = symbol,
|
||||
FontFamily = new FontFamily("Segoe MDL2 Assets"),
|
||||
FontSize = 10.5,
|
||||
FontSize = 10,
|
||||
Foreground = foreground,
|
||||
VerticalAlignment = VerticalAlignment.Center
|
||||
};
|
||||
var label = new TextBlock
|
||||
{
|
||||
Text = tooltip,
|
||||
FontSize = 10.5,
|
||||
Foreground = foreground,
|
||||
VerticalAlignment = VerticalAlignment.Center,
|
||||
Margin = new Thickness(4, 0, 0, 0),
|
||||
};
|
||||
var content = new StackPanel
|
||||
{
|
||||
Orientation = Orientation.Horizontal,
|
||||
Children = { icon, label }
|
||||
};
|
||||
var btn = new Button
|
||||
{
|
||||
Content = content,
|
||||
Content = icon,
|
||||
Background = Brushes.Transparent,
|
||||
BorderBrush = borderBrush,
|
||||
BorderThickness = new Thickness(1),
|
||||
Cursor = Cursors.Hand,
|
||||
Padding = new Thickness(7, 3, 7, 3),
|
||||
Margin = new Thickness(0, 0, 3, 0),
|
||||
Width = 24,
|
||||
Height = 24,
|
||||
Padding = new Thickness(0),
|
||||
Margin = new Thickness(0, 0, 2, 0),
|
||||
ToolTip = tooltip
|
||||
};
|
||||
btn.Template = BuildMinimalIconButtonTemplate();
|
||||
btn.MouseEnter += (_, _) =>
|
||||
{
|
||||
icon.Foreground = hoverBrush;
|
||||
label.Foreground = hoverBrush;
|
||||
btn.Background = hoverBg;
|
||||
};
|
||||
btn.MouseLeave += (_, _) =>
|
||||
{
|
||||
icon.Foreground = foreground;
|
||||
label.Foreground = foreground;
|
||||
btn.Background = Brushes.Transparent;
|
||||
};
|
||||
btn.Click += (_, _) => onClick();
|
||||
ApplyHoverScaleAnimation(btn, 1.04);
|
||||
return btn;
|
||||
}
|
||||
|
||||
@@ -10371,7 +10357,7 @@ public partial class ChatWindow : Window
|
||||
BorderThickness = new Thickness(0),
|
||||
CornerRadius = new CornerRadius(0),
|
||||
Padding = new Thickness(0),
|
||||
Margin = new Thickness(18, 1, 18, 1),
|
||||
Margin = new Thickness(14, 1, 14, 1),
|
||||
HorizontalAlignment = HorizontalAlignment.Stretch,
|
||||
};
|
||||
if (!string.IsNullOrWhiteSpace(evt.RunId))
|
||||
@@ -10390,15 +10376,15 @@ public partial class ChatWindow : Window
|
||||
{
|
||||
Text = icon,
|
||||
FontFamily = new FontFamily("Segoe MDL2 Assets"),
|
||||
FontSize = 10,
|
||||
FontSize = 9.5,
|
||||
Foreground = accentBrush,
|
||||
VerticalAlignment = VerticalAlignment.Center,
|
||||
Margin = new Thickness(0, 0, 5, 0),
|
||||
Margin = new Thickness(0, 0, 4, 0),
|
||||
});
|
||||
headerLeft.Children.Add(new TextBlock
|
||||
{
|
||||
Text = label,
|
||||
FontSize = 10,
|
||||
FontSize = 9.5,
|
||||
FontWeight = FontWeights.Medium,
|
||||
Foreground = secondaryText,
|
||||
VerticalAlignment = VerticalAlignment.Center,
|
||||
@@ -10412,10 +10398,10 @@ public partial class ChatWindow : Window
|
||||
headerRight.Children.Add(new TextBlock
|
||||
{
|
||||
Text = evt.ElapsedMs < 1000 ? $"{evt.ElapsedMs}ms" : $"{evt.ElapsedMs / 1000.0:F1}s",
|
||||
FontSize = 9.5,
|
||||
FontSize = 8.5,
|
||||
Foreground = secondaryText,
|
||||
VerticalAlignment = VerticalAlignment.Center,
|
||||
Margin = new Thickness(6, 0, 0, 0),
|
||||
Margin = new Thickness(4, 0, 0, 0),
|
||||
});
|
||||
}
|
||||
if (logLevel != "simple" && (evt.InputTokens > 0 || evt.OutputTokens > 0))
|
||||
@@ -10429,13 +10415,13 @@ public partial class ChatWindow : Window
|
||||
BorderBrush = borderColor,
|
||||
BorderThickness = new Thickness(1),
|
||||
CornerRadius = new CornerRadius(999),
|
||||
Padding = new Thickness(5, 1, 5, 1),
|
||||
Margin = new Thickness(5, 0, 0, 0),
|
||||
Padding = new Thickness(4, 1, 4, 1),
|
||||
Margin = new Thickness(4, 0, 0, 0),
|
||||
VerticalAlignment = VerticalAlignment.Center,
|
||||
Child = new TextBlock
|
||||
{
|
||||
Text = tokenText,
|
||||
FontSize = 9,
|
||||
FontSize = 8,
|
||||
Foreground = secondaryText,
|
||||
FontFamily = new FontFamily("Consolas"),
|
||||
},
|
||||
@@ -10462,11 +10448,11 @@ public partial class ChatWindow : Window
|
||||
sp.Children.Add(new TextBlock
|
||||
{
|
||||
Text = shortSummary,
|
||||
FontSize = 10,
|
||||
FontSize = 9.5,
|
||||
Foreground = secondaryText,
|
||||
TextWrapping = TextWrapping.NoWrap,
|
||||
TextTrimming = TextTrimming.CharacterEllipsis,
|
||||
Margin = new Thickness(15, 1, 0, 0),
|
||||
Margin = new Thickness(13, 1, 0, 0),
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -10477,10 +10463,10 @@ public partial class ChatWindow : Window
|
||||
sp.Children.Add(new TextBlock
|
||||
{
|
||||
Text = summaryText,
|
||||
FontSize = 10,
|
||||
FontSize = 9.5,
|
||||
Foreground = secondaryText,
|
||||
TextWrapping = TextWrapping.Wrap,
|
||||
Margin = new Thickness(15, 1, 0, 0),
|
||||
Margin = new Thickness(13, 1, 0, 0),
|
||||
});
|
||||
}
|
||||
|
||||
@@ -10491,7 +10477,7 @@ public partial class ChatWindow : Window
|
||||
summary: evt.Summary);
|
||||
if (reviewChipRow != null)
|
||||
{
|
||||
reviewChipRow.Margin = new Thickness(15, 3, 0, 0);
|
||||
reviewChipRow.Margin = new Thickness(13, 2, 0, 0);
|
||||
sp.Children.Add(reviewChipRow);
|
||||
}
|
||||
|
||||
@@ -10504,12 +10490,12 @@ public partial class ChatWindow : Window
|
||||
BorderBrush = borderColor,
|
||||
BorderThickness = new Thickness(1),
|
||||
CornerRadius = new CornerRadius(8),
|
||||
Padding = new Thickness(7, 3, 7, 3),
|
||||
Margin = new Thickness(15, 3, 0, 0),
|
||||
Padding = new Thickness(6, 3, 6, 3),
|
||||
Margin = new Thickness(13, 2, 0, 0),
|
||||
Child = new TextBlock
|
||||
{
|
||||
Text = evt.ToolInput.Length > 240 ? evt.ToolInput[..240] + "…" : evt.ToolInput,
|
||||
FontSize = 9.5,
|
||||
FontSize = 9,
|
||||
Foreground = secondaryText,
|
||||
FontFamily = new FontFamily("Consolas"),
|
||||
TextWrapping = TextWrapping.Wrap,
|
||||
@@ -10529,14 +10515,14 @@ public partial class ChatWindow : Window
|
||||
var compactPathRow = new StackPanel
|
||||
{
|
||||
Orientation = Orientation.Horizontal,
|
||||
Margin = new Thickness(15, 2, 0, 0),
|
||||
Margin = new Thickness(13, 2, 0, 0),
|
||||
ToolTip = evt.FilePath,
|
||||
};
|
||||
compactPathRow.Children.Add(new TextBlock
|
||||
{
|
||||
Text = "\uE8B7",
|
||||
FontFamily = new FontFamily("Segoe MDL2 Assets"),
|
||||
FontSize = 9,
|
||||
FontSize = 8.5,
|
||||
Foreground = secondaryText,
|
||||
VerticalAlignment = VerticalAlignment.Center,
|
||||
Margin = new Thickness(0, 0, 4, 0),
|
||||
@@ -10544,7 +10530,7 @@ public partial class ChatWindow : Window
|
||||
compactPathRow.Children.Add(new TextBlock
|
||||
{
|
||||
Text = string.IsNullOrWhiteSpace(fileName) ? evt.FilePath : fileName,
|
||||
FontSize = 9.5,
|
||||
FontSize = 9,
|
||||
Foreground = secondaryText,
|
||||
VerticalAlignment = VerticalAlignment.Center,
|
||||
TextTrimming = TextTrimming.CharacterEllipsis,
|
||||
|
||||
Reference in New Issue
Block a user