Skip to content

feat: add animations and polish across the app#8

Merged
johnnyhuy merged 2 commits into
mainfrom
feat/animations-healthkit-fix
May 18, 2026
Merged

feat: add animations and polish across the app#8
johnnyhuy merged 2 commits into
mainfrom
feat/animations-healthkit-fix

Conversation

@johnnyhuy
Copy link
Copy Markdown
Contributor

@johnnyhuy johnnyhuy commented May 17, 2026

Summary

  • AnimatedCounter: count-up animation on appear for weekly goals and PR values in Profile (0→target over 0.8-1.0s)
  • FitnessIcon: gentle pulse scale animation (1.0→1.1) on fitness/exercise icons throughout the app
  • StartWorkoutGlow: "The Finals" style shine/shimmer effect on the yellow Start Workout button
  • Previous commit already fixed HealthKit demo data pollution (skip saving demo workouts to Apple Health)

Changes

File What
UIComponents.swift New FitnessIcon component with pulse animation
ProfileView.swift AnimatedCounter for weekly goal values and PR values
WorkoutHomeView+Sections.swift FitnessIcon in welcome/compact welcome sections
RootTabView.swift StartWorkoutGlow on Start Workout button
SignInView.swift Animated FitnessIcon for app logo
ExerciseDetailView.swift Animated FitnessIcon in hero section
ActiveWorkoutView.swift Animated FitnessIcon in empty workout state
BetterFit.swift Added saveToHealthKit param to completeWorkout()

Consequences

  • None — purely visual additions
  • iOS deployment target synced to 26.5 to match available simulator runtime

Testing

  • ✓ SwiftPM build: clean
  • ✓ 73 unit tests: all pass
  • ✓ iOS build on iPhone 17 / iOS 26.5 simulator: compiles, launches successfully

- AnimatedCounter: count-up animation on appear for weekly goals and PR values in Profile (0→target over 0.8-1.0s)
- FitnessIcon: gentle pulse scale animation (1.0→1.1) on fitness/exercise icons throughout the app
- StartWorkoutGlow: The Finals style shine/shimmer effect on the yellow Start Workout button
- Previous commit already fixed HealthKit demo data pollution (skip saving demo workouts to Apple Health)
- Fixed CI: move iOS-only AuthService.swift to iOS app (was breaking Ubuntu CI with ObservableObject)
- Remove iOS 26-only API usage (glassEffect) from shared preview code — fallback to shadow overlay
- Replace GlassEffectContainer with plain HStack/VStack for iOS < 26
@johnnyhuy johnnyhuy force-pushed the feat/animations-healthkit-fix branch from 6e3a9a0 to cffba70 Compare May 18, 2026 13:19
@johnnyhuy johnnyhuy merged commit bace270 into main May 18, 2026
3 of 5 checks passed
@johnnyhuy johnnyhuy deleted the feat/animations-healthkit-fix branch May 18, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant