From c8c7fa22fcaac5308994c268e70f220b10da87e6 Mon Sep 17 00:00:00 2001 From: hyungi Date: Fri, 5 Jun 2026 07:33:58 +0900 Subject: [PATCH] =?UTF-8?q?feat(s3):=20RootView=20#Preview=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20(Xcode=20=EC=BA=94=EB=B2=84=EC=8A=A4=EC=9A=A9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DEBUG-gated #Preview(AppModel.preview + loadInitial). bare SPM 에서는 프리뷰 불안정하나 A-6 .app 타깃에서 캔버스 렌더용으로 보존. Co-Authored-By: Claude Opus 4.8 (1M context) --- Sources/AppFeature/Shell/RootView.swift | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Sources/AppFeature/Shell/RootView.swift b/Sources/AppFeature/Shell/RootView.swift index cd8afe6..cecc501 100644 --- a/Sources/AppFeature/Shell/RootView.swift +++ b/Sources/AppFeature/Shell/RootView.swift @@ -114,3 +114,13 @@ struct EmptyState: View { .background(Sage.surface) } } + +#if DEBUG +#Preview("DS App — full shell") { + @Previewable @State var model = AppModel.preview + RootView() + .environment(model) + .task { await model.loadInitial() } + .frame(minWidth: 1000, minHeight: 660) +} +#endif