Commit Graph

516 Commits

Author SHA1 Message Date
Brandon Presley 7b874d27cc Stop attempt at adding chart previews
The line graphs would dissapear on the flat list,
and would escape small view containers.
2022-10-13 16:55:26 +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
Brandon Presley 636bfa35a4 Remove dates toggle from set item
This feature exists in the settings page,
so duplicating it here might be confusing to users.
2022-10-12 14:10:59 +13:00
Brandon Presley e7438138a6 Set versionCode=36048 2022-10-12 14:09:44 +13:00
Brandon Presley e0b84af9e7 Move sessions page functionality onto Plan page
The sessions page mostly copied the exact same features as Plans,
which would confuse the user.
2022-10-12 14:07:48 +13:00
Brandon Presley 5481e8a20d Fix color for snackbar buttons
The primary color doesn't always work when inverted
from dark to light theme.
2022-10-12 14:07:19 +13:00
Brandon Presley 17b88f39e4 Make chip icons always fitness center 2022-10-05 23:49:08 +13:00
Brandon Presley 3cbabb723a Add sessions page
Related to #82
2022-10-05 23:38:52 +13:00
Brandon Presley 2be2893dc1 Set versionCode=36047 2022-10-05 21:13:13 +13:00
Brandon Presley e501276463 Keep alarm notification on screen
If the user picks up their phone late while the alarm
is going, they might not realise the controls are in
the notification not the app.

Closes #75
2022-10-05 21:11:44 +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 73fb90961e Set versionCode=36046 2022-10-04 14:37:44 +13:00
Brandon Presley eb53d58991 Add ability to set app theme
Closes #79
2022-10-04 14:35:56 +13:00
Brandon Presley 3164347158 Set versionCode=36045 2022-10-03 00:56:57 +13:00
Brandon Presley c1f5f62145 Add format to next page 2022-10-03 00:55:36 +13:00
Brandon Presley c65bbf948f Add hh:mm format to date setting 2022-10-02 19:14:10 +13:00
Brandon Presley 4a924df8fb Set versionCode=36044 2022-10-02 19:09:11 +13:00
Brandon Presley 93878f14e4 Fix image on new set prediction 2022-10-02 19:07:52 +13:00
Brandon Presley ba3ed2a272 Revert "Revert "Add setting for showing date by default""
This reverts commit e1b7e80e2f.
2022-10-02 18:07:43 +13:00
Brandon Presley a5c70050a7 Revert "Revert "Add setting for date format""
This reverts commit 3691c729b4.
2022-10-02 18:04:36 +13:00
Brandon Presley 6f41f87dc1 Improve readability of SetForm 2022-10-02 17:59:08 +13:00
Brandon Presley 76a3584dbb Hide workout images based on setting
Closes #80
2022-10-01 16:30:29 +13:00
Brandon Presley 300651f4e9 Set versionCode=36043 2022-10-01 16:03:21 +13:00
Brandon Presley b0b804eae1 Use react context for settings
Closes #81
2022-10-01 16:01:07 +13:00
Brandon Presley 794504dee0 Use latest image for new sets
Previously, it would use the image from the best ranked set.
2022-10-01 15:36:30 +13:00
Brandon Presley c866fac9d2 Fix install.sh
It was doing the adb install from the project directory, but had already
changed into android.
2022-10-01 15:36:04 +13:00
Brandon Presley df45938bc3 Add image to set edit page 2022-10-01 15:35:52 +13:00
Brandon Presley edf823ca8b Prevent title counting sets when we aren't predicting them 2022-10-01 15:35:20 +13:00
Brandon Presley 0b489cac2a Update edit.png 2022-10-01 13:32:08 +13:00
Brandon Presley a02247542e Group created by month when period is yearly
Possible solution to #78

We should keep this issue up for a while longer to see how this
solution feels.
2022-10-01 13:31:05 +13:00
Brandon Presley 9d42760dff Rename some variables in EditSet
Not sure if I like the look of variables starting with
underscores. Perhaps the only use of this would be to prevent
editor warnings for unused variables.
2022-10-01 13:30:06 +13:00
Brandon Presley a530b563b9 Add -d flag to install.sh
Installs it on usb debug device instead of assuming
only one device is plugged in.
2022-09-30 17:13:04 +13:00
Brandon Presley 6af167268c Remove major.minor tag from deploy.sh 2022-09-30 17:09:19 +13:00
Brandon Presley 53a5b09f7e Set versionCode=36042 2022-09-30 17:08:39 +13:00
Brandon Presley c8cedef8fb Clear old workouts when predicting new set
Closes #73
2022-09-30 17:07:26 +13:00
Brandon Presley 4d219581d0 Use lambdas for submit editing in EditWorkout
For some reason the next ref wouldn't get focused
if I passed the functions without wrapping in a lambda.
2022-09-30 15:16:56 +13:00