Commit Graph

473 Commits

Author SHA1 Message Date
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
4b35a526b4 Fix error on editing plan 2022-09-04 17:33:05 +12:00
597aa15110 Undo the attempt at styling the README.md 2022-09-04 17:21:46 +12:00
95c9836434 Center get it on X badges 2022-09-04 17:20:39 +12:00
74387c92b1 Wrap get it on X badges with a div 2022-09-04 17:19:22 +12:00
b460d35eca Add a few relevant documentation links to README 2022-09-04 17:15:20 +12:00
f9b7d0d565 Reword title of fdroid metadata section in README 2022-09-04 17:09:50 +12:00
0a5173d5a1 Add reference to fdroiddata in README 2022-09-04 17:09:08 +12:00
c978e4b7f1 Remove deploy.sh from .gitignore and add deploy.sh
Not sure why I had this ignored to begin with.
2022-09-04 17:05:44 +12:00
91d0cbaed8 Set versionCode=36009 2022-09-04 17:05:28 +12:00
e3b3c6ca09 Split out database logic into service files 2022-09-04 16:56:46 +12:00
76e0ea49b4 Fix showing best records 2022-09-04 16:35:40 +12:00
e483187338 Remove all loading logic
SQLite is so fast the spinners only mislead the user into thinking
these operations take long. They are practically instant.
2022-09-04 16:30:02 +12:00
259d36d67f Move all database operations into db.ts 2022-09-04 15:28:21 +12:00
607f83955d Replace react context with let statement in db.ts
1. I can't easily import context with my editor.
2. It's extra complexity everyone has to understand.
3. I hate the antichrist.
2022-09-04 14:05:25 +12:00
87b807336a Remove comments from tsconfig
Use https://www.typescriptlang.org/tsconfig for tsconfig
documentation instead.
2022-09-04 14:04:42 +12:00
4f5f6d1ea1 Update screenshots 2022-09-03 18:57:16 +12:00
2a880b2587 Specify how metro works in README 2022-09-03 18:53:03 +12:00
fcf8748b70 Reword building from source section of README 2022-09-03 18:52:11 +12:00
f5e7d51838 Add another newline in README.md 2022-09-03 18:46:14 +12:00
4e408fd2cf Add newline before fdroid badge on README 2022-09-03 18:45:56 +12:00
117ba17c07 Reorganize README 2022-09-03 18:45:38 +12:00
2c4d5f35d1 Reformat readme 2022-09-03 18:45:16 +12:00
859b2f4b79 Reformat README.md 2022-09-03 18:44:55 +12:00
41d2c8e144 Add fdroid shields badge 2022-09-03 18:17:41 +12:00
8266875576 Add "Get it on Fdroid" badge 2022-09-03 18:13:36 +12:00
61b263edcc Remove created field from EditSet update 2022-09-03 15:43:03 +12:00
ee6cef63ee Remove date editing from SetForm
It looks so messy, and adding libraries to deal with dates
is simply bloat.
2022-09-03 15:26:10 +12:00
67a30a2360 Prevent errors when no sets are recorded today 2022-09-03 14:50:54 +12:00
7a7c8b20b9 Prioritize todays workout over the last set
When predicting the next set, if one set is from a previous workout,
rather than switching to that workout we should start todays plan
instead.
2022-09-03 14:48:56 +12:00
2729f86fb3 Put rest minutes & seconds on the same row 2022-09-02 14:01:25 +12:00
e316a7a42f Rename "Best volume per day" to "Volume per day" 2022-09-02 13:55:18 +12:00
909d54d6c9 Make image bigger in EditWorkout 2022-09-02 12:46:04 +12:00
40d4fac658 Set versionCode=36008 2022-09-02 12:34:55 +12:00
9006cc0dea Add script to organize all imports 2022-09-02 12:33:53 +12:00
da936c7799 Add picker for best charts 2022-09-02 12:24:28 +12:00
6c728b7bfd Run prettier on project directory 2022-09-01 23:52:33 +12:00