Commit Graph

337 Commits

Author SHA1 Message Date
3d51d4c077 Rename "Max sets" to "Sets per workout" 2022-07-21 13:54:53 +12:00
0fd414c232 Remove date from right of item 2022-07-21 13:53:34 +12:00
e191323fff Factor out EditSet and SetForm 2022-07-20 15:48:48 +12:00
e9e7651d65 Auto focus reps and keep keyboard open 2022-07-20 15:22:56 +12:00
d513b147bc Add ability to add 1 minute to timer 2022-07-19 17:03:43 +12:00
9e790e7e1d Fix error when adding set at the end of a plan 2022-07-19 17:02:50 +12:00
839d872c1c Shorten method names in AlarmModule 2022-07-19 16:38:58 +12:00
65f6eaff57 Remove TimerBroadcast
This was added briefly because the timer was
pausing when the app was in the background (sometimes).
I read somewhere using a BroadcastReceiver prevents the timer
from being slept by Android, which turned out to be false (on a Pixel
    4).
The actual solution was disabling battery optimizations, so this
broadcast receiver is now redundant.
2022-07-19 16:34:49 +12:00
0159956ee8 Merge branch 'no-broadcast' 2022-07-19 16:27:24 +12:00
c0b6ba8606 Move uploading/downloading/deleting into the top bar 2022-07-19 16:24:16 +12:00
42c2502e12 Upgrade yarn version 2022-07-19 16:24:05 +12:00
f2e5192002 Organize SettingsPage imports 2022-07-19 14:26:36 +12:00
0cb8d7b962 Stop alarm when pressing stop on notification 2022-07-19 14:26:11 +12:00
c965064e57 Use best as default for EditSet 2022-07-19 14:26:00 +12:00
d591d2e453 Remove redundant code from db.ts 2022-07-18 14:10:32 +12:00
a7d84c4dbd Change look of ViewBest
- Use color scheme for color of curve
- Use curveBasis instead of curveNatural
- Make chart taller (the y axis was a bit crowded.)
2022-07-17 23:00:54 +12:00
3322289c17 Factor out MassiveSwitch 2022-07-17 13:45:31 +12:00
3d6a51cf57 Remove ios script and add release 2022-07-16 16:12:46 +12:00
c387ee7e61 Run timer in TimerService instead of Broadcast 2022-07-16 16:12:28 +12:00
e9948a291a Use release config for debug 2022-07-15 20:06:41 +12:00
bdd712833c Reduce number of colors in theme 2022-07-15 18:06:33 +12:00
a78a22207a Split out routes 2022-07-15 16:34:06 +12:00
a4855a41d9 Prepare for first release 2022-07-12 15:54:04 +12:00
06068711f5 Add tablet images 2022-07-11 19:59:57 +12:00
7e8a1c7ee8 Update images 2022-07-11 13:35:58 +12:00
87ed70155f Use stats-chart icon for Best 2022-07-11 13:06:26 +12:00
1a2fcf04c3 Fix drawer title when going back on Best 2022-07-11 13:06:16 +12:00
f2283669f8 Close menu on copy 2022-07-11 13:03:57 +12:00
ad907a83c3 Use stack navigation for Best 2022-07-11 13:00:17 +12:00
0f540cc778 Remove autoFocus from EditSet
Feels weird having auto focus on a new screen
2022-07-11 12:59:38 +12:00
039de1fbd3 Fix linting errors 2022-07-11 12:32:13 +12:00
e72cdc8db7 Make plans use stack navigation 2022-07-11 12:28:30 +12:00
6b8780c62e Add confirm dialog to deleting all data 2022-07-11 11:26:45 +12:00
03db3cd843 Move from native-stack to stack navigation for HomePage 2022-07-11 11:14:24 +12:00
c31a3b2a10 Add bottom margin to date picker in EditSet 2022-07-11 00:16:03 +12:00
8311f5098c Fix linting errors 2022-07-11 00:06:48 +12:00
f15c6df20b Use stack navigation for homepage + EditSet 2022-07-11 00:04:13 +12:00
f4264b2589 Keep stop action when timer ends 2022-07-10 19:03:14 +12:00
aa780172a4 Add max number of sets to settings page 2022-07-10 19:03:07 +12:00
530d6d6fb9 Add missing dep to SettingsPage 2022-07-10 18:00:06 +12:00
af0ec285d3 Add info about predictive sets to settings page 2022-07-10 17:59:21 +12:00
29d2421fb1 Add toggle for predictive sets 2022-07-10 17:53:38 +12:00
5c65b283d3 Fix linting errors in HomePage 2022-07-10 17:41:26 +12:00
5055c2782b Predict next set when tapping add 2022-07-10 17:40:11 +12:00
5f840e6d83 Remember previous add set 2022-07-10 16:22:19 +12:00
52a4eada94 Fix adding plan 2022-07-10 16:10:06 +12:00
7ff0e1c8de Fix copying homepage 2022-07-10 16:09:15 +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
b81830a913 Remove alarmEnabled dependency from changeAlarmEnabled 2022-07-09 19:42:53 +12:00