Brandon Presley
cc97c760bb
Give up trying to add unit tests
...
Running tests gives the following error:
TypeError: _reactNative.BackHandler.addEventListener is not a function
2022-10-29 17:16:28 +13:00
Brandon Presley
4aa62dace8
Set versionCode=36073
2022-10-28 19:05:07 +13:00
Brandon Presley
3784285695
Fix short day format
2022-10-28 19:04:05 +13:00
Brandon Presley
5a22c73834
Set versionCode=36072
2022-10-28 19:01:08 +13:00
Brandon Presley
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
Brandon Presley
3d591f4618
Prevent searching twice on homepage first load
2022-10-28 18:41:17 +13:00
Brandon Presley
e6dcd4a47e
Use hermes engine
...
https://reactnative.dev/docs/hermes
2022-10-28 18:36:47 +13:00
Brandon Presley
5441aa164b
Move registerReceiver to no avail
2022-10-28 17:31:10 +13:00
Brandon Presley
1c58dc2db1
Local broadcast receiver is not running on stop intent
2022-10-28 17:22:26 +13:00
Brandon Presley
8504f8b811
Merge branch 'master' into alarm-module
2022-10-28 16:49:39 +13:00
Brandon Presley
46dcfb96bf
Add broadcast receiver to AlarmModule
2022-10-28 16:48:29 +13:00
Brandon Presley
afbdd2fed5
Upgrade all packages
2022-10-28 16:26:03 +13:00
Brandon Presley
82888ce530
Set versionCode=36071
2022-10-28 15:50:26 +13:00
Brandon Presley
ac0af26f77
Add more date format options
...
Closes #94
2022-10-28 15:49:03 +13:00
Brandon Presley
6d6a6f7a20
Set versionCode=36070
2022-10-27 17:35:52 +13:00
Brandon Presley
859fa2a89f
Add setting to disable sound on rest timers
...
Closes #50
2022-10-27 17:28:27 +13:00
Brandon Presley
ef7342b788
Fix max sets always being 3 for plans
2022-10-27 10:32:40 +13:00
Brandon Presley
4735b1589b
Fix selection for plan starting
...
Old selection index was based on `workouts`
new one is based on the `counts`.
2022-10-27 10:07:02 +13:00
Brandon Presley
4e6de66f90
Fix query for start plan
...
If the WHERE IN query is in the first select,
then we will have no results unless the person
has already worked out today.
2022-10-27 10:01:30 +13:00
Brandon Presley
cd602cee33
Cast plan description to string
...
If it's a number, then zero doesn't display
probably because the library is checking for
truthy.
2022-10-27 10:00:47 +13:00
Brandon Presley
97827c68b2
Optimize query in StartPlan
...
Closes #98
2022-10-26 18:31:40 +13:00
Brandon Presley
3be82e0b36
Default unit on volume labels to kg
...
Closes #100
2022-10-26 18:04:33 +13:00
Brandon Presley
b19033b814
Add index to sets.created
...
Most queries will be filtering on created date
(showing todays sets, todays plans) so this
should speed up our queries.
2022-10-26 13:25:13 +13:00
Brandon Presley
21d9149498
Quit trying to move timer logic into AlarmModule
...
I just can't figure out how to make the stop button
and delete intents work.
2022-10-24 14:45:21 +13:00
Brandon Presley
c9125575cc
Set versionCode=36069
2022-10-23 19:15:56 +13:00
Brandon Presley
80b1a1ef56
Fix single views for new custom headers
2022-10-23 19:13:58 +13:00
Brandon Presley
36e6637ba2
Revert "Revert "Add custom app bar""
...
This reverts commit e84dd7bdea
.
2022-10-23 12:35:58 +13:00
Brandon Presley
48bb4a34cf
Set versionCode=36068
2022-10-23 12:33:54 +13:00
Brandon Presley
e84dd7bdea
Revert "Add custom app bar"
...
This reverts commit a664b65ce2
.
2022-10-23 12:32:44 +13:00
Brandon Presley
2d9e561908
Set versionCode=36067
2022-10-23 12:28:37 +13:00
Brandon Presley
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
Brandon Presley
149872ea7e
Set versionCode=36066
2022-10-21 18:41:04 +13:00
Brandon Presley
b95024abe0
Fix rest timers for newly edited Workouts
...
Previously if you were to add a new workout, then
add a set for that workout immediately afterwards,
the rest timers would be the default 3:30.
Now, they are the actual value set when creating the
workout.
2022-10-21 18:39:06 +13:00
Brandon Presley
4ba86be8af
Set versionCode=36065
2022-10-19 20:01:16 +13:00
Brandon Presley
3cb6e8757b
Make timer alarm have a stop button
2022-10-19 19:59:22 +13:00
Brandon Presley
88d751f13b
Set versionCode=36064
2022-10-18 21:45:16 +13:00
Brandon Presley
c73937396e
Fix defaults for freshly installed app
...
Closes #95
2022-10-18 21:43:46 +13:00
Brandon Presley
d21e7986e3
Add full screen android intent for alarm
2022-10-18 21:38:06 +13:00
Brandon Presley
dc84fa5f6c
Set versionCode=36063
2022-10-17 19:59:17 +13:00
Brandon Presley
d723bd9745
Make date color grey
...
Closes #93
2022-10-17 19:57:18 +13:00
Brandon Presley
db4f6fb482
Update phone screenshots
2022-10-16 17:34:55 +13:00
Brandon Presley
ae947d5405
Wait for data before displaying workouts on plans
...
Closes #92
2022-10-16 17:20:13 +13:00
Brandon Presley
c05a76ed1a
Set versionCode=36062
2022-10-16 17:09:46 +13:00
Brandon Presley
5d5f586f7f
Use theme colors for chart axes labels
...
Closes #89
2022-10-16 17:08:18 +13:00
Brandon Presley
d23d489ec0
Set versionCode=36061
2022-10-16 16:59:55 +13:00
Brandon Presley
6238b47e6a
Fix plan not activating on radio button press
...
If you touched the radio button instead of the workout
item itself, it wouldn't toggle.
2022-10-16 16:57:23 +13:00
Brandon Presley
77db34b310
Add toggle for hiding maximum set count
...
Closes #90
2022-10-16 16:54:20 +13:00
Brandon Presley
3714db438e
Fix max number of sets for plan
...
Previously we were trying to get the max # of sets
from our query on the number of sets completed for today.
This meant if we hadn't completed any sets today, we would
get no result for that workout.
2022-10-16 16:46:38 +13:00
Brandon Presley
f078ede58a
Get max sets for each workout in plan
...
Closes #91
2022-10-16 16:08:38 +13:00
Brandon Presley
7bd2254719
Set versionCode=36060
2022-10-16 14:39:18 +13:00