Rework the Apple Watch progress flow

Watch root lists every in-progress workout; picking an exercise runs a paged Ready -> work/rest -> Finish flow (One More + auto-firing Done), with a phase-dot row and brand-tinted count-up/down timers. Includes the configurable rest and auto-finish settings synced over WatchConnectivity and the wrist-down timer fix.
This commit is contained in:
2026-06-20 14:15:31 -04:00
parent f2da47a70a
commit f06c4e996e
9 changed files with 373 additions and 111 deletions
+8
View File
@@ -22,6 +22,14 @@ extension Color {
}
}
/// Brand purple from the app logo (a touch brighter than the icon's `#7023BC`
/// so it stays legible on the watch's black background). Used for the work phase
/// its count-up timer and progress dots.
static let workTint = Color(red: 0.51, green: 0.22, blue: 0.84)
/// Light teal counterpart for the rest phase its count-down timer and dots.
static let restTint = Color(red: 0.44, green: 0.85, blue: 0.84)
/// Returns a darker shade by reducing HSB brightness (not opacity).
func darker(by percentage: CGFloat = 0.2) -> Color {
#if canImport(UIKit)