af96ec8507
Validate numbers in EditWorkout - 1.147
2023-08-12 15:41:32 +12:00
f51284e4ea
Validate and fix numbers in StartPlan
2023-08-12 15:30:47 +12:00
f778426aba
Run prettier
...
Something happened with the deno formatter,
I can't remember what! Hahahahahaahahaha
2023-08-12 15:23:02 +12:00
44283fc990
Validate reps+weight on EditSet
...
Numbers shouldn't contain dashes, spaces or commas.
2023-08-12 15:22:00 +12:00
c97ba1151e
Optimize GraphsList
...
Instead of getting a list of max weights,
then looping in JS to run SQL queries for max
reps, use a subquery.
2023-08-12 15:03:31 +12:00
95681c0b3d
Save plan before starting it
...
Also after saving it makes more sense to just
navigate to PlanList instead of calling
navigation.goBack(). This way we can make sure
we have up-to-date data.
The old way would typically lead to us seeing
stale data. E.g.
1. Tap on a plan
2. Tap on edit
3. Change details of the plan
4. Press save
5. See old plan
Now when we save we instead see the original list of plans.
2023-07-31 15:54: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
e628d345ca
Reduce escaping of characters
2023-07-23 14:52:22 +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
9833752bab
Deno fmt
2023-07-20 14:55:19 +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
82da62f699
Remove unused variable from ListMenu
2023-07-17 18:39:09 +12:00
36d3de401b
Fix a few instances of react/no-unstable-nested-components
2023-07-17 18:38:28 +12:00
040d588b5a
Ignore mock-providers.tsx
2023-07-17 16:46:23 +12:00
47d4532169
Fix .eslintrc.js
2023-07-17 16:45:21 +12:00
3e41c3bbd8
Use outlined buttons instead of contained ones
...
I like them better! Ahahahahahahahahah
Bwahahahahahahahahahahahahahahahahahah
2023-07-17 16:24:09 +12:00
b776d88327
Fix snackbar color for button
2023-07-17 16:21:56 +12:00
adc2d05b2c
Add back in missing titleStyle in Select.tsx
2023-07-15 15:02:29 +12:00
c3a3e33e25
Fix install.sh script for new react-native output
...
Now they just put it in app-release.apk i guess
2023-07-15 15:02:13 +12:00
89606b9d21
Fix type errors related to upgrade
2023-07-15 14:38:46 +12:00
6dabb7049f
Upgrade all packages
2023-07-15 14:19:08 +12:00
4b42ab5f21
Upgrade react-native-paper to v5
2023-07-15 13:21:09 +12:00
a7da93583d
Upgrade to react-native 0.72.3
2023-07-15 12:16:42 +12:00
1b2cbab370
Simplify SetItem
...
It had a pointless react fragment
wrapping it's only element.
2023-07-07 13:41:48 +12:00
09354829a8
Update yarn.lock
2023-07-07 13:21:44 +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
1603496424
Rework Best -> Graphs
...
I was considering adding weight tracking,
so then this graph page would include body
weight graphs. Meaning it's not really
recording the "best" of anything.
It currently only shows the best on the list
page anyway.
2023-07-04 11:35:52 +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
4303fe2cc4
Use deno fmt instead of prettier
2023-06-27 15:16:59 +12:00
23ed95dcdb
Reduce debug logging in ViewBest - 1.140
2023-06-24 13:06:35 +12:00
8f1f9f6e7d
Ran bundle update
2023-06-22 10:26:01 +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
457134df6b
Only show share button on best view
2023-03-28 12:04:54 +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
2fb46e1dcc
Fix audio type on document picker
2023-03-27 14:01:37 +13:00
d1342c0efa
Update fastlane
2023-03-24 19:32:26 +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
dfc4f73ca4
Upgrade react-native to 0.70.6
2023-03-21 16:59:21 +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
4db820f10a
Remove DownloadModule
...
This was no longer in use
2023-03-07 18:23:38 +13:00