Commit Graph

600 Commits

Author SHA1 Message Date
Brandon Presley d21e7986e3 Add full screen android intent for alarm 2022-10-18 21:38:06 +13:00
Brandon Presley dc84fa5f6c Set versionCode=36063 2022-10-17 19:59:17 +13:00
Brandon Presley d723bd9745 Make date color grey
Closes #93
2022-10-17 19:57:18 +13:00
Brandon Presley db4f6fb482 Update phone screenshots 2022-10-16 17:34:55 +13:00
Brandon Presley ae947d5405 Wait for data before displaying workouts on plans
Closes #92
2022-10-16 17:20:13 +13:00
Brandon Presley c05a76ed1a Set versionCode=36062 2022-10-16 17:09:46 +13:00
Brandon Presley 5d5f586f7f Use theme colors for chart axes labels
Closes #89
2022-10-16 17:08:18 +13:00
Brandon Presley d23d489ec0 Set versionCode=36061 2022-10-16 16:59:55 +13:00
Brandon Presley 6238b47e6a Fix plan not activating on radio button press
If you touched the radio button instead of the workout
item itself, it wouldn't toggle.
2022-10-16 16:57:23 +13:00
Brandon Presley 77db34b310 Add toggle for hiding maximum set count
Closes #90
2022-10-16 16:54:20 +13:00
Brandon Presley 3714db438e Fix max number of sets for plan
Previously we were trying to get the max # of sets
from our query on the number of sets completed for today.
This meant if we hadn't completed any sets today, we would
get no result for that workout.
2022-10-16 16:46:38 +13:00
Brandon Presley f078ede58a Get max sets for each workout in plan
Closes #91
2022-10-16 16:08:38 +13:00
Brandon Presley 7bd2254719 Set versionCode=36060 2022-10-16 14:39:18 +13:00
Brandon Presley 2fd9635e40 Add new record notification to plan 2022-10-16 14:38:01 +13:00
Brandon Presley 4d35d617e8 Change wording on new record notification 2022-10-16 14:37:31 +13:00
Brandon Presley b8c98babe6 Reword best weight and volume metrics
Previously we didn't have a period selector,
so the description was "Best weight per day"
and "Best volume per day". Now that the user
can also select the period (daily, monthly, yearly)
it doesn't make sense to label them as "per day".
2022-10-16 14:36:08 +13:00
Brandon Presley b89209b852 Update phone screenshots 2022-10-16 14:07:15 +13:00
Brandon Presley 3012b69e00 Add one rep max calculator for best graphs
I tried out a bunch of formulas as well as
having them as options, and I ended up liking
the Brzycki formula the most.
https://en.wikipedia.org/wiki/One-repetition_maximum#Brzycki
All of them produced similar trends (for me) and the one using
exponents wouldn't work with the SQLite version on android
(can't use POWER function). Also having all the options looked
kind of cluttered. If people ask for it I'll add the other ones
later.
2022-10-16 13:39:59 +13:00
Brandon Presley 0b041f9643 Stop timer if notification is dismissed
Closes #86
2022-10-16 13:08:37 +13:00
Brandon Presley 81deba0dbc Set versionCode=36059 2022-10-15 11:16:21 +13:00
Brandon Presley 6d29ac09be Remove auto focus on reps for starting a plan
Doesn't feel right to open the reps immediately on
a page with so much content. The keyboard hides some of the
stuff on the bottom. Also I find myself opening a plan up just
to see what's on that day rather than editing right away.
2022-10-15 11:14:02 +13:00
Brandon Presley d97cdbfe99 Add plan start screenshot 2022-10-14 18:25:30 +13:00
Brandon Presley e3758e44e7 Delete accidental empty database massive.db 2022-10-14 18:23:56 +13:00
Brandon Presley cd424eba6e Set versionCode=36058 2022-10-14 18:22:08 +13:00
Brandon Presley bca65c90e6 Show dates in set edit screen 2022-10-14 18:20:30 +13:00
Brandon Presley 1d0dd70a49 Set versionCode=36057 2022-10-14 18:13:58 +13:00
Brandon Presley 9bd8fa9353 Replace height percent setting with flex: 1
This way reacts better to changing the screen sizes.
I think there was one bug where the fab wouldn't be
precisely at the bottom of the page depending on the
flat list length.
2022-10-14 18:12:21 +13:00
Brandon Presley 46f0875497 Create useSnackbar custom hook 2022-10-14 17:27:19 +13:00
Brandon Presley 8461f86e88 Wrap color context with useColor custom hook
I find it easier to import hooks by useX instead of
useContext(X). Like how the navigation library is just
useNavigation
2022-10-14 17:24:02 +13:00
Brandon Presley d80135d4ed Set versionCode=36056 2022-10-14 17:08:01 +13:00
Brandon Presley 2782d34a05 Use custom theme color for radio buttons 2022-10-14 17:06:23 +13:00
Brandon Presley c4e26e2560 Set versionCode=36055 2022-10-14 17:00:08 +13:00
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 b6665ed4b5 Use radio button for workouts on a plan 2022-10-14 16:55:12 +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 a65274c2d6 Set versionCode=36054 2022-10-13 16:33:26 +13:00
Brandon Presley 228383ed23 Bottom align save button on set form 2022-10-13 16:32:12 +13:00
Brandon Presley 780500ac75 Set versionCode=36053 2022-10-13 16:31:40 +13:00
Brandon Presley 52f8241054 Prevent flickering of empty lists on slow devices 2022-10-13 16:30:02 +13:00
Brandon Presley e6228b3990 Remove non null assertions in TimerService
This might help fix the error we were seeing on the
play store.
2022-10-13 16:12:49 +13:00
Brandon Presley f41e7b3ffe Set versionCode=36052 2022-10-13 13:35:15 +13:00
Brandon Presley 9dd929b177 Handle missing intent extras in TimerService
This might fix an error I was seeing on production in the Play store.
2022-10-13 13:33:01 +13:00
Brandon Presley 6316e99e6e Set versionCode=36051 2022-10-13 11:27:16 +13:00
Brandon Presley 1a43f41170 Refresh current day for Plans on focus
Closes #85
2022-10-13 11:25:23 +13:00
Brandon Presley 2e1e84ac6f Set versionCode=36050 2022-10-12 17:19:40 +13:00
Brandon Presley ca09613d9b Include set image when adding a set from plan
If a user has set an image for a workout, then adding
a set should include it's image.
2022-10-12 17:17:47 +13:00
Brandon Presley 3b0391310b Visually select first workout in plan by default 2022-10-12 17:17:28 +13:00
Brandon Presley 05a7747f05 Add divider before delete button on plan 2022-10-12 14:53:05 +13:00
Brandon Presley da3dd99bc0 Set versionCode=36049 2022-10-12 14:52:49 +13:00
Brandon Presley 5901722f22 Use flat list instead of chips for workouts 2022-10-12 14:51:30 +13:00