228fc212bf
Reduce logging in DrawerMenu
...
If a console.log is so long my terminal history can't
scroll backward, then it's probably too much logging...
2022-12-06 12:28:31 +13:00
c50dc4aacf
Fix uploading and downloading sets on ios
...
Just need to now use a library for notifications
instead of my native DownloadModule
2022-11-22 22:16:14 +13:00
008667c3a2
Disable download/upload on ios
2022-11-16 18:48:07 +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
bc7aca03e8
Remove semicolons from line endings
2022-10-31 17:22:08 +13:00
e7321b6d8e
Add typeorm migrations
2022-10-31 17:05:31 +13:00
b7f1c2192e
Pause converting to typeorm due to odd error
...
ERROR TypeError: Cannot read property 'getItem' of undefined
This error is located at:
in FlatList (created by SetList)
in RCTView (created by View)
in View (created by Page)
in Page (created by SetList)
in SetList (created by SceneView)
...
I found an open issue on the react-native github which seems
related https://github.com/facebook/react-native/issues/31523
but after following all of their suggestions I still have the
same error. I tried:
- Removing @babel/plugin-proposal-class-properties & @babel/plugin-transform-flow-strip-types
- Adding @babel/plugin-transform-flow-strip-types
2022-10-31 13:20:36 +13:00
8ad6189dfc
Fix colors on header bar for light theme
2022-10-30 15:42:43 +13:00
992b3d0ba6
Fix unit sometimes exporting as the string 'null'
2022-10-30 15:14:57 +13:00
e6dcd4a47e
Use hermes engine
...
https://reactnative.dev/docs/hermes
2022-10-28 18:36:47 +13:00
46f0875497
Create useSnackbar custom hook
2022-10-14 17:27:19 +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
39fafa353f
Split out some type definitions into their own files
2022-09-24 18:47:31 +12:00
32776a5217
Include sets, minutes and seconds in importing/exporting sets
2022-09-23 14:06:23 +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
e3b3c6ca09
Split out database logic into service files
2022-09-04 16:56:46 +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
756a2089e9
Prevent race condition with database migrations
2022-08-30 23:21:25 +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
537a1b960d
Show notification on file downloads
...
Closes #4
2022-08-25 20:00:10 +12:00
2c9242b03f
Use react-native-paper snackbar instead of ToastAndroid
2022-08-25 13:01:01 +12:00
c0b6ba8606
Move uploading/downloading/deleting into the top bar
2022-07-19 16:24:16 +12:00