Commit Graph

1060 Commits

Author SHA1 Message Date
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
e9b02d5eb1 Remove toast from StartPlan 2022-12-04 19:36:27 +13:00
d8eeac66ab Fix starting plan without selecting an item 2022-12-03 22:29:45 +13:00
2aa8073856 Add vscode configuration for debugging
I didn't end up using this but might in the future.
2022-12-03 22:14:01 +13:00
b14d20f1f4 Prevent animation when navigating to plan
Closes #124.
2022-12-03 22:13:35 +13:00
6071957a40 Suppress unused parameter in TimerDone.kt 2022-12-02 16:31:20 +13:00
46262fe6b4 Set versionCode=36112 2022-12-02 14:50:19 +13:00
67d90d4e02 Get settings on TimerPage on focus
Previously it was on mount.
Fixes #122.
2022-12-02 14:48:10 +13:00
c2994da041 Make getManager private on AlarmModule
It was never used publicly.
2022-12-02 14:47:54 +13:00
284983c1cf Set versionCode=36111 2022-12-01 15:54:13 +13:00
96674cd51f Clean unused import from SettingsPage 2022-12-01 15:52:44 +13:00