From 6a4ac2d60c2d34e666a9fa596dfd501f60385ed7 Mon Sep 17 00:00:00 2001 From: Yun Chan Date: Tue, 2 Jun 2026 09:59:44 +0900 Subject: [PATCH] =?UTF-8?q?refactor(P5b-3):=20=EC=98=B5=EC=85=98=20?= =?UTF-8?q?=ED=8C=A8=EB=84=90=20=ED=92=88=EC=A7=88=C2=B7=EC=B6=9C=EB=A0=A5?= =?UTF-8?q?=ED=8F=B4=EB=8D=94=EB=A5=BC=20OptionsViewModel=EC=97=90=20?= =?UTF-8?q?=EC=84=A0=EC=96=B8=EC=A0=81=20TwoWay=20=EB=B0=94=EC=9D=B8?= =?UTF-8?q?=EB=94=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 뷰 바인딩 마이그레이션 첫 슬라이스 — 명령형 컨트롤 읽기를 선언적 XAML 바인딩으로 전환. - MainWindow.Options(OptionsViewModel) 노출. XAML: QualitySlider.Value ↔ Options.Quality, OutputPathTextBox.Text ↔ Options.CustomOutputDirectory (TwoWay, Window-relative). - BuildOptions: Quality/CustomOutputDirectory 수동 동기 제거(바인딩이 담당). 충돌/AI/GPU만 코드비하인드. - 검증: 빌드 0/0, 83 테스트 그린, publish 후 메인 창 크래시 없이 로드(언핸들드 로그 없음 = XAML 파싱/구성 정상). 비치명적 실패 모드(바인딩 오류 시 기본값 degrade, 크래시 없음) — 슬라이더/출력폴더 실동작은 GUI 스모크 권장. --- src/Everything2Everything.App/Views/MainWindow.xaml | 4 +++- src/Everything2Everything.App/Views/MainWindow.xaml.cs | 8 +++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Everything2Everything.App/Views/MainWindow.xaml b/src/Everything2Everything.App/Views/MainWindow.xaml index 7ab50c4..f0325b3 100644 --- a/src/Everything2Everything.App/Views/MainWindow.xaml +++ b/src/Everything2Everything.App/Views/MainWindow.xaml @@ -134,7 +134,8 @@ @@ -156,6 +157,7 @@