Commit Graph

321 Commits

Author SHA1 Message Date
1ff6a87155 Update names list after re-ordering - 1.174 🚀
Closes #183
2023-11-12 11:28:30 +13:00
9cbe261938 Fix error creating new plans - 1.173 🚀 2023-11-11 00:15:30 +13:00
813928bdd3 Add permissions checks to SettingsPage - 1.172 🚀
Related to #177
2023-11-10 12:54:35 +13:00
6754e2a8ae Add two, three and six months to graphs - 1.171 🚀 2023-11-09 14:31:24 +13:00
2e96398b38 Enable re-ordering of workouts in EditPlan - 1.170 🚀
Closes #176
2023-11-09 13:01:05 +13:00
8a88c8e7af Make charts smooth and curvy - 1.169 🚀 2023-11-06 23:08:36 +13:00
43ab666540 Make it easier to read old sets on ViewSetList - 1.168 🚀
Now sets alternate background color based on the day
they were entered.
2023-11-06 15:29:23 +13:00
744ed928f0 Fix timer page flashing 00:00 on first navigate 2023-11-04 13:53:19 +13:00
347423698d Fix navigating to view graph from start plan - 1.167 🚀 2023-10-27 17:23:27 +13:00
7ea91eeca9 Add most active hours of the day to insights - 1.166 🚀 2023-10-26 21:36:32 +13:00
2428a51a02 Fix ViewWeightGraph - 1.165 🚀 2023-10-26 20:45:50 +13:00
805f982ccf Add graph button to start plan - 1.164 🚀 2023-10-24 16:24:56 +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
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
c88642b2ef Fix home page adding sets - 1.160 🚀 2023-10-18 10:45:40 +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
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
ec72824e3c Check for existence of plans and workouts - 1.154 🚀 2023-08-29 11:58:15 +12:00
4b1bbf2395 Refresh set list on focus if offset is zero - 1.153 🚀 2023-08-29 11:43:10 +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
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
331597e3ee Add increment/decrement buttons to reps/weight - 1.148
Closes brandon.presley/Massive#164
2023-08-14 13:32:10 +12:00
af96ec8507 Validate numbers in EditWorkout - 1.147 2023-08-12 15:41:32 +12:00
158dd61668 Prevent sets dissapearing after updating - 1.146
Previously we would always update the created
field by making a new Date object, even if
the user didn't pick a new date. On some
devices this might slightly change the time
of the day, meaning it jumps somewhere else
on the home page.
2023-07-27 13:31:50 +12:00
85915b9aa0 Retrieve last set when running a plan - 1.145
Closes brandon.presley/Massive#162

We should just keep it simple and get the most recent set instead of
trying to figure out what the best kind of maximum would be.
2023-07-23 13:59:11 +12:00
556347e632 Include date picker for new sets - 1.144
Not sure why I had this hidden,
probably made sense in the earlier
versions of this app.
2023-07-17 18:52:38 +12:00
9dc188e6ec Remove duplicated permission in AndroidManifest
Also add something to remove the "advertising ID"
or whatever the hell that means. (Thanks google?)
2023-07-17 18:43:15 +12:00
514efc6467 Upgrade react-native to 0.72.1
This unfortunately has broken the unit tests.
Will have to worry about fixing them later.
Everything seems to be working other
than that.
2023-07-07 13:17:19 +12:00
0beb1397a6 Hide play button from new plans - 1.143
It doesn't make sense to start a plan
that hasn't been created yet.
2023-07-04 11:20:07 +12:00
a5b6673e9a Don't auto-focus weight when editing a set - 1.142
I find myself opening up a set often to
just read the fields rather than changing
anything.
It makes sense to auto-focus the name for
a brand new set, since it's required and
typically what you first fill out.
2023-06-29 16:31:15 +12:00
6a7bd632e5 Add delete database button - 1.141
Semi-related to brandon.presley/Massive#160
If a user manages to import a database that ultimately
breaks the app elsewhere, deleting the database is a nice
tool to try and fix things.
2023-06-29 15:34:14 +12:00
23ed95dcdb Reduce debug logging in ViewBest - 1.140 2023-06-24 13:06:35 +12:00
bdd5e23f32 Change date formats to be day/month instead of month/day - 1.139
Also added the ISO one yyyy-mm-dd, time.
Closes #157.
2023-06-18 11:36:35 +12:00
9c9a5fdd63 Trim search queries - 1.138
Closes #156
2023-06-13 14:18:49 +12:00
90db607190 Easily swap between edit/start for plans - 1.137 2023-03-28 12:20:32 +13:00
db5cc566ea Remove double permissions request and fix import - 1.136 2023-03-27 14:45:28 +13:00
76e5aeacfd Choose directory when backing up automatically - 1.135
Related to #146.
2023-03-27 14:34:17 +13:00
288ae1ae0c Disable timers if rest time is set to zero - 1.134 2023-03-24 19:16:35 +13:00
0e7920bde9 Show a toast when EACCESS from backing up - 1.133
I don't like having a bunch of backups saying
massive (x).db. Also this masks the issue of permissions,
which is easily fixed by deleting/moving the old massive.db.
2023-03-24 17:51:16 +13:00
d2a1c432bb Handle EACCESS in BackupModule 2023-03-24 17:43:28 +13:00
5dd569ef72 Upgrade to react-native 0.70.2 - 1.132 2023-03-21 17:09:24 +13:00
79a48b1e47 Run automatic backups after database imports - 1.131 2023-03-09 18:48:32 +13:00
13b340f5be Add setting to automatically backup - 1.130
Every day at 6am (also immediately when toggled)
we will copy the massive.db file to the Download
directory.
2023-03-09 17:16:08 +13:00