Commit Graph

1083 Commits

Author SHA1 Message Date
805f982ccf Add graph button to start plan - 1.164 🚀 2023-10-24 16:24:56 +13:00
ab107793e4 Change style of weight items
- Make them smaller
- Bold+underline current day weight
2023-10-24 16:16:59 +13:00
cb5aa72552 Submit weight after entering value 2023-10-24 16:16:42 +13:00
28250f1862 Only get set options once for EditSet menu 2023-10-21 14:45:20 +13:00
80dc5d2b63 Make start plan increment buttons hover - 1.163 🚀 2023-10-21 14:43:38 +13:00
a35aba7b97 Add select button to EditSet - 1.162 🚀
Closes #173
2023-10-21 13:24:14 +13:00
ff7cd2fe54 Add weight page 2023-10-21 11:57:31 +13:00
7928cab4c1 Swap to using MaterialCommunityIcons 2023-10-19 18:28:56 +13:00
12dfa923e5 Add delete button to edit set - 1.161 🚀 2023-10-19 17:58:34 +13:00
38167a47b9 Add log to plan list 2023-10-19 17:47:22 +13:00
b508df0680 Emit event after saving many sets 2023-10-19 17:40:55 +13:00
a3b376badb Use events for gym set CRUD 2023-10-18 19:06:13 +13:00
cfcc15600c Prevent workouts jitter 2023-10-18 13:18:32 +13:00
44184516f7 Change ViewGraph defaults to ORM > Best > Volume 2023-10-18 12:46:34 +13:00
c88642b2ef Fix home page adding sets - 1.160 🚀 2023-10-18 10:45:40 +13:00
4cca538d74 Fix listing workouts from plan page 2023-10-18 10:17:50 +13:00
90006d3b82 Only show loading on GraphsList on pull-down 2023-10-18 09:59:46 +13:00
22f5f3c9ee Only show loading on pull-down for SetList 2023-10-18 09:56:09 +13:00
b4f6f12b1a Update bundle 2023-10-14 14:31:59 +13:00
edf54d047e Fix production error with undefined settings - 1.159 🚀 2023-10-14 10:56:46 +13:00
9867dee514 Simplify explanation toast for sound disabling - 1.158 🚀 2023-10-14 10:50:58 +13:00
57883266b8 Hide rest timers on Workouts when alarms are off
Closes #172.
2023-10-14 10:46:22 +13:00
adbc87f462 Prevent list jitter on graphs - 1.157 🚀
If we always refresh on focus then we will
be making many redundant requests, as well as
causing the list to jump around whenever we
navigate back/forward.
The only downside to this is occasionally the
data may be stale, however the user can just
pull down on the list to refresh.

Closes #165
2023-09-07 16:52:50 +12:00
07cb634883 Use plan title if one is set - 1.156 🚀
Closes #170
2023-09-07 14:51:38 +12:00
c480d3e382 Replace usage of deprecated DeviceEventEmitter - 1.155 🚀 2023-09-04 14:32:40 +12:00
c9773af92d Add profiles dir to gitignore 2023-09-04 14:15:53 +12:00
9ae311b94a Toggle selecting all for Plans and Workouts 2023-09-04 13:59:35 +12:00
ec72824e3c Check for existence of plans and workouts - 1.154 🚀 2023-08-29 11:58:15 +12:00
0ba7616ea2 Prevent empty graphs flickering
If `bests` is always an empty array then our logic
for detecting zero graphs is wrong. Now when we haven't
loaded any data `bests` is undefined instead of []
2023-08-29 11:55:21 +12:00
4b1bbf2395 Refresh set list on focus if offset is zero - 1.153 🚀 2023-08-29 11:43:10 +12:00
7eabe63198 Fix offset in GraphsList 2023-08-29 11:30:25 +12:00
386a9a7bb2 Pass whole updated set instead of just its id
Since we already have the whole updated set,
might as well pass it around instead of
re-fetching it.
2023-08-29 11:25:05 +12:00
103ae5587d Add missing keyExtractors 2023-08-29 11:22:15 +12:00
da72692616 Add missing keyExtractor to SetList 2023-08-29 11:17:14 +12:00
f1e8988e56 Fix multi-edit sets navigation 2023-08-28 18:14:52 +12:00
6b524dce34 Revert "Change way we detect set updates"
This reverts commit 185ebd1824.
2023-08-28 18:12:15 +12:00
82234a30a8 Reload specific set when edited 2023-08-28 18:11:03 +12:00
185ebd1824 Change way we detect set updates
Every time we create/update/delete fire a DeviceEventEmitter
event for gym sets. Then we subscribe to the changes in relevant
components.

Also fixed flickering of "No data yet" on graphs page.
2023-08-24 17:30:57 +12:00
f0d5fc4fa6 Fix infinite scrolling in homepage - 1.152 🚀
Also prevent flickering of "No sets found"
message on first load.

The infinite scrolling issue was a side-effect
of me messing with our memoization. Some places
didn't specify their deps properly.
2023-08-22 12:27:27 +12:00
de25cead60 Toggle selecting all - 1.151 🚀 2023-08-22 12:09:04 +12:00
a9b69638a6 Fix color of progress bar in Timer page
React native paper update made the dark theme color into RGBA
instead of hex, so adding the string '80' no longer works.
2023-08-22 12:04:47 +12:00
94a5fa4ac7 Remove track color setting from Switch
This must have been considered a bug in the
React Native Paper codebase, but this was me fixing
the track color being wrong when system theme and app
theme weren't the same.
2023-08-22 11:53:12 +12:00
1367f74280 Fix README reference to old build outputs
Also removed the relevant docs section.
2023-08-22 11:47:08 +12:00
a294b76a4e Add rocket ship to release commits 🚀 2023-08-22 11:44:24 +12:00
24fd687856 Add custom event for settings being updated - 1.150
When we used navigation params to decide whether
or not to update the SetList, we broke reacting to
settings changes. This is because we used to update settings
whenever the user navigated to the page.
2023-08-22 11:43:35 +12:00
bd9746bddb Remove yarn lint from deploy.sh - 1.149 2023-08-22 10:03:09 +12:00
dd609a20e5 Fix navigation after adding a set 2023-08-22 10:00:13 +12:00
d2cad451fe Add migration for title 2023-08-22 09:58:48 +12:00
2a6ba3b36a Undo change to plans migration
Correct migration files should never be updated.
For more information on how database migrations
work in TypeORM: https://orkhan.gitbook.io/typeorm/docs/migrations
2023-08-22 09:58:00 +12:00
0c5562a2f1 Merge branch 'master' of https://gitea.presley.nz/Nuice/Massive into Nuice-master 2023-08-22 09:51:46 +12:00