a772e36160
Add tests to deploy script
2023-01-01 14:32:23 +13:00
ad95438120
Test all pages
2023-01-01 14:32:10 +13:00
3c953530a4
Add working test for homepage
2023-01-01 14:19:32 +13:00
13e1d4cc21
Move the theme object to be inline for mock-providers
...
This way we get better auto completion
2023-01-01 14:19:15 +13:00
21773e3b4f
Remove fake timers from jestSetup
...
I believe this was from ages ago when I was using `setInterval` to try
and keep state of the timers from JavaScript. Now we are relying on our
timers in Kotlin so we don't need this any more.
2023-01-01 14:18:36 +13:00
27ff4861d9
Reduce logs in SetList
2023-01-01 14:18:27 +13:00
e43188ccdf
Merge branch 'master' into unit-tests
2023-01-01 13:57:01 +13:00
9287c31e70
Update fastlane
2023-01-01 13:47:04 +13:00
5612df5d8c
Set versionCode=36133
2023-01-01 13:46:26 +13:00
a78e07dac8
Keep list menu open after selecting all
...
Typically when you select all records it's because you want
to operate on those records immediately. The only case
this wouldn't be true is if you were scrolling, then selecting all
a bunch of times. I think it's more likely someone just wants to
select all, then delete.
2023-01-01 13:43:55 +13:00
86f01eb002
Memoize the most expensive parts of SettingsPage
2023-01-01 13:39:10 +13:00
5335f4afbc
Memoize switches in SettingsPage
2023-01-01 13:32:26 +13:00
d71ad8c170
Set versionCode=36132
2023-01-01 13:18:13 +13:00
53799fdcc4
Change mode of text input from outlined to default
...
Related to #140
2023-01-01 13:16:08 +13:00
651b130caa
Remove pdf I accidentally committed of the readme
2023-01-01 13:15:23 +13:00
73c7486eb3
Update plan start image
2022-12-30 20:46:39 +13:00
ea2ff913db
Update screenshots
2022-12-30 20:45:12 +13:00
0be8f03133
Set versionCode=36131
2022-12-30 20:40:15 +13:00
7863b9caa0
Improve speed of setting sound string as well
2022-12-30 20:38:34 +13:00
3fdc5900e3
Improve performance of setttings toggles
...
I was awaiting the result of the sqlite operations
when really I should have just set the state immediately,
and done the operations in the background.
2022-12-30 20:37:08 +13:00
e51aad21f3
Set versionCode=36130
2022-12-30 20:31:34 +13:00
f48124123c
Delete unused variable from Routes.tsx
2022-12-30 20:29:47 +13:00
3603c67133
Add filtering back in to SettingsPage
...
I accidentally removed it and pushed to production...
Woopsie.
2022-12-30 20:29:16 +13:00
a9000898f3
Replace children with title for Switch
...
Apparently, the children prop makes React.memo
not work any more. I read about it in
https://stackoverflow.com/questions/53074551/when-should-you-not-use-react-memo
2022-12-30 19:49:54 +13:00
dd7cb0406b
Use React.memo for Switch
2022-12-30 19:42:30 +13:00
a5ddf5c94d
Use React.memo in Select.tsx
2022-12-30 19:39:35 +13:00
9be10610d2
Use React.memo on AppInput
2022-12-30 19:39:20 +13:00
5e37490c2d
Add react-hook-form for settings page
...
This seems to have improved performance.
Related to #135 .
2022-12-30 15:47:12 +13:00
7f1513f0a5
Set versionCode=36129
2022-12-30 13:37:42 +13:00
14edb66e28
Add common date formats
...
Add yyyy-MM-d and yyyy.MM.d formats
Closes #139
2022-12-30 13:35:11 +13:00
3ed2d4f0cd
Never pass falsy value to date format
...
Closes #141
After adding TypeORM I had to remove the strict checking in TypeScript.
This leads to null errors such as this. Kind of annoying, but I think
the large reduction in code from adding TypeORM is worth it. We
shall see...
2022-12-30 13:30:13 +13:00
46dd50adfb
Pause adding unit tests
2022-12-30 13:25:47 +13:00
e430873771
Remove commented code from jestSetup
2022-12-30 12:35:19 +13:00
a9266ba77b
Set versionCode=36128
2022-12-29 20:11:34 +13:00
051df31925
Fix inactive track color on mismatched themes
...
Before if your system theme was dark and your app
theme was set to light, the track colors were wrong.
2022-12-29 19:30:26 +13:00
a3138c48b5
Combine several state operations in SettingsPage
2022-12-29 18:20:40 +13:00
2b302bab73
Move theme line of SettingsPage
...
Because I am schizophrenic.
2022-12-29 17:28:31 +13:00
7bf802ea45
Set versionCode=36127
2022-12-29 16:43:16 +13:00
5115055280
Reword MassiveX as AppX
2022-12-29 13:57:19 +13:00
41ed9464c9
Use single settings object for state
...
Since all this state was being set at the same time,
on load, it makes more sense to have it as a single state.
Also they are all connected to the same table so it makes more
sense this way.
Also, I removed the use focus effect in favor of just a
use effect which runs on mount. The things being refreshed here
weren't very important to be updated frequently, and focus effect
has a cost on performance.
2022-12-29 13:52:38 +13:00
596b695c5b
Remove unlabelled log from StartPlan
2022-12-28 15:00:00 +13:00
c664a9603c
Add missing toasts to some settings
...
- Date format
- Dark color
- Light color
2022-12-28 14:59:39 +13:00
186b7e0fe9
Remove ios check from SettingsPage
...
These things are pointless unless I
can get the app deployed to the iOS store.
2022-12-28 14:59:19 +13:00
d6e7d6158c
Make sure alarms aren't on with app being optimized
...
If battery optimizations are on for the app,
alarms will have several unpredictable bugs.
For example, sometimes sounds won't play,
sometimes re focuisng the app won't work.
2022-12-28 14:56:29 +13:00
2c6a773548
Change alarm sound toast
...
Closes #137
2022-12-28 14:15:02 +13:00
b33a829816
Set versionCode=36126
2022-12-27 00:39:22 +13:00
85ea20640d
Fix migrations on android 10
...
Closes #136
2022-12-27 00:29:45 +13:00
Tiffany Barclay
2176acd924
Clean up timer page styling
...
Closes #110
2022-12-25 01:05:48 +13:00
Tiffany Barclay
7e81424f60
Merge branch 'master' of gitea.presley.nz:brandon.presley/Massive
2022-12-25 00:44:26 +13:00
Tiffany Barclay
736cee5ccd
Remove react-native-picker
2022-12-25 00:41:25 +13:00