4303fe2cc4
Use deno fmt instead of prettier
2023-06-27 15:16:59 +12:00
c9b1ab1f9d
Change default reps/weight for starting a plan - 1.128
...
Previously we used the globally best reps+weight
set by default. More commonly we build up to our
last best working set. People can still check out
their best sets on the best page.
Closes #153
2023-03-02 19:11:24 +13:00
a1440b680f
Fix ripple color for dark theme
2022-12-15 16:43:00 +13:00
2e347deb53
Add ability to edit/delete multiple sets/plans
2022-12-13 22:54:37 +13:00
d8eeac66ab
Fix starting plan without selecting an item
2022-12-03 22:29:45 +13:00
b14d20f1f4
Prevent animation when navigating to plan
...
Closes #124 .
2022-12-03 22:13:35 +13:00
f91d529f39
Add copy feature for plans
...
Long tap an existing plan, then press copy.
This will bring up a new plan to add with all
the same workouts/days as the one you have
copied.
2022-11-02 13:02:08 +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
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
e6dcd4a47e
Use hermes engine
...
https://reactnative.dev/docs/hermes
2022-10-28 18:36:47 +13:00
1a43f41170
Refresh current day for Plans on focus
...
Closes #85
2022-10-13 11:25:23 +13:00
05a7747f05
Add divider before delete button on plan
2022-10-12 14:53:05 +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
9849ef6834
Fix icons on long press menus
2022-09-27 13:35:27 +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
85dd2b6d17
Move rest timer and sets per session settings to Workouts
...
Closes #32
2022-09-21 11:50:20 +12:00
0cee774136
Prevent empty plans from being created
2022-09-18 18:45:05 +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
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
e72cdc8db7
Make plans use stack navigation
2022-07-11 12:28:30 +12:00
4faad97c13
Add missing deps to callbacks
2022-07-10 11:54:23 +12:00
cba57e6e64
Use callbacks everywhere
2022-07-10 11:51:52 +12:00
b12b41b77e
Factor out MassiveFab
2022-07-08 14:59:19 +12:00
29200cf248
Use switches for plan editing
2022-07-07 16:17:55 +12:00
1d68ba86f5
Remove useFocusEffect
...
It was lagging the app out.
2022-07-07 15:13:44 +12:00
570b43715f
Ensure only one connection to SQLite exists
2022-07-07 14:18:38 +12:00
43405269df
Add half completed Plans
2022-07-06 17:40:53 +12:00