Commit Graph

297 Commits

Author SHA1 Message Date
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
Brandon Presley 2729f86fb3 Put rest minutes & seconds on the same row 2022-09-02 14:01:25 +12:00
Brandon Presley e316a7a42f Rename "Best volume per day" to "Volume per day" 2022-09-02 13:55:18 +12:00
Brandon Presley 909d54d6c9 Make image bigger in EditWorkout 2022-09-02 12:46:04 +12:00
Brandon Presley 40d4fac658 Set versionCode=36008 2022-09-02 12:34:55 +12:00
Brandon Presley 9006cc0dea Add script to organize all imports 2022-09-02 12:33:53 +12:00
Brandon Presley da936c7799 Add picker for best charts 2022-09-02 12:24:28 +12:00
Brandon Presley 6c728b7bfd Run prettier on project directory 2022-09-01 23:52:33 +12:00
Brandon Presley 6b617d974f Replace react-native imports of Text with react-native-paper 2022-09-01 23:43:53 +12:00
Brandon Presley ef2b877b49 Add date editing to Massive input 2022-09-01 13:59:06 +12:00
Brandon Presley 6c0b869377 Change selectionColor for light theme on input 2022-09-01 13:17:50 +12:00
Brandon Presley 718bb279d9 Add warning for incorrect date format 2022-09-01 13:12:39 +12:00
Brandon Presley d002930cee Style color of fab based on theme 2022-09-01 13:12:16 +12:00
Brandon Presley 137ecf4a77 Add show images setting 2022-09-01 13:06:49 +12:00
Brandon Presley 663d0f7ba4 Show images by default if they exist 2022-09-01 13:06:27 +12:00
Brandon Presley aac8bba4ec Only add Image tag to SetItem if an image exists 2022-09-01 13:05:58 +12:00
Brandon Presley d7330067bb Allow text editing of created in SetForm 2022-09-01 13:05:41 +12:00
Brandon Presley 450d488089 Move migrations to db.ts 2022-08-30 23:43:39 +12:00
Brandon Presley 756a2089e9 Prevent race condition with database migrations 2022-08-30 23:21:25 +12:00
Brandon Presley a1cd4e8080 Improve requesting app runs in background 2022-08-30 23:06:39 +12:00
Brandon Presley 81fd21be48 Stop alarm when notification is dismissed 2022-08-30 21:42:38 +12:00
Brandon Presley 26f54e43e0 Prevent errors when no sets exist yet 2022-08-30 21:41:49 +12:00
Brandon Presley 0b8b005507 Remove disabled input from EditWorkout 2022-08-30 20:22:20 +12:00
Brandon Presley f5f2388ed2 Move images in home page to the left 2022-08-29 15:20:04 +12:00
Brandon Presley 27a1f3132f Remove image view from SetForm
1. This doesn't easily fit on the screen with the keyboard open
2. It wasn't editable, while being on an edit screen, so it was
   misleading.
2022-08-29 15:19:07 +12:00
Brandon Presley 5578318ead Add images to workouts list 2022-08-29 13:45:27 +12:00
Brandon Presley f6dec0c3b2 Add images to sets 2022-08-28 20:55:12 +12:00
Brandon Presley 9b8fb95559 Add workouts from plan page if none exist 2022-08-28 20:54:07 +12:00
Brandon Presley 891d01159f Set versionCode=36007 2022-08-28 20:21:57 +12:00
Brandon Presley 925138d6dc Remove unused dependencies 2022-08-28 20:20:58 +12:00
Brandon Presley cb6fc58876 Remove ACCESS_NETWORK_STATE from apk when building
One of my libraries must be adding this, but we don't need it.
2022-08-28 20:16:29 +12:00
Brandon Presley d62e0c1df9 Fix notify on record displaying wrong on Settings 2022-08-28 19:10:01 +12:00
Brandon Presley 0b084f37ff Set version 36006 2022-08-28 17:25:31 +12:00
Brandon Presley 391f0e3c71 Fix app not loading on first install 2022-08-28 17:24:21 +12:00