Commit Graph

20 Commits

Author SHA1 Message Date
Brandon Presley 861b5df9f4 Remove extra padding from workouts rest timers
Typically rest timers don't have double digit minutes.
This doesn't prevent that, but will save space 99% of the time,
and in the odd situation where a rest duration is >9 minutes
will be slightly uneven.
2022-10-14 16:57:08 +13:00
Brandon Presley 90f09e3a31 Reduce redundancy of workouts
Repeating the word sets and rest looks a bit
funny. This way leaves a bit to the imagination,
but looks simpler. If a user doesn't understand what
the description is talking about they will probably
just tap the item to read it.
2022-10-14 16:49:34 +13:00
Brandon Presley e2c790870b Hide rest settings in workouts when alarms are off
Closes #83
2022-10-04 14:46:15 +13:00
Brandon Presley b0b804eae1 Use react context for settings
Closes #81
2022-10-01 16:01:07 +13:00
Brandon Presley 86509eb211 Prevent commas and single quotes from being entered
Closes #60
2022-09-27 17:41:31 +13:00
Brandon Presley 9849ef6834 Fix icons on long press menus 2022-09-27 13:35:27 +13:00
Brandon Presley fa56d48c25 Remove redundant fetching of workout in EditWorkout 2022-09-24 14:48:52 +12:00
Brandon Presley 14d71fec8b Remove workouts table in favor of storing steps on sets 2022-09-23 13:52:33 +12:00
Brandon Presley 85dd2b6d17 Move rest timer and sets per session settings to Workouts
Closes #32
2022-09-21 11:50:20 +12:00
Brandon Presley 7d39dd0212 Remove from workouts table when deleting a workout 2022-09-20 16:03:52 +12:00
Brandon Presley b223a4095c Show images on Best list and Workout list
Closes #19
2022-09-18 18:30:37 +12:00
Brandon Presley 0f9ed2257b Fix showing new workout image in workouts list 2022-09-11 15:06:00 +12:00
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 6b617d974f Replace react-native imports of Text with react-native-paper 2022-09-01 23:43:53 +12:00
Brandon Presley 756a2089e9 Prevent race condition with database migrations 2022-08-30 23:21:25 +12:00
Brandon Presley 5578318ead Add images to workouts list 2022-08-29 13:45:27 +12:00
Brandon Presley 23d8c91c69 Add workouts page
The workouts page can be used to add a new type of workout,
or to edit the name of an already existing one.
Closes #1.
2022-08-26 15:10:28 +12:00