5115055280
Reword MassiveX as AppX
2022-12-29 13:57:19 +13:00
533b21a907
Remove csv import/export
...
This is replaced with the backup/restore feature in Settings page.
- Not sure anybody is using this besides me for testing purposes
- Backing up the entire SQLite database is faster than CSV conversion
- This prevents missing data and will work nicely with future plan
changes
Closes #128
2022-12-08 14:51:34 +13:00
521fa0e9d3
Remove margins from buttons
...
These were for my ios testing, which I might
add back in later.
2022-11-30 18:14:34 +13:00
e03101f673
Use document picker images type
...
This hopefully works on ios as well.
2022-11-21 18:44:12 +13:00
ef637d3e56
Add larger button margin to save on EditWorkout
2022-11-21 18:37:19 +13:00
ae84228913
Remove showSets setting
2022-11-05 17:31:18 +13:00
f9449a9860
Fix default new sets
2022-11-04 16:02:06 +13:00
6a4d167e08
Fix error editing a workout
2022-11-01 19:25:05 +13:00
31f1528c35
Replace settings context with theme context
...
The settings context was having a big performance
impact on the app. We only truly need the theme + color
to be a global context.
2022-11-01 16:50:03 +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
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
e6dcd4a47e
Use hermes engine
...
https://reactnative.dev/docs/hermes
2022-10-28 18:36:47 +13:00
80b1a1ef56
Fix single views for new custom headers
2022-10-23 19:13:58 +13:00
77db34b310
Add toggle for hiding maximum set count
...
Closes #90
2022-10-16 16:54:20 +13:00
9bd8fa9353
Replace height percent setting with flex: 1
...
This way reacts better to changing the screen sizes.
I think there was one bug where the fab wouldn't be
precisely at the bottom of the page depending on the
flat list length.
2022-10-14 18:12:21 +13:00
46f0875497
Create useSnackbar custom hook
2022-10-14 17:27:19 +13:00
e2c790870b
Hide rest settings in workouts when alarms are off
...
Closes #83
2022-10-04 14:46:15 +13:00
76a3584dbb
Hide workout images based on setting
...
Closes #80
2022-10-01 16:30:29 +13:00
b0b804eae1
Use react context for settings
...
Closes #81
2022-10-01 16:01:07 +13:00
4d219581d0
Use lambdas for submit editing in EditWorkout
...
For some reason the next ref wouldn't get focused
if I passed the functions without wrapping in a lambda.
2022-09-30 15:16:56 +13:00
71c358a532
Move cursor to next input for workouts editing
2022-09-30 15:14:53 +13:00
de4574cac2
Set defaults for workout
...
Closes #64
2022-09-27 17:42:41 +13:00
86509eb211
Prevent commas and single quotes from being entered
...
Closes #60
2022-09-27 17:41:31 +13:00
efbe1a5b1e
Change icon for image button on new workout
2022-09-27 12:56:17 +13:00
2dd2ced21d
Auto focus name for editing a workout
...
Closes #57
2022-09-25 23:40:38 +13:00
3509aa93f3
Add setting to hide steps
2022-09-24 17:29:52 +12:00
8e674ce993
Fix sets not showing when editing a workout
2022-09-24 17:15:44 +12:00
fa56d48c25
Remove redundant fetching of workout in EditWorkout
2022-09-24 14:48:52 +12:00
462c42cfb7
Fix editing new workout
...
Closes #39
2022-09-24 14:16:33 +12:00
14d71fec8b
Remove workouts table in favor of storing steps on sets
2022-09-23 13:52:33 +12:00
85dd2b6d17
Move rest timer and sets per session settings to Workouts
...
Closes #32
2022-09-21 11:50:20 +12:00
643fbf94a4
Disable save button when EditWorkout has no name
2022-09-20 16:05:23 +12:00
e308993566
Use gestures instead of buttons for EditWorkout image
...
Closes #31
2022-09-19 14:58:08 +12:00
d05c815a79
Add change image button and fix margin in workout
...
Closes #26 , #27 .
2022-09-19 13:20:24 +12:00
eddad49719
Add button to remove image from a workout
...
Closes #21
2022-09-18 18:15:58 +12:00
cb446be7b0
Add steps to workouts
...
Closes #15
2022-09-18 18:08:09 +12:00
2027b0f66a
Streamline selection of image for workout
2022-09-16 21:20:10 +12:00
052d000e12
Make padding & margin consistent everywhere.
2022-09-16 21:07:02 +12:00
03e284ed87
Fix editing a workouts image
2022-09-10 19:02:16 +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
909d54d6c9
Make image bigger in EditWorkout
2022-09-02 12:46:04 +12:00
9006cc0dea
Add script to organize all imports
2022-09-02 12:33:53 +12:00
756a2089e9
Prevent race condition with database migrations
2022-08-30 23:21:25 +12:00
0b8b005507
Remove disabled input from EditWorkout
2022-08-30 20:22:20 +12:00
f6dec0c3b2
Add images to sets
2022-08-28 20:55:12 +12:00
925138d6dc
Remove unused dependencies
2022-08-28 20:20:58 +12:00