Commit Graph

674 Commits

Author SHA1 Message Date
0e5de0e519 Add noSound to AlarmModule 2022-11-03 21:59:12 +13:00
facbfe4da5 Add noSound to timer add 2022-11-03 21:59:00 +13:00
b6616a551a Add logging to set item removal 2022-11-03 21:58:49 +13:00
f7c895f608 Fix not remembering settings sound 2022-11-03 21:58:33 +13:00
1110ccb741 Fix deleting first record bug 2022-11-03 21:58:10 +13:00
84b369d54b Merge branch 'alarm-module' 2022-11-03 20:04:50 +13:00
fcce1ad9ef Add native events to communicate the running timer
Closes #99
2022-11-03 20:04:15 +13:00
44b2b26b6d Set versionCode=36085 2022-11-03 19:25:43 +13:00
e8dfd5d427 Set versionCode=36084 2022-11-03 19:22:59 +13:00
98c7fac75d Fix adding new set on fresh installs 2022-11-03 19:21:59 +13:00
4a95ed050c Fix adding new set on fresh installs 2022-11-03 19:21:19 +13:00
cafcb996e3 Set versionCode=36083 2022-11-03 19:12:19 +13:00
90fa309c09 Remove unused variable from SetList 2022-11-03 19:10:56 +13:00
09e178c5ce Fix edit set crashing on fresh installs 2022-11-03 19:10:26 +13:00
f52b1437f2 Fix edit set crashing on fresh installs 2022-11-03 19:09:50 +13:00
6f57b235d6 Merge branch 'master' into alarm-module 2022-11-03 19:01:09 +13:00
aa2d146527 Fix color detection for MassiveFab 2022-11-02 16:38:42 +13:00
a8fac1db69 Simplify adding from SetList 2022-11-02 15:46:45 +13:00
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
1d0d7c2fff Set versionCode=36082 2022-11-02 15:41:28 +13:00
2e5edb741e Fix linting issue in StartPlan 2022-11-02 15:40:25 +13:00
4873fcb653 Ran prettier 2022-11-02 15:39:17 +13:00
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
187a0fbc68 Only initialize typeorm if uninitialized 2022-11-02 15:22:57 +13:00
2aaaac1929 Fix sets added by plan not showing image 2022-11-02 14:41:30 +13:00
7b568d3b04 Format time based on setting when editing a set 2022-11-02 14:41:14 +13:00
156f1fc33f Fix button color on snackbars 2022-11-02 13:39:51 +13:00
1f513f2a03 Update phone screenshots 2022-11-02 13:39:45 +13:00
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
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
0f6102f433 Make sure undo doesn't delete old items 2022-11-02 12:51:15 +13:00
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
2a868cc9ee Add --nobuild option to install.sh 2022-11-02 12:42:50 +13:00
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
ffc0662171 Set versionCode=36081 2022-11-02 12:38:00 +13:00
0ed3b9817c Add lighter purple color option 2022-11-02 12:36:48 +13:00
2c029b5f6a Removed tests 2022-11-02 12:35:52 +13:00
18eaa9fc14 Adjust spacing of SettingsPage 2022-11-02 12:28:11 +13:00
202d34d785 Remove hard coded colors in MassiveFab 2022-11-02 12:26:46 +13:00
07a3d240ea Set versionCode=36080 2022-11-01 20:12:48 +13:00
7a97b11e79 Remove React import from SetList 2022-11-01 20:01:04 +13:00
306f13214a Remove --quiet from lint script 2022-11-01 20:00:51 +13:00
58b2990ab2 Ran lint fix on migrations 2022-11-01 20:00:24 +13:00
0a2e0086b3 Add import React to App.tsx
Paper seemed to complain about it for some reason.
I thought one of the parts of using Hermes meant
I didn't need to import React?
2022-11-01 19:59:48 +13:00
83852b3216 Apply eslint rules to js files 2022-11-01 19:59:33 +13:00
6a4d167e08 Fix error editing a workout 2022-11-01 19:25:05 +13:00
e9c2ee743e Make purple the default primary color 2022-11-01 19:22:34 +13:00
949b435853 Split up state for SettingsPage
This improved performance when visually
toggling an option
2022-11-01 18:58:09 +13:00
6ac84d1d32 Fix mock-providers.tsx 2022-11-01 18:30:23 +13:00
6d49cbcc80 Remove redundant code from Routes.tsx 2022-11-01 16:55:36 +13:00