Add App Store screenshot harness + listing metadata
DEBUG-only screenshot support (seeded sample data via ScreenshotSeed, per-screen launch args, screenshot roots for both apps) so iPhone + Apple Watch App Store shots can be captured deterministically from the simulator — all excluded from release builds. Also seed ExerciseView's set-grid progress in init so it renders correctly on the first frame. Adds Scripts/metadata/ as the listing source of truth (copy, URLs, review notes, and the captured screenshots). Claude-Session: https://claude.ai/code/session_018gg69MaUetDNzWzBXisfMV
This commit is contained in:
@@ -15,11 +15,23 @@ struct WorkoutsWatchApp: App {
|
||||
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
ContentView()
|
||||
.environment(services.bridge)
|
||||
.environment(appDelegate.sessionManager)
|
||||
.modelContainer(services.container)
|
||||
.task { services.activate() }
|
||||
#if DEBUG
|
||||
if ScreenshotSeed.isActive {
|
||||
WatchScreenshotRoot(services: services)
|
||||
} else {
|
||||
root
|
||||
}
|
||||
#else
|
||||
root
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
private var root: some View {
|
||||
ContentView()
|
||||
.environment(services.bridge)
|
||||
.environment(appDelegate.sessionManager)
|
||||
.modelContainer(services.container)
|
||||
.task { services.activate() }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user