권한 팝업 단순화: 상세 섹션 통합으로 핵심 모드 선택 흐름 정리
Some checks failed
Release Gate / gate (push) Has been cancelled
Some checks failed
Release Gate / gate (push) Has been cancelled
- ChatWindow 권한 팝업에서 요약/예외/최근거부 3개 접힘 섹션을 단일 '상세 정보' 섹션으로 통합\n- 기본 화면을 핵심 권한 모드 중심으로 유지해 claw-code 스타일의 단순한 선택 흐름에 맞춤\n- 요약 카드 본문을 줄바꿈 기반에서 말줄임 기반으로 조정해 팝업 높이와 시야 밀도 개선\n- 빌드 중 WPF wpftmp/.g.cs 누락은 dotnet clean 후 재빌드로 복구 확인\n- 문서 동기화: README.md, docs/DEVELOPMENT.md에 2026-04-04 16:45(KST) 이력 반영\n- 검증: dotnet build 경고0/오류0, dotnet test 필터 65 passed
This commit is contained in:
@@ -1745,9 +1745,8 @@ public partial class ChatWindow : Window
|
||||
FontSize = 9.5,
|
||||
Margin = new Thickness(0, 3, 0, 0),
|
||||
Foreground = TryFindResource("SecondaryText") as Brush ?? Brushes.Gray,
|
||||
TextWrapping = TextWrapping.Wrap,
|
||||
LineHeight = 14,
|
||||
MaxWidth = 250,
|
||||
TextTrimming = TextTrimming.CharacterEllipsis,
|
||||
MaxWidth = 260,
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2052,28 +2051,20 @@ public partial class ChatWindow : Window
|
||||
accentHex: "#64748B"));
|
||||
}
|
||||
|
||||
PermissionItems.Children.Add(CreateCollapsibleSection(
|
||||
"permission_summary",
|
||||
"\uE946",
|
||||
"현재 권한 요약",
|
||||
summaryCard,
|
||||
expanded: GetPermissionPopupSectionExpanded("permission_summary", false)));
|
||||
// claw-code 기준 UX 정렬: 기본 화면은 핵심 모드 중심, 부가 정보는 단일 상세 섹션으로 제공.
|
||||
var detailsPanel = new StackPanel();
|
||||
detailsPanel.Children.Add(summaryCard);
|
||||
if (overrideSection != null)
|
||||
PermissionItems.Children.Add(CreateCollapsibleSection(
|
||||
"permission_overrides",
|
||||
"\uE72E",
|
||||
"도구별 예외",
|
||||
overrideSection,
|
||||
expanded: GetPermissionPopupSectionExpanded("permission_overrides", false),
|
||||
accentHex: "#1D4ED8"));
|
||||
detailsPanel.Children.Add(overrideSection);
|
||||
if (deniedCard != null)
|
||||
PermissionItems.Children.Add(CreateCollapsibleSection(
|
||||
"permission_denied",
|
||||
"\uEA39",
|
||||
"최근 권한 거부",
|
||||
deniedCard,
|
||||
expanded: GetPermissionPopupSectionExpanded("permission_denied", false),
|
||||
accentHex: "#991B1B"));
|
||||
detailsPanel.Children.Add(deniedCard);
|
||||
|
||||
PermissionItems.Children.Add(CreateCollapsibleSection(
|
||||
"permission_details",
|
||||
"\uE946",
|
||||
"상세 정보",
|
||||
detailsPanel,
|
||||
expanded: GetPermissionPopupSectionExpanded("permission_details", false)));
|
||||
|
||||
PermissionPopup.IsOpen = true;
|
||||
Dispatcher.BeginInvoke(() =>
|
||||
|
||||
Reference in New Issue
Block a user