Commit Graph

37 Commits

Author SHA1 Message Date
f778426aba Run prettier
Something happened with the deno formatter,
I can't remember what! Hahahahahaahahaha
2023-08-12 15:23:02 +12:00
1603496424 Rework Best -> Graphs
I was considering adding weight tracking,
so then this graph page would include body
weight graphs. Meaning it's not really
recording the "best" of anything.
It currently only shows the best on the list
page anyway.
2023-07-04 11:35:52 +12:00
4303fe2cc4 Use deno fmt instead of prettier 2023-06-27 15:16:59 +12:00
80f2dfdff5 Improve performance of Routes.tsx 2023-01-01 18:05:11 +13:00
f48124123c Delete unused variable from Routes.tsx 2022-12-30 20:29:47 +13:00
a9000898f3 Replace children with title for Switch
Apparently, the children prop makes React.memo
not work any more. I read about it in
https://stackoverflow.com/questions/53074551/when-should-you-not-use-react-memo
2022-12-30 19:49:54 +13:00
87233f34a8 Hide timer on ios 2022-11-16 18:48:37 +13:00
fcce1ad9ef Add native events to communicate the running timer
Closes #99
2022-11-03 20:04:15 +13:00
6d49cbcc80 Remove redundant code from Routes.tsx 2022-11-01 16:55:36 +13:00
49b5eb48c6 Refactor MassiveSnack
Instead of using a context for the whole app
use DeviceEventEmitter with root state.
This will probably improve performance,
since I think the react context was
re-rendering the entire DOM tree.
2022-11-01 15:55:37 +13:00
bdb27894f7 Optimize root context 2022-10-31 21:00:10 +13:00
bc7aca03e8 Remove semicolons from line endings 2022-10-31 17:22:08 +13:00
e6dcd4a47e Use hermes engine
https://reactnative.dev/docs/hermes
2022-10-28 18:36:47 +13:00
36e6637ba2 Revert "Revert "Add custom app bar""
This reverts commit e84dd7bdea.
2022-10-23 12:35:58 +13:00
e84dd7bdea Revert "Add custom app bar"
This reverts commit a664b65ce2.
2022-10-23 12:32:44 +13:00
a664b65ce2 Add custom app bar
The header bar provided by react-navigation was jumping on first
load, whereas this custom one doesn't.
2022-10-23 12:24:39 +13:00
e0b84af9e7 Move sessions page functionality onto Plan page
The sessions page mostly copied the exact same features as Plans,
which would confuse the user.
2022-10-12 14:07:48 +13:00
3cbabb723a Add sessions page
Related to #82
2022-10-05 23:38:52 +13:00
eb53d58991 Add ability to set app theme
Closes #79
2022-10-04 14:35:56 +13:00
b0b804eae1 Use react context for settings
Closes #81
2022-10-01 16:01:07 +13:00
f242f54078 Use Material icons instead of ionic icons
Some of our other icons were already Material design,
so these Ionic icons looked out of place.
2022-09-27 12:45:13 +13:00
4599da7c28 Delete Timer page
Maybe i'll try add this again if anyone wants it.
2022-09-27 11:58:49 +13:00
a20a0a1832 Add timer page
Closes #54
2022-09-26 14:38:25 +13:00
acfd0e698d Minor refactors and renaming 2022-09-25 17:49:26 +13:00
32e46c48dd Remove unused code 2022-09-24 15:29:24 +12:00
e516cdfdc0 Add ability to customize primary color
Closes #40
2022-09-24 13:57:51 +12:00
14d71fec8b Remove workouts table in favor of storing steps on sets 2022-09-23 13:52:33 +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
9006cc0dea Add script to organize all imports 2022-09-02 12:33:53 +12:00
450d488089 Move migrations to db.ts 2022-08-30 23:43:39 +12:00
756a2089e9 Prevent race condition with database migrations 2022-08-30 23:21:25 +12:00
9b8fb95559 Add workouts from plan page if none exist 2022-08-28 20:54:07 +12:00
23d8c91c69 Add workouts page
The workouts page can be used to add a new type of workout,
or to edit the name of an already existing one.
Closes #1.
2022-08-26 15:10:28 +12:00
32be938c86 Hide top drawer menu on EditPlan 2022-08-25 13:06:50 +12:00
a7dede6abc Make swiping the navigator easier 2022-08-22 18:03:33 +12:00
c0b6ba8606 Move uploading/downloading/deleting into the top bar 2022-07-19 16:24:16 +12:00
a78a22207a Split out routes 2022-07-15 16:34:06 +12:00