AX Agent 설정창 오픈 안정화: ToggleSwitch 전역 리소스화 및 테마 주입 경로 분리
Some checks failed
Release Gate / gate (push) Has been cancelled
Some checks failed
Release Gate / gate (push) Has been cancelled
- App.xaml: ToggleSwitch 스타일을 전역 리소스로 추가해 ChatWindow 초기화 시 StaticResource 누락 예외를 방지\n- ChatWindow.xaml.cs: Agent 설정창 오픈 시 창 전체 Resources 병합을 제거하고 AX Agent 테마 사전만 안전 주입하도록 변경\n- ChatWindow.xaml.cs: ApplyAgentThemeResources와 설정창 주입 경로에서 공통 URI 생성 로직(BuildAgentThemeDictionaryUri)으로 중복 제거\n- README.md / docs/DEVELOPMENT.md: 2026-04-04 17:12(KST) 기준 변경 이력 및 검증 결과 동기화\n- 검증: dotnet build(경고0/오류0), dotnet test 필터 59 passed
This commit is contained in:
@@ -3691,3 +3691,24 @@ else:
|
||||
### 3) 품질 게이트
|
||||
- `dotnet build src/AxCopilot/AxCopilot.csproj -c Debug -p:UseSharedCompilation=false -nodeReuse:false` 통과 (경고 0, 오류 0).
|
||||
- `dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj -p:UseSharedCompilation=false -nodeReuse:false --filter "FullyQualifiedName~OperationModePolicyTests|FullyQualifiedName~OperationModeReadinessTests"` 통과 (20 passed, 0 failed).
|
||||
|
||||
## 2026-04-04 추가 진행 기록 (연속 실행 44차: AX Agent 설정창 오픈 안정화)
|
||||
|
||||
업데이트: 2026-04-04 17:12 (KST)
|
||||
|
||||
### 1) 전역 토글 리소스 보강
|
||||
- `App.xaml`에 `ToggleSwitch` 스타일을 전역 리소스로 추가.
|
||||
- 효과:
|
||||
- 창별 리소스 병합 순서와 무관하게 `ToggleSwitch` 키를 항상 해석 가능.
|
||||
- AX Agent 창(`ChatWindow`) 초기화 중 `StaticResource ToggleSwitch` 누락 예외 재발 방지.
|
||||
|
||||
### 2) AX Agent 설정창 리소스 주입 경로 개선
|
||||
- `ChatWindow.OpenAgentSettingsWindow()`에서 창 전체 리소스 사전을 직접 병합하던 경로를 제거.
|
||||
- 대신 AX Agent 전용 테마 사전(`Themes/AgentLight|AgentDark.xaml`)만 안전하게 주입하도록 변경.
|
||||
- 효과:
|
||||
- 설정창 오픈 시 리소스 충돌 위험 감소.
|
||||
- 테마 일관성 유지 + 설정창 오픈 실패 가능성 완화.
|
||||
|
||||
### 3) 품질 게이트
|
||||
- `dotnet build src/AxCopilot/AxCopilot.csproj -c Debug -p:UseSharedCompilation=false -nodeReuse:false` 통과 (경고 0, 오류 0).
|
||||
- `dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj -c Debug --filter "ChatWindowSlashPolicyTests|OperationModePolicyTests|OperationModeReadinessTests"` 통과 (59 passed, 0 failed).
|
||||
|
||||
Reference in New Issue
Block a user