Commit Graph

459 Commits

Author SHA1 Message Date
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
ceda1cecf4 Add TypeScript watching to watch.sh 2022-09-20 12:54:52 +12:00
e4a06c1dfb Remove husky 2022-09-20 12:51:56 +12:00
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
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
0717151962 Split up logging in ViewBest 2022-09-20 12:35:44 +12:00
043d63be5d Set versionCode=36020 2022-09-20 12:29:44 +12:00
f38cc9d00c Remove react-native-picker-select
Closes #29
2022-09-20 12:28:15 +12:00
cb8c106e1f Set versionCode=36019 2022-09-19 14:59:29 +12:00
e308993566 Use gestures instead of buttons for EditWorkout image
Closes #31
2022-09-19 14:58:08 +12:00
e19b4aa84a Make several logs one liners in SetList 2022-09-19 14:52:06 +12:00
6ddecf60f0 Handle VIBRATOR_SERVICE deprecation for alarms
Closes #28.
2022-09-19 13:23:00 +12:00
fdb0355aaa Upgrade all packages
Closes #23.
2022-09-19 13:20:58 +12:00
d05c815a79 Add change image button and fix margin in workout
Closes #26, #27.
2022-09-19 13:20:24 +12:00
8b479b299f Set versionCode=36018 2022-09-18 20:31:31 +12:00
a4bdd36a03 Insert missing rows into workouts on migration 2022-09-18 20:30:30 +12:00
d438ca0282 Set versionCode=36017 2022-09-18 20:25:35 +12:00
1ad101f06c Share entire screen when sharing a Best graph
Closes #20
2022-09-18 20:24:05 +12:00
6f98f03c8b Set versionCode=36016 2022-09-18 18:51:40 +12:00
0577cc87d9 Set versionCode=36015 2022-09-18 18:46:24 +12:00
0cee774136 Prevent empty plans from being created 2022-09-18 18:45:05 +12:00
910cfddfc5 Set versionCode=36014 2022-09-18 18:32:16 +12:00
b223a4095c Show images on Best list and Workout list
Closes #19
2022-09-18 18:30:37 +12:00
562ee4f43e Make sure workouts table has all names from sets 2022-09-18 18:30:06 +12:00
eddad49719 Add button to remove image from a workout
Closes #21
2022-09-18 18:15:58 +12:00
be3bb8a189 Reword tooltip when toggling set predictions
Closes #24
2022-09-18 18:11:09 +12:00
c02456e27c Remove (kg) and auto capitalization from unit
Closes #25
2022-09-18 18:10:19 +12:00
cb446be7b0 Add steps to workouts
Closes #15
2022-09-18 18:08:09 +12:00
8499795c97 Set versionCode=36013 2022-09-17 12:36:08 +12:00
98279dcbea Revert "Upgrade react-native"
This reverts commit b46f6c8d64.

Upgrading react-native produces a crash similar to https://github.com/facebook/react-native/issues/34658
2022-09-17 12:33:45 +12:00
b46f6c8d64 Upgrade react-native 2022-09-17 00:46:17 +12:00
0bc92e1539 Add snackbar for images setting 2022-09-16 21:38:37 +12:00
55df27455a Always display snackbars for their intended durations 2022-09-16 21:37:44 +12:00
e0a516c182 Set versionCode=36012 2022-09-16 21:23:27 +12:00
2027b0f66a Streamline selection of image for workout 2022-09-16 21:20:10 +12:00
052d000e12 Make padding & margin consistent everywhere. 2022-09-16 21:07:02 +12:00
8e5519c686 Add husky for pre-commit hooks 2022-09-11 15:51:58 +12:00
e43375ed78 Remove typescript and lint from deploy
I've put it in my git pre-commit hook instead.
https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
2022-09-11 15:48:11 +12:00
d4e8bd84d1 Set versionCode=36011 2022-09-11 15:45:42 +12:00
c6646a85fe Fix typescript error in WorkoutList 2022-09-11 15:44:44 +12:00
5177a79b5c Search settings page case insensitively 2022-09-11 15:41:15 +12:00
567bf182b4 Change toasts based on context of settings
The messages should explain what you have now changed
rather than the setting itself.
2022-09-11 15:35:20 +12:00
1a83b20069 Reduce redundancy of SettingsPage 2022-09-11 15:22:18 +12:00
0f9ed2257b Fix showing new workout image in workouts list 2022-09-11 15:06:00 +12:00
03e284ed87 Fix editing a workouts image 2022-09-10 19:02:16 +12:00
d5c97b45b0 Revert "Show count when adding a new set"
This reverts commit 4aa91253a1.
2022-09-09 15:32:47 +12:00
4aa91253a1 Show count when adding a new set 2022-09-08 22:33:32 +12:00
3abc4da861 Make countdownTimer nullable in TimerService 2022-09-08 22:32:48 +12:00
c44c57e1c4 Fix settings for timer after adding one minute
Both vibration and sound settings weren't applying
after adding one minute to the timer. It would instead
play the default alarm and always vibrate.
2022-09-08 22:11:48 +12:00
63049eed52 Set versionCode=36010 2022-09-04 17:33:52 +12:00