Commit Graph

330 Commits

Author SHA1 Message Date
Brandon Presley 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
Brandon Presley b46f6c8d64 Upgrade react-native 2022-09-17 00:46:17 +12:00
Brandon Presley 0bc92e1539 Add snackbar for images setting 2022-09-16 21:38:37 +12:00
Brandon Presley 55df27455a Always display snackbars for their intended durations 2022-09-16 21:37:44 +12:00
Brandon Presley e0a516c182 Set versionCode=36012 2022-09-16 21:23:27 +12:00
Brandon Presley 2027b0f66a Streamline selection of image for workout 2022-09-16 21:20:10 +12:00
Brandon Presley 052d000e12 Make padding & margin consistent everywhere. 2022-09-16 21:07:02 +12:00
Brandon Presley 8e5519c686 Add husky for pre-commit hooks 2022-09-11 15:51:58 +12:00
Brandon Presley 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
Brandon Presley d4e8bd84d1 Set versionCode=36011 2022-09-11 15:45:42 +12:00
Brandon Presley c6646a85fe Fix typescript error in WorkoutList 2022-09-11 15:44:44 +12:00
Brandon Presley 5177a79b5c Search settings page case insensitively 2022-09-11 15:41:15 +12:00
Brandon Presley 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
Brandon Presley 1a83b20069 Reduce redundancy of SettingsPage 2022-09-11 15:22:18 +12:00
Brandon Presley 0f9ed2257b Fix showing new workout image in workouts list 2022-09-11 15:06:00 +12:00
Brandon Presley 03e284ed87 Fix editing a workouts image 2022-09-10 19:02:16 +12:00
Brandon Presley d5c97b45b0 Revert "Show count when adding a new set"
This reverts commit 4aa91253a1.
2022-09-09 15:32:47 +12:00
Brandon Presley 4aa91253a1 Show count when adding a new set 2022-09-08 22:33:32 +12:00
Brandon Presley 3abc4da861 Make countdownTimer nullable in TimerService 2022-09-08 22:32:48 +12:00
Brandon Presley 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
Brandon Presley 63049eed52 Set versionCode=36010 2022-09-04 17:33:52 +12:00
Brandon Presley 4b35a526b4 Fix error on editing plan 2022-09-04 17:33:05 +12:00
Brandon Presley 597aa15110 Undo the attempt at styling the README.md 2022-09-04 17:21:46 +12:00
Brandon Presley 95c9836434 Center get it on X badges 2022-09-04 17:20:39 +12:00
Brandon Presley 74387c92b1 Wrap get it on X badges with a div 2022-09-04 17:19:22 +12:00
Brandon Presley b460d35eca Add a few relevant documentation links to README 2022-09-04 17:15:20 +12:00
Brandon Presley f9b7d0d565 Reword title of fdroid metadata section in README 2022-09-04 17:09:50 +12:00
Brandon Presley 0a5173d5a1 Add reference to fdroiddata in README 2022-09-04 17:09:08 +12:00
Brandon Presley 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
Brandon Presley 91d0cbaed8 Set versionCode=36009 2022-09-04 17:05:28 +12:00
Brandon Presley e3b3c6ca09 Split out database logic into service files 2022-09-04 16:56:46 +12:00
Brandon Presley 76e0ea49b4 Fix showing best records 2022-09-04 16:35:40 +12:00
Brandon Presley 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
Brandon Presley 259d36d67f Move all database operations into db.ts 2022-09-04 15:28:21 +12:00
Brandon Presley 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
Brandon Presley 87b807336a Remove comments from tsconfig
Use https://www.typescriptlang.org/tsconfig for tsconfig
documentation instead.
2022-09-04 14:04:42 +12:00
Brandon Presley 4f5f6d1ea1 Update screenshots 2022-09-03 18:57:16 +12:00
Brandon Presley 2a880b2587 Specify how metro works in README 2022-09-03 18:53:03 +12:00
Brandon Presley fcf8748b70 Reword building from source section of README 2022-09-03 18:52:11 +12:00
Brandon Presley f5e7d51838 Add another newline in README.md 2022-09-03 18:46:14 +12:00
Brandon Presley 4e408fd2cf Add newline before fdroid badge on README 2022-09-03 18:45:56 +12:00
Brandon Presley 117ba17c07 Reorganize README 2022-09-03 18:45:38 +12:00
Brandon Presley 2c4d5f35d1 Reformat readme 2022-09-03 18:45:16 +12:00
Brandon Presley 859b2f4b79 Reformat README.md 2022-09-03 18:44:55 +12:00
Brandon Presley 41d2c8e144 Add fdroid shields badge 2022-09-03 18:17:41 +12:00
Brandon Presley 8266875576 Add "Get it on Fdroid" badge 2022-09-03 18:13:36 +12:00
Brandon Presley 61b263edcc Remove created field from EditSet update 2022-09-03 15:43:03 +12:00
Brandon Presley 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
Brandon Presley 67a30a2360 Prevent errors when no sets are recorded today 2022-09-03 14:50:54 +12:00
Brandon Presley 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