Commit Graph

83 Commits

Author SHA1 Message Date
Brandon Presley e3b3c6ca09 Split out database logic into service files 2022-09-04 16:56:46 +12:00
Brandon Presley 259d36d67f Move all database operations into db.ts 2022-09-04 15:28:21 +12:00
Brandon Presley 607f83955d Replace react context with let statement in db.ts
1. I can't easily import context with my editor.
2. It's extra complexity everyone has to understand.
3. I hate the antichrist.
2022-09-04 14:05:25 +12:00
Brandon Presley 9006cc0dea Add script to organize all imports 2022-09-02 12:33:53 +12:00
Brandon Presley 756a2089e9 Prevent race condition with database migrations 2022-08-30 23:21:25 +12:00
Brandon Presley 9b8fb95559 Add workouts from plan page if none exist 2022-08-28 20:54:07 +12:00
Brandon Presley 51ed36e30a Customize header title for EditPlan and EditSet 2022-08-26 15:17:45 +12:00
Brandon Presley 32be938c86 Hide top drawer menu on EditPlan 2022-08-25 13:06:50 +12:00
Brandon Presley 3322289c17 Factor out MassiveSwitch 2022-07-17 13:45:31 +12:00
Brandon Presley bdd712833c Reduce number of colors in theme 2022-07-15 18:06:33 +12:00
Brandon Presley 039de1fbd3 Fix linting errors 2022-07-11 12:32:13 +12:00
Brandon Presley e72cdc8db7 Make plans use stack navigation 2022-07-11 12:28:30 +12:00
Brandon Presley 52a4eada94 Fix adding plan 2022-07-10 16:10:06 +12:00
Brandon Presley 4faad97c13 Add missing deps to callbacks 2022-07-10 11:54:23 +12:00
Brandon Presley cba57e6e64 Use callbacks everywhere 2022-07-10 11:51:52 +12:00
Brandon Presley 978fe98393 Make EditPlan scroll 2022-07-09 17:10:28 +12:00
Brandon Presley f2d5166c8a Add ability to edit created on sets 2022-07-09 16:38:57 +12:00
Brandon Presley 880fc976bc Fix all lint errors 2022-07-09 13:48:45 +12:00
Brandon Presley dbb3dc2eb3 Fix linting errors 2022-07-09 13:27:19 +12:00
Brandon Presley b12b41b77e Factor out MassiveFab 2022-07-08 14:59:19 +12:00
Brandon Presley 119711a13a Move up subtitle of EditPlan 2022-07-07 17:18:56 +12:00
Brandon Presley 0ceeb2e4d5 Add empty message for workouts in EditPlan 2022-07-07 17:18:40 +12:00
Brandon Presley 5120852ce7 Limit days in EditPlan title to 2 2022-07-07 17:18:23 +12:00
Brandon Presley 2abb6bc1c9 Refresh EditPlan when the modal pops up 2022-07-07 17:18:02 +12:00
Brandon Presley 65e25c1a61 Empty workouts when none are found in EditPlan 2022-07-07 17:17:20 +12:00
Brandon Presley 29200cf248 Use switches for plan editing 2022-07-07 16:17:55 +12:00
Brandon Presley 1d68ba86f5 Remove useFocusEffect
It was lagging the app out.
2022-07-07 15:13:44 +12:00
Brandon Presley 570b43715f Ensure only one connection to SQLite exists 2022-07-07 14:18:38 +12:00
Brandon Presley ecb436f8a6 Add progress to plans 2022-07-07 12:45:45 +12:00
Brandon Presley 67b22f9f51 Align plans to the end 2022-07-06 22:02:43 +12:00
Brandon Presley 07fa6f7ab2 Switch some modals to dialogs and fix light mode 2022-07-06 21:03:56 +12:00
Brandon Presley d938ec775a Fix new plan not showing workouts 2022-07-06 18:26:43 +12:00
Brandon Presley 43405269df Add half completed Plans 2022-07-06 17:40:53 +12:00