Commit Graph

42 Commits

Author SHA1 Message Date
Brandon Presley 3ec685a76e Give up on hidden drawer navigation.
Auto focusing is all messed up here and I
don't think all this trouble is worth it.
2022-09-29 13:32:59 +13:00
Brandon Presley 5fc4c758b6 Use hidden drawer routes instead of drawer + stack
Closes #68
2022-09-29 12:28:03 +13:00
Brandon Presley 13c4879470 Revert workouts to be text instead of an input
These workouts being an input is confusing because
they are not editable.

Closes #65
2022-09-28 14:22:12 +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 3e4dfa5c80 Add setting to hide workouts from edit set
Closes #43
2022-09-24 17:23:15 +12:00
Brandon Presley 24d4bcea21 Make todays workout read only instead of disabled
Closes #41
2022-09-24 17:16:52 +12:00
Brandon Presley 24c8eb08b9 Prevent keyboard flicker from set name to reps
Closes #42
2022-09-24 15:38:58 +12:00
Brandon Presley 406d8e7738 Prevent blank workouts on new set
Closes #46
2022-09-24 15:33:45 +12:00
Brandon Presley 6677bc092b Submit set when pressing enter on weights 2022-09-21 14:47:27 +12:00
Brandon Presley 0bc644a1ba Add setting to show/hide unit field
Closes #34
2022-09-21 13:51:29 +12:00
Brandon Presley 719560b664 Hide rest minutes and seconds from edit set screen
Feels like there are too many fields on this screen
so we can just leave the defaults for people who don't
care about this feature.
2022-09-21 11:59:14 +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 c02456e27c Remove (kg) and auto capitalization from unit
Closes #25
2022-09-18 18:10:19 +12:00
Brandon Presley 052d000e12 Make padding & margin consistent everywhere. 2022-09-16 21:07:02 +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 ee6cef63ee Remove date editing from SetForm
It looks so messy, and adding libraries to deal with dates
is simply bloat.
2022-09-03 15:26:10 +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 ef2b877b49 Add date editing to Massive input 2022-09-01 13:59:06 +12:00
Brandon Presley 718bb279d9 Add warning for incorrect date format 2022-09-01 13:12:39 +12:00
Brandon Presley d7330067bb Allow text editing of created in SetForm 2022-09-01 13:05:41 +12:00
Brandon Presley 756a2089e9 Prevent race condition with database migrations 2022-08-30 23:21:25 +12:00
Brandon Presley 26f54e43e0 Prevent errors when no sets exist yet 2022-08-30 21:41:49 +12:00
Brandon Presley 27a1f3132f Remove image view from SetForm
1. This doesn't easily fit on the screen with the keyboard open
2. It wasn't editable, while being on an edit screen, so it was
   misleading.
2022-08-29 15:19:07 +12:00
Brandon Presley f6dec0c3b2 Add images to sets 2022-08-28 20:55:12 +12:00
Brandon Presley 925138d6dc Remove unused dependencies 2022-08-28 20:20:58 +12:00
Brandon Presley fd38439756 Change color scheme 2022-08-26 13:54:51 +12:00
Brandon Presley 8ae8de9612 Underline current workout in SetForm 2022-08-25 14:16:30 +12:00
Brandon Presley c54396cb9c Make text inputs outlined 2022-08-25 12:35:09 +12:00
Brandon Presley bc3a39c4b6 Show list of current workouts when adding set 2022-08-24 15:36:49 +12:00
Brandon Presley 0dcfc8eadf Show next workout on EditSet page 2022-08-24 12:46:47 +12:00
Brandon Presley 1ce9a49224 Focus name field when it's empty 2022-08-23 15:58:44 +12:00
Brandon Presley fd66bd3ab3 Remove date related logic
This kept displaying the wrong date/time for certain timezones.
So i'll just show the actual ISO date we store in the database.
Maybe later i'll figure out what was going on here or use a
date library (probably not).
2022-08-20 16:38:18 +12:00
Brandon Presley 1b2c26e36c Fix selection changing 2022-08-07 15:09:45 +12:00
Brandon Presley 31c6047c9c Auto focus and select reps on SetForm 2022-08-06 15:10:48 +12:00
Brandon Presley 3377365590 Predict next set earlier 2022-08-06 14:49:30 +12:00
Brandon Presley e489ddfc26 Select text on focus reps 2022-08-04 14:50:55 +12:00
Brandon Presley 19b2efea9d Select all weight text on focus 2022-08-04 14:27:07 +12:00
Brandon Presley b2ffe99f2d Fix copying a set 2022-07-27 15:52:55 +12:00
Brandon Presley 056f027d28 Only focus reps in SetForm when predict succeeds 2022-07-26 11:52:21 +12:00
Brandon Presley e191323fff Factor out EditSet and SetForm 2022-07-20 15:48:48 +12:00