Commit Graph

600 Commits

Author SHA1 Message Date
Brandon Presley 063425cd82 Use sql for counting todays sets in predictions 2022-09-25 18:05:15 +13:00
Brandon Presley acfd0e698d Minor refactors and renaming 2022-09-25 17:49:26 +13:00
Brandon Presley d38d2a59b4 Add white and black themes 2022-09-25 17:43:29 +13:00
Brandon Presley b5b4aa8666 Split out colors 2022-09-25 17:32:49 +13:00
Brandon Presley 71d223f0a1 Add current workout progress to title of set editing
Related to #48

Should be thoroughly tested before closing.
2022-09-24 19:09:58 +12:00
Brandon Presley 39fafa353f Split out some type definitions into their own files 2022-09-24 18:47:31 +12:00
Brandon Presley 927e48ab2f Set versionName=1.6 2022-09-24 18:38:06 +12:00
Brandon Presley bbe57d02eb Set versionCode=36026 2022-09-24 17:31:48 +12:00
Brandon Presley 3509aa93f3 Add setting to hide steps 2022-09-24 17:29:52 +12: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 8e674ce993 Fix sets not showing when editing a workout 2022-09-24 17:15:44 +12:00
Brandon Presley 462a7f09bc Fix settings forgetting show unit
Closes #47
2022-09-24 17:12:58 +12:00
Brandon Presley 118b87bef1 Always cancel old timer when new one starts
Previously we didn't cancel the alarm or notification.
Closes #45
2022-09-24 16:55:55 +12:00
Brandon Presley 686666b953 Get unit in settings page from sqlite 2022-09-24 16:55:41 +12:00
Brandon Presley 2b6ac1cd10 Set default show unit to be true 2022-09-24 16:55:23 +12:00
Brandon Presley 7feb98f7ce Make fab text black when primary color is cyan 2022-09-24 15:59:52 +12:00
Brandon Presley 0f571ac3ea Rename notification channels
Closes #44
2022-09-24 15:40:37 +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 32e46c48dd Remove unused code 2022-09-24 15:29:24 +12:00
Brandon Presley fa56d48c25 Remove redundant fetching of workout in EditWorkout 2022-09-24 14:48:52 +12:00
Brandon Presley 5c4e1964b0 Set versionCode=36025 2022-09-24 14:17:38 +12:00
Brandon Presley 462c42cfb7 Fix editing new workout
Closes #39
2022-09-24 14:16:33 +12:00
Brandon Presley fdb4cb8c85 Set versionCode=36024 2022-09-24 14:09:39 +12:00
Brandon Presley 0ebe084465 Remove color setting from MassiveFab
This makes the button automatically adjust
according to what the user has set the primary
color to be.
Seems that with the default dark theme the cyan
makes the text not the same color as the Button,
but this still looks better than the statically
set colors from before.
2022-09-24 14:07:25 +12:00
Brandon Presley e516cdfdc0 Add ability to customize primary color
Closes #40
2022-09-24 13:57:51 +12:00
Brandon Presley 512c0d0467 Set versionCode=36023 2022-09-23 14:08:13 +12:00
Brandon Presley 32776a5217 Include sets, minutes and seconds in importing/exporting sets 2022-09-23 14:06:23 +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 f4f29df172 Set versionCode=36022 2022-09-22 14:39:58 +12:00
Brandon Presley f320d16c4b Fix adding new set with no plan
Closes #36
2022-09-22 14:38:33 +12:00
Brandon Presley 5da73a0e3e Set versionCode=36021 2022-09-21 14:48:49 +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 1bd05e1c20 Add padding to bottom of list pages 2022-09-20 16:17:01 +12:00
Brandon Presley 643fbf94a4 Disable save button when EditWorkout has no name 2022-09-20 16:05:23 +12:00
Brandon Presley 7d39dd0212 Remove from workouts table when deleting a workout 2022-09-20 16:03:52 +12:00
Brandon Presley 75c93a4bf9 Delete watch.sh
I split the two tsc and linting up because sending to the background in
a script means I can't easily kill them again with `jobs`.
2022-09-20 15:57:20 +12:00
Brandon Presley 565df842c9 Add watch-lint.sh and watch-tsc.sh
Both these scripts will live reload run yarn lint and tsc,
reporting errors with notify-send.
2022-09-20 13:51:34 +12:00
Brandon Presley ceda1cecf4 Add TypeScript watching to watch.sh 2022-09-20 12:54:52 +12:00
Brandon Presley e4a06c1dfb Remove husky 2022-09-20 12:51:56 +12:00
Brandon Presley 677302dcb6 Add watch.sh
Run yarn lint on file changes and notify-send errors.
This means I don't have to keep running yarn lint before every
commit with Husky.
2022-09-20 12:50:31 +12:00
Brandon Presley d040a2574d Remove tsc from husky pre-commit
Since I run the metro server while developing,
errors will be immediately apparent while writing.
2022-09-20 12:41:29 +12:00
Brandon Presley 0717151962 Split up logging in ViewBest 2022-09-20 12:35:44 +12:00
Brandon Presley 043d63be5d Set versionCode=36020 2022-09-20 12:29:44 +12:00
Brandon Presley f38cc9d00c Remove react-native-picker-select
Closes #29
2022-09-20 12:28:15 +12:00
Brandon Presley cb8c106e1f Set versionCode=36019 2022-09-19 14:59:29 +12:00