1b9d35d71e
Reduce logging of SetList
2022-11-21 18:07:02 +13:00
f9449a9860
Fix default new sets
2022-11-04 16:02:06 +13:00
ba61e79808
Fix error loading set for adding
2022-11-04 15:51:58 +13:00
1110ccb741
Fix deleting first record bug
2022-11-03 21:58:10 +13:00
98c7fac75d
Fix adding new set on fresh installs
2022-11-03 19:21:59 +13:00
90fa309c09
Remove unused variable from SetList
2022-11-03 19:10:56 +13:00
a8fac1db69
Simplify adding from SetList
2022-11-02 15:46:45 +13:00
7a97b11e79
Remove React import from SetList
2022-11-01 20:01:04 +13:00
af9dcd0b13
Pass missing settings to SetItem from SetList
2022-11-01 16:54:14 +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
b782d66bf2
Fix adding new set from homepage
2022-10-31 20:59:40 +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
992b3d0ba6
Fix unit sometimes exporting as the string 'null'
2022-10-30 15:14:57 +13:00
6e75614d10
Add basic working unit tests
2022-10-30 12:56:58 +13:00
463852e6a6
Prevent double searching everywhere
...
Also change variable names. Search should represent the
act of searching, rather than the value being typed by the user.
2022-10-28 18:59:54 +13:00
3d591f4618
Prevent searching twice on homepage first load
2022-10-28 18:41:17 +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
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
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
52f8241054
Prevent flickering of empty lists on slow devices
2022-10-13 16:30:02 +13:00
636bfa35a4
Remove dates toggle from set item
...
This feature exists in the settings page,
so duplicating it here might be confusing to users.
2022-10-12 14:10:59 +13:00
3cbabb723a
Add sessions page
...
Related to #82
2022-10-05 23:38:52 +13:00
c1f5f62145
Add format to next page
2022-10-03 00:55:36 +13:00
93878f14e4
Fix image on new set prediction
2022-10-02 19:07:52 +13:00
ba3ed2a272
Revert "Revert "Add setting for showing date by default""
...
This reverts commit e1b7e80e2f
.
2022-10-02 18:07:43 +13:00
b0b804eae1
Use react context for settings
...
Closes #81
2022-10-01 16:01:07 +13:00
794504dee0
Use latest image for new sets
...
Previously, it would use the image from the best ranked set.
2022-10-01 15:36:30 +13:00
c8cedef8fb
Clear old workouts when predicting new set
...
Closes #73
2022-09-30 17:07:26 +13:00
c41b8438d3
Prevent counting hidden sets for prediction
...
Closes #71
2022-09-30 13:00:27 +13:00
374cbdf45d
Add set prediction settings
...
Closes #51
2022-09-29 14:44:01 +13:00
80553234bd
Revert "Show dates when searching for a set"
...
This reverts commit 7d532298b1
.
Actually prefer this being manual. Otherwise we might mess with
users who don't want the dates to be showing.
2022-09-28 14:07:06 +13:00
64d046fe8f
Simplify set prediction by returning early
2022-09-28 14:06:51 +13:00
7d532298b1
Show dates when searching for a set
...
When someone is looking for their history of an exercise,
they need when each set was entered as context. Otherwise
it is too hard to figure out which set is from when. Especially
if the sets are all the same or similar.
Closes #63
2022-09-27 17:44:43 +13:00
e1b7e80e2f
Revert "Add setting for showing date by default"
...
This reverts commit e8715162a0
.
2022-09-26 19:13:24 +13:00
e8715162a0
Add setting for showing date by default
...
Closes #52
2022-09-26 19:02:25 +13:00
235b806eeb
Fix counting current progress in a workout
2022-09-25 19:06:16 +13:00
1ee95021b9
Reduce logging in SetList
2022-09-25 18:12:42 +13:00
063425cd82
Use sql for counting todays sets in predictions
2022-09-25 18:05:15 +13:00
71d223f0a1
Add current workout progress to title of set editing
...
Related to #48
Should be thoroughly tested before closing.
2022-09-24 19:09:58 +12:00
39fafa353f
Split out some type definitions into their own files
2022-09-24 18:47:31 +12:00
f320d16c4b
Fix adding new set with no plan
...
Closes #36
2022-09-22 14:38:33 +12:00
0bc644a1ba
Add setting to show/hide unit field
...
Closes #34
2022-09-21 13:51:29 +12:00
85dd2b6d17
Move rest timer and sets per session settings to Workouts
...
Closes #32
2022-09-21 11:50:20 +12:00
1bd05e1c20
Add padding to bottom of list pages
2022-09-20 16:17:01 +12:00
e19b4aa84a
Make several logs one liners in SetList
2022-09-19 14:52:06 +12:00