Redesign workout live activity with circular timer ring, phase icons, and smoother updates
Some checks failed
CI / TypeScript (pull_request) Failing after 19s
CI / ESLint (pull_request) Failing after 4s
CI / Tests (pull_request) Failing after 7s
CI / Build Check (pull_request) Has been skipped
CI / Admin Web Tests (pull_request) Successful in 2m9s
CI / Deploy Edge Functions (pull_request) Has been skipped

- Add CountdownRing with real-time arc progress on lock screen
- Replace generic dots with phase-specific SF Symbols (flame, snowflake, etc.)
- Remove horizontal progress bar in favor of round counter text
- Increase Dynamic Island expanded font sizes for better visibility
- Increase live activity sync frequency from 5s to 1s for smoother arc updates
- Add pause/resume button via TogglePauseIntent AppIntent
- Remove AlertConfiguration to silence notification sounds on updates
This commit is contained in:
Millian Lamiaux
2026-05-17 00:43:01 +02:00
parent dc3ff15e81
commit 67e2bdc8c3
3 changed files with 271 additions and 134 deletions

View File

@@ -40,6 +40,7 @@ struct WorkoutActivityAttributes: ActivityAttributes {
var exerciseName: String
var phase: WorkoutPhase
var phaseEndDate: Date
var phaseDuration: TimeInterval
var roundCurrent: Int
var roundTotal: Int
var heartRate: Double