Commit Graph

683 Commits

Author SHA1 Message Date
Brandon Presley 2dfff2c851 Add gemfile + lock 2022-11-04 18:50:52 +13:00
Brandon Presley 1e88a98353 Get color setting when changing system theme 2022-11-04 18:34:41 +13:00
Brandon Presley a2d8f4d8ac Set versionCode=36087 2022-11-04 16:03:23 +13:00
Brandon Presley f9449a9860 Fix default new sets 2022-11-04 16:02:06 +13:00
Brandon Presley ba61e79808 Fix error loading set for adding 2022-11-04 15:51:58 +13:00
Brandon Presley 7760c94626 Organize deploy.sh a bit 2022-11-03 23:39:05 +13:00
Brandon Presley 8019df7418 Add some useCallbacks 2022-11-03 23:32:41 +13:00
Brandon Presley da4484cf4f Set versionCode=36086 2022-11-03 22:17:21 +13:00
Brandon Presley 29d14d74ff Fix rest timers for new sets from homepage 2022-11-03 22:16:18 +13:00
Brandon Presley 0e5de0e519 Add noSound to AlarmModule 2022-11-03 21:59:12 +13:00
Brandon Presley facbfe4da5 Add noSound to timer add 2022-11-03 21:59:00 +13:00
Brandon Presley b6616a551a Add logging to set item removal 2022-11-03 21:58:49 +13:00
Brandon Presley f7c895f608 Fix not remembering settings sound 2022-11-03 21:58:33 +13:00
Brandon Presley 1110ccb741 Fix deleting first record bug 2022-11-03 21:58:10 +13:00
Brandon Presley 84b369d54b Merge branch 'alarm-module' 2022-11-03 20:04:50 +13:00
Brandon Presley fcce1ad9ef Add native events to communicate the running timer
Closes #99
2022-11-03 20:04:15 +13:00
Brandon Presley 44b2b26b6d Set versionCode=36085 2022-11-03 19:25:43 +13:00
Brandon Presley e8dfd5d427 Set versionCode=36084 2022-11-03 19:22:59 +13:00
Brandon Presley 98c7fac75d Fix adding new set on fresh installs 2022-11-03 19:21:59 +13:00
Brandon Presley 4a95ed050c Fix adding new set on fresh installs 2022-11-03 19:21:19 +13:00
Brandon Presley cafcb996e3 Set versionCode=36083 2022-11-03 19:12:19 +13:00
Brandon Presley 90fa309c09 Remove unused variable from SetList 2022-11-03 19:10:56 +13:00
Brandon Presley 09e178c5ce Fix edit set crashing on fresh installs 2022-11-03 19:10:26 +13:00
Brandon Presley f52b1437f2 Fix edit set crashing on fresh installs 2022-11-03 19:09:50 +13:00
Brandon Presley 6f57b235d6 Merge branch 'master' into alarm-module 2022-11-03 19:01:09 +13:00
Brandon Presley aa2d146527 Fix color detection for MassiveFab 2022-11-02 16:38:42 +13:00
Brandon Presley a8fac1db69 Simplify adding from SetList 2022-11-02 15:46:45 +13:00
Brandon Presley e48e125499 Dont send git push to background in deploy.sh
If it fails we don't want to continue the script.
2022-11-02 15:41:48 +13:00
Brandon Presley 1d0d7c2fff Set versionCode=36082 2022-11-02 15:41:28 +13:00
Brandon Presley 2e5edb741e Fix linting issue in StartPlan 2022-11-02 15:40:25 +13:00
Brandon Presley 4873fcb653 Ran prettier 2022-11-02 15:39:17 +13:00
Brandon Presley 8835a3efd3 Prevent double initializing typeorm
App is re-mounted when the system theme is changed,
but the connection to the sqlite database stays active.
This means the previous code would fail to initialize
and then be a blank screen.
Closes #107
2022-11-02 15:37:32 +13:00
Brandon Presley 187a0fbc68 Only initialize typeorm if uninitialized 2022-11-02 15:22:57 +13:00
Brandon Presley 2aaaac1929 Fix sets added by plan not showing image 2022-11-02 14:41:30 +13:00
Brandon Presley 7b568d3b04 Format time based on setting when editing a set 2022-11-02 14:41:14 +13:00
Brandon Presley 156f1fc33f Fix button color on snackbars 2022-11-02 13:39:51 +13:00
Brandon Presley 1f513f2a03 Update phone screenshots 2022-11-02 13:39:45 +13:00
Brandon Presley f91d529f39 Add copy feature for plans
Long tap an existing plan, then press copy.
This will bring up a new plan to add with all
the same workouts/days as the one you have
copied.
2022-11-02 13:02:08 +13:00
Brandon Presley ffbefe7a4f Add feature to edit last set from plan
If you are working through a plan, and accidentally
save an incorrect set (e.g. 100 reps instead of 10),
now you can long tap the item, and press edit. This
is slightly easier than swapping back over to the
home page to edit the set. Also since I reused the
same EditSet component this wasn't very much work.
2022-11-02 12:58:57 +13:00
Brandon Presley 0f6102f433 Make sure undo doesn't delete old items 2022-11-02 12:51:15 +13:00
Brandon Presley 3bf2193d46 Remove needless double negation in StartPlan
We used to store the numbers as sqlite presented
the booleans, but now TypeOrm automatically converts
it into bools for us so we don't need to.
2022-11-02 12:43:01 +13:00
Brandon Presley 2a868cc9ee Add --nobuild option to install.sh 2022-11-02 12:42:50 +13:00
Brandon Presley 2dfbb7224f Remove parallel logic to deploy.sh
Didn't work anyway. Don't mind waiting a bit for deploys.
2022-11-02 12:42:32 +13:00
Brandon Presley ffc0662171 Set versionCode=36081 2022-11-02 12:38:00 +13:00
Brandon Presley 0ed3b9817c Add lighter purple color option 2022-11-02 12:36:48 +13:00
Brandon Presley 2c029b5f6a Removed tests 2022-11-02 12:35:52 +13:00
Brandon Presley 18eaa9fc14 Adjust spacing of SettingsPage 2022-11-02 12:28:11 +13:00
Brandon Presley 202d34d785 Remove hard coded colors in MassiveFab 2022-11-02 12:26:46 +13:00
Brandon Presley 07a3d240ea Set versionCode=36080 2022-11-01 20:12:48 +13:00
Brandon Presley 7a97b11e79 Remove React import from SetList 2022-11-01 20:01:04 +13:00