Commit Graph

84 Commits

Author SHA1 Message Date
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
9e790e7e1d Fix error when adding set at the end of a plan 2022-07-19 17:02:50 +12:00
c965064e57 Use best as default for EditSet 2022-07-19 14:26:00 +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
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
5f840e6d83 Remember previous add set 2022-07-10 16:22:19 +12:00
027dd88574 Make EditSet scroll 2022-07-09 17:13:13 +12:00
f2d5166c8a Add ability to edit created on sets 2022-07-09 16:38:57 +12:00
f4a9bceb61 Create separate edit/add set displays 2022-07-09 15:57:58 +12:00
25ce5d9aac Prevent setting timer on update 2022-07-09 15:37:22 +12:00
d1e3255a28 Allow zero reps/weight but not null 2022-07-09 15:29:36 +12:00
cd11332d2d Fix shown date in EditSet for new set 2022-07-09 15:27:14 +12:00
91286a235c Allow empty fields in EditSet 2022-07-09 15:26:37 +12:00
e417897bb7 Reduce amount of state in EditSet 2022-07-08 20:29:31 +12:00
60bfb9664f Fix copy button for set on homepage 2022-07-08 18:21:14 +12:00
025296d24b Store dates as ISO string
UTC string has a comma in it, so it messes up
CSV exports.
2022-07-08 18:02:10 +12:00
bddd7cb869 Save dates as UTC 2022-07-08 15:16:32 +12:00
dc21f1266e Fix add button in homepage 2022-07-08 14:43:31 +12:00
40447880ca Remove console.log in EditSet 2022-07-08 14:33:47 +12:00
376ca81e09 Reduce amount of state used by EditSet and Home 2022-07-08 13:51:14 +12:00
1d68ba86f5 Remove useFocusEffect
It was lagging the app out.
2022-07-07 15:13:44 +12:00
570b43715f Ensure only one connection to SQLite exists 2022-07-07 14:18:38 +12:00
ecb436f8a6 Add progress to plans 2022-07-07 12:45:45 +12:00
07fa6f7ab2 Switch some modals to dialogs and fix light mode 2022-07-06 21:03:56 +12:00
e4ed53c358 Move logic of TimerService into TimerBroadcast
This was supposed to solve the timer stopping sometimes
when the application was in the background.
It was actually stopping because of battery optimizations.
2022-07-06 16:27:36 +12:00
47af169ca6 Add fab to home page 2022-07-05 12:43:23 +12:00
06e9bd72a4 Prevent alarm being set after deleting 2022-07-04 23:09:41 +12:00
5a1257a859 Move to top bar navigation 2022-07-04 16:03:48 +12:00
bb9a6c5f37 Add basic CRUD for sets 2022-07-03 13:50:01 +12:00