c2f98046cc
Add update log to SettingsPage
2022-12-24 19:32:14 +13:00
b47115204a
Remove log from App.tsx
2022-12-24 19:32:06 +13:00
a69bfd62a6
Use react-hook-forms on SettingsPage
...
This greatly reduces our lines of code.
Also I thought it might improve performance
to address #135 but it didn't make any difference.
2022-12-24 18:19:35 +13:00
27b7e91e91
Factor out buttons in SettingsPage
2022-12-24 13:36:11 +13:00
fc6f5e3b53
Add missing key prop to SettingsPage
2022-12-24 13:18:03 +13:00
8625ca2189
Set versionCode=36124
2022-12-24 13:13:55 +13:00
250335800f
Move clear button after select all
2022-12-24 13:10:40 +13:00
d89721c718
Set versionCode=36123
2022-12-23 18:35:11 +13:00
930ebdc9ca
Move clear after select all
2022-12-23 18:32:46 +13:00
777eddf943
Remove usage of FlatList in Settings page
...
Doing so looks like it improved the performance
of the switches.
Related to #135 .
2022-12-22 19:18:44 +13:00
e5d9f5fa92
Add select all button
...
Very useful final addition to the multi edit/delete function.
Typically a user will search for certain criteria, and then select
them all to be removed/edited. For example, if yesterdays sets were all
10x150kg deadlifts, but you review your form video and decide the form
sucked, you would want to mass edit them to lower the weight/reps (or
maybe delete them). This way you won't have these invalid entries
ruining all your progress graphs (showing false progress).
2022-12-22 17:10:14 +13:00
fb19685bb5
Change delete menu title if selected
...
Closes #133
2022-12-22 16:18:27 +13:00
f9e357ff80
Factor out list menu
2022-12-21 13:02:53 +13:00
75f2a8269a
Set versionCode=36122
2022-12-18 18:28:04 +13:00
f714941c88
Fix deleting a second time
...
Previously we didn't clear the id list.
This meant if you deleted multiple sets
multiple times, it would break.
2022-12-18 18:25:30 +13:00
faeb5ee1e0
Set versionCode=36121
2022-12-18 14:24:20 +13:00
fa19434e77
Refactor DrawerMenu
...
Closes #132
2022-12-18 13:23:10 +13:00
888ae576b0
Reduce state in SetList
...
The `set` state here was just a copy of the first element
of `sets`.
2022-12-18 12:48:20 +13:00
f02249e254
Set versionCode=36120
2022-12-17 16:50:00 +13:00
a7099a205c
Move edit in drawer menu to be first
2022-12-17 16:45:23 +13:00
1273b6a6d8
Reduce state in StartPlan
...
Fixes several issues related to old data.
2022-12-17 16:44:11 +13:00
86566fb54d
Allow tapping copy with multiple selected
...
If multiple are selected, copy will duplicate the
last item that was selected.
2022-12-17 14:06:10 +13:00
c1b63815a2
Set versionCode=36119
2022-12-15 16:44:49 +13:00
a1440b680f
Fix ripple color for dark theme
2022-12-15 16:43:00 +13:00
fcd1a4146e
Set versionCode=36118
2022-12-14 18:57:05 +13:00
7483a504ee
Fix typescript errors
2022-12-14 18:54:20 +13:00
8122694c10
Clear selected when editing/copying
2022-12-14 14:02:11 +13:00
71d4ad805c
Add button to clear multi selection
2022-12-14 13:02:18 +13:00
9c21ee022d
Add display of old values when mass editing sets
2022-12-14 12:55:03 +13:00
cf68b51fef
Edit plans after selecting them
2022-12-14 12:47:36 +13:00
af5a7f5abe
Move delete in drawer menu to be last
2022-12-14 12:35:42 +13:00
2e347deb53
Add ability to edit/delete multiple sets/plans
2022-12-13 22:54:37 +13:00
c3b14e901d
Remove eslint ignore from SetList
2022-12-12 17:26:58 +13:00
1818e39f41
Set versionCode=36117
2022-12-12 13:18:41 +13:00
afee8f0c50
Make light+dark colors same length
2022-12-12 13:15:55 +13:00
9217712a31
Add kermit color and fix contrast ratio of blue+red
2022-12-12 13:14:51 +13:00
6568d224ea
Set versionCode=36116
2022-12-10 22:26:33 +13:00
42589fe9ab
Fix column reference in settings page
2022-12-10 22:22:51 +13:00
3600003660
Clear set images + alarm when importing a database
...
Closes #131
2022-12-10 22:19:55 +13:00
9c184c5924
Add log when alarm finishes
2022-12-08 15:56:09 +13:00
6df9bba2ae
Set versionCode=36115
2022-12-08 15:42:02 +13:00
f6eb7959e1
Add missing set statement for dark color
2022-12-08 15:40:26 +13:00
216fc43a81
Set versionCode=36114
2022-12-08 14:53:28 +13:00
533b21a907
Remove csv import/export
...
This is replaced with the backup/restore feature in Settings page.
- Not sure anybody is using this besides me for testing purposes
- Backing up the entire SQLite database is faster than CSV conversion
- This prevents missing data and will work nicely with future plan
changes
Closes #128
2022-12-08 14:51:34 +13:00
0b2d4d52e1
Add export/import database buttons to search
2022-12-08 13:22:02 +13:00
0b6471a766
Add ability to export/import SQLite database
2022-12-08 13:18:41 +13:00
55e0a9f75e
Fix homepage error with default date format
2022-12-08 13:05:09 +13:00
f85074a41f
Remove logging from route toast
2022-12-06 12:30:36 +13:00
228fc212bf
Reduce logging in DrawerMenu
...
If a console.log is so long my terminal history can't
scroll backward, then it's probably too much logging...
2022-12-06 12:28:31 +13:00
e46e23c9e1
Set versionCode=36113
2022-12-04 19:38:23 +13:00