26 Commits

Author SHA1 Message Date
Trey t
5d39dcb66f Fix 28 issues from deep audit and UI audit + redesign changes
Some checks failed
Apple Platform CI / smoke-and-tests (push) Has been cancelled
Deep audit (issues 2-14):
- Add missing WCSession handlers for applicationContext and userInfo
- Fix BoundedFIFOQueue race condition with serial dispatch queue
- Fix timer race condition with main thread guarantee
- Fix watch pause state divergence — phone is now source of truth
- Fix wrong notification posted on logout (createdNewWorkout → userLoggedOut)
- Fix POST status check to accept any 2xx (was exact match)
- Fix @StateObject → @ObservedObject for injected viewModel
- Add pull-to-refresh to CompletedWorkoutsView
- Fix typos: RefreshUserInfoFetcable, defualtPackageModle
- Replace string concatenation with interpolation
- Replace 6 @StateObject with @ObservedObject for BridgeModule.shared
- Replace 7 hardcoded AVPlayer URLs with BaseURLs.currentBaseURL

UI audit (issues 1-15):
- Fix GeometryReader eating VStack space — replaced with .overlay
- Fix refreshable continuation resuming before fetch completes
- Remove duplicate @State workouts — derive from DataStore
- Decouple leaf views from BridgeModule (pass discrete values)
- Convert selectedIds from Array to Set for O(1) lookups
- Extract .sorted() from var body into computed properties
- Move search filter out of ForEach render loop
- Replace import SwiftUI with import Combine in non-UI classes
- Mark all @State properties private
- Extract L/R exercise auto-add logic to WorkoutViewModel
- Use enumerated() instead of .indices in ForEach
- Make AddSupersetView frame flexible instead of fixed 300pt
- Hoist Set construction out of per-exercise filter loop
- Move ViewModel network fetch from init to load()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 10:24:52 -06:00
Trey t
acce712261 Stabilize iOS/watchOS/tvOS apps and add cross-platform audit remediation 2026-02-11 12:54:40 -06:00
Trey t
e40275e694 wip 2025-12-06 11:32:53 -06:00
Trey t
523f791e6e update project + confirm complete workout early 2025-05-19 22:14:22 -05:00
Trey t
424afc00f6 i dunno 2025-05-19 21:59:32 -05:00
Trey t
3a23e6a223 Can't see what you type in on login screen in dark mode 2025-04-23 11:52:30 -05:00
Trey t
8cafb39a65 rate workout and order of buttons 2025-04-23 11:48:17 -05:00
Trey t
ca25d61019 wip 2025-03-13 22:12:50 -05:00
Trey t
fb22f47a82 set needs updating false after updating 2024-12-23 11:37:32 -06:00
Trey t
85ef3d58c6 UI changes 2024-12-19 21:57:59 -06:00
Trey t
b268a271fd misc ui changes 2024-11-30 12:53:42 -06:00
Trey t
5145896f7a misc ui changes 2024-11-25 10:13:33 -08:00
Trey t
4b6352b8fd filter view
all workout filter view is its own view
all workout filter view is the top of all workout view
2024-11-25 09:49:30 -08:00
Trey t
63b7a2daa5 sort completed workouts by date 2024-11-25 09:14:01 -08:00
Trey t
abb9feed14 sort completed workouts by date 2024-11-25 09:11:35 -08:00
Trey t
2d5d55c272 WIP
fix naming on variable
fix tapping on exercise not updating external correctly
2024-08-28 08:55:41 -05:00
Trey t
bfb373c8af WIP 2024-07-02 11:46:09 -05:00
Trey t
cedab87193 wip 2024-07-01 23:30:24 -05:00
Trey t
5f7c0a40b8 WIP 2024-07-01 22:34:27 -05:00
Trey t
f1781744ca try to fix watch stuff 2024-07-01 21:22:12 -05:00
Trey t
cee84d7776 misc watch stuff including taps, sounds, maybe working 2024-06-21 14:34:23 -05:00
Trey t
7ce996e451 split files up, fix complete workout screen not showing if remove workout details screen 2024-06-21 10:41:37 -05:00
Trey t
c101da4a4d WIP 2024-06-19 21:07:52 -05:00
Trey t
bba2ce8603 tvOS allow audio in other apps, iOS show complete sheet without watch 2024-06-19 18:01:51 -05:00
Trey t
48cc22b3e2 split views into subview 2024-06-18 14:31:27 -05:00
Trey t
7d2b6b3e6e add apple tv app 2024-06-18 12:03:56 -05:00