권한 체계 표면 통일 및 AX Agent UI 단순화 연속 적용
Some checks failed
Release Gate / gate (push) Has been cancelled
Some checks failed
Release Gate / gate (push) Has been cancelled
- 권한 명칭을 활용하지 않음/소극 활용/적극 활용/계획 중심/완전 자동/질문 없이 진행 체계로 통일 - 권한 팝업 선택 순서를 Deny 우선 순서로 재정렬하고 고급 분리를 줄여 단일 흐름으로 정리 - 하단 권한 라벨/상단 권한 배너/작업요약 권한 액션 버튼의 용어·색상·설명을 동일 체계로 맞춤 - Chat 탭 기본 권한 적용을 활용하지 않음으로 조정하여 보수적 기본 동작 강화 - /sandbox-toggle 및 AgentSettingsWindow 권한 순환 순서를 동일 체계로 통일 - 좌측 패널 모드 배지 헤더를 숨겨 탭별 핵심 선택 중심으로 UI 밀도 단순화 - 개발문서 업데이트: README.md, docs/DEVELOPMENT.md (2026-04-04 12:22 KST) - 운영 모드 점검 근거 반영: OperationModePolicy/Readiness/LlmOperationMode 테스트 필터 18건 통과 기록
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Windows;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
@@ -14,7 +14,7 @@ public partial class AgentSettingsWindow : Window
|
||||
|
||||
private readonly SettingsService _settings;
|
||||
private readonly LlmSettings _llm;
|
||||
private string _permissionMode = PermissionModeCatalog.Ask;
|
||||
private string _permissionMode = PermissionModeCatalog.Deny;
|
||||
private string _planMode = "off";
|
||||
private string _reasoningMode = "detailed";
|
||||
private string _folderDataUsage = "active";
|
||||
@@ -78,9 +78,9 @@ public partial class AgentSettingsWindow : Window
|
||||
{
|
||||
BtnOperationMode.Content = BuildOperationModeLabel(_operationMode);
|
||||
BtnPermissionMode.Content = PermissionModeCatalog.ToDisplayLabel(_permissionMode);
|
||||
BtnPlanMode.Content = _planMode;
|
||||
BtnReasoningMode.Content = _reasoningMode;
|
||||
BtnFolderDataUsage.Content = _folderDataUsage;
|
||||
BtnPlanMode.Content = BuildPlanModeLabel(_planMode);
|
||||
BtnReasoningMode.Content = BuildReasoningModeLabel(_reasoningMode);
|
||||
BtnFolderDataUsage.Content = BuildFolderDataUsageLabel(_folderDataUsage);
|
||||
AdvancedPanel.Visibility = Visibility.Visible;
|
||||
}
|
||||
|
||||
@@ -91,6 +91,36 @@ public partial class AgentSettingsWindow : Window
|
||||
: "사내 모드";
|
||||
}
|
||||
|
||||
private static string BuildPlanModeLabel(string mode)
|
||||
{
|
||||
return (mode ?? "off").ToLowerInvariant() switch
|
||||
{
|
||||
"always" => "항상 계획",
|
||||
"auto" => "자동 계획",
|
||||
_ => "끄기",
|
||||
};
|
||||
}
|
||||
|
||||
private static string BuildReasoningModeLabel(string mode)
|
||||
{
|
||||
return (mode ?? "detailed").ToLowerInvariant() switch
|
||||
{
|
||||
"minimal" => "낮음",
|
||||
"normal" => "중간",
|
||||
_ => "높음",
|
||||
};
|
||||
}
|
||||
|
||||
private static string BuildFolderDataUsageLabel(string mode)
|
||||
{
|
||||
return (mode ?? "none").ToLowerInvariant() switch
|
||||
{
|
||||
"active" => "적극 활용",
|
||||
"passive" => "소극 활용",
|
||||
_ => "활용하지 않음",
|
||||
};
|
||||
}
|
||||
|
||||
private void SetCardSelection(Border border, bool selected)
|
||||
{
|
||||
var accent = TryFindResource("AccentColor") as Brush ?? Brushes.DodgerBlue;
|
||||
@@ -281,7 +311,7 @@ public partial class AgentSettingsWindow : Window
|
||||
if (!PromptPasswordDialog(
|
||||
"운영 모드 변경",
|
||||
"사내/사외 모드 변경",
|
||||
"비밀번호를 입력하세요:"))
|
||||
"비밀번호를 입력하세요."))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user