bca65c90e6
Show dates in set edit screen
2022-10-14 18:20:30 +13:00
46f0875497
Create useSnackbar custom hook
2022-10-14 17:27:19 +13:00
228383ed23
Bottom align save button on set form
2022-10-13 16:32:12 +13:00
3cbabb723a
Add sessions page
...
Related to #82
2022-10-05 23:38:52 +13:00
6f41f87dc1
Improve readability of SetForm
2022-10-02 17:59:08 +13:00
b0b804eae1
Use react context for settings
...
Closes #81
2022-10-01 16:01:07 +13:00
df45938bc3
Add image to set edit page
2022-10-01 15:35:52 +13:00
71c358a532
Move cursor to next input for workouts editing
2022-09-30 15:14:53 +13:00
4199bf0058
Fix image not being included for new predicted sets
2022-09-30 13:29:33 +13:00
4eaf2c2134
Give new sets no image instead of last sets image
...
Closes #72
2022-09-30 13:12:11 +13:00
66c24a96bd
Fix missing key in workouts for SetForm
2022-09-29 13:42:19 +13:00
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
86509eb211
Prevent commas and single quotes from being entered
...
Closes #60
2022-09-27 17:41:31 +13:00
3e4dfa5c80
Add setting to hide workouts from edit set
...
Closes #43
2022-09-24 17:23:15 +12:00
24d4bcea21
Make todays workout read only instead of disabled
...
Closes #41
2022-09-24 17:16:52 +12:00
24c8eb08b9
Prevent keyboard flicker from set name to reps
...
Closes #42
2022-09-24 15:38:58 +12:00
406d8e7738
Prevent blank workouts on new set
...
Closes #46
2022-09-24 15:33:45 +12:00
6677bc092b
Submit set when pressing enter on weights
2022-09-21 14:47:27 +12:00
0bc644a1ba
Add setting to show/hide unit field
...
Closes #34
2022-09-21 13:51:29 +12:00
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
85dd2b6d17
Move rest timer and sets per session settings to Workouts
...
Closes #32
2022-09-21 11:50:20 +12:00
c02456e27c
Remove (kg) and auto capitalization from unit
...
Closes #25
2022-09-18 18:10:19 +12:00
052d000e12
Make padding & margin consistent everywhere.
2022-09-16 21:07:02 +12:00
e3b3c6ca09
Split out database logic into service files
2022-09-04 16:56:46 +12:00
259d36d67f
Move all database operations into db.ts
2022-09-04 15:28:21 +12:00
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
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
6b617d974f
Replace react-native imports of Text with react-native-paper
2022-09-01 23:43:53 +12:00
ef2b877b49
Add date editing to Massive input
2022-09-01 13:59:06 +12:00
718bb279d9
Add warning for incorrect date format
2022-09-01 13:12:39 +12:00
d7330067bb
Allow text editing of created in SetForm
2022-09-01 13:05:41 +12:00
756a2089e9
Prevent race condition with database migrations
2022-08-30 23:21:25 +12:00
26f54e43e0
Prevent errors when no sets exist yet
2022-08-30 21:41:49 +12:00
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
f6dec0c3b2
Add images to sets
2022-08-28 20:55:12 +12:00
925138d6dc
Remove unused dependencies
2022-08-28 20:20:58 +12:00
fd38439756
Change color scheme
2022-08-26 13:54:51 +12:00
8ae8de9612
Underline current workout in SetForm
2022-08-25 14:16:30 +12:00
c54396cb9c
Make text inputs outlined
2022-08-25 12:35:09 +12:00
bc3a39c4b6
Show list of current workouts when adding set
2022-08-24 15:36:49 +12:00
0dcfc8eadf
Show next workout on EditSet page
2022-08-24 12:46:47 +12:00
1ce9a49224
Focus name field when it's empty
2022-08-23 15:58:44 +12:00
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
1b2c26e36c
Fix selection changing
2022-08-07 15:09:45 +12:00
31c6047c9c
Auto focus and select reps on SetForm
2022-08-06 15:10:48 +12:00
3377365590
Predict next set earlier
2022-08-06 14:49:30 +12:00
e489ddfc26
Select text on focus reps
2022-08-04 14:50:55 +12:00
19b2efea9d
Select all weight text on focus
2022-08-04 14:27:07 +12:00
b2ffe99f2d
Fix copying a set
2022-07-27 15:52:55 +12:00
056f027d28
Only focus reps in SetForm when predict succeeds
2022-07-26 11:52:21 +12:00