Commit Graph

1311 Commits

Author SHA1 Message Date
Brandon Presley d0e76f574b Enable exporting plans as CSV - 2.33 🚀
This is to help migrations across to Flexify.
Also is generally useful if someone wants
to do some Excel magic on their plans.
2024-03-23 14:46:04 +13:00
Brandon Presley 52f642c2af Add privacy policy 2024-03-13 11:26:20 +13:00
Brandon Presley b7b974fb02 Update screenshots 2024-03-13 11:21:47 +13:00
Brandon Presley 6d22bee440 Merge branch 'use_alarm_manager' of https://gitea.presley.nz/joseph/Massive into joseph-use_alarm_manager - 2.32 🚀 2024-03-12 11:57:36 +13:00
Joseph 58b8488a27 Use AlarmManager to manage the ending of timers 2024-03-11 19:30:33 +00:00
brandon.presley 745f9fb046 Merge pull request 'Improve timer accuracy' (#235) from joseph/Massive:improve_timer_accuracy into master
Reviewed-on: #235
2024-03-07 23:12:46 +00:00
Joseph b979d0943f Improve timer accuracy 2024-03-07 15:48:20 +00:00
Joseph 7c35da3f5b Add themed icons - 2.31 🚀 2024-03-05 18:36:02 +13:00
Brandon Presley 817ac089d3 Fix insights page crashing with no data - 2.30 🚀
Closes #230
Closes #206
2024-03-04 13:19:25 +13:00
Brandon Presley c77d1dbcfb Add video of timers in use because of google play
The play store is having a big whinge about how
we need special foreground permissions.
I hate them. It's unreal.
2024-03-01 20:03:38 +13:00
Brandon Presley 2d5e0620af Merge branch 'fix-timer-service' - 2.29 🚀 2024-03-01 19:58:09 +13:00
Joseph 12f906bfc3 Fix MissingForegroundServiceTypeException in TimerService 2024-02-29 13:29:52 +00:00
Brandon Presley eb30d81003 Update deploy.mjs
- Reduce length of variable names
- Increase redundancy for increased
readability
2024-02-21 18:22:00 +13:00
Brandon Presley fd15d10028 Add contextual plural to delete confirmation - 2.28 🚀 2024-02-21 18:13:29 +13:00
Brandon Presley 7abcea5710 Add button to deselect plans 2024-02-21 17:59:05 +13:00
Brandon Presley e7c0460166 Add back button to deselect exercises 2024-02-21 17:57:59 +13:00
Brandon Presley c2accf7202 Show delete button when sets are selected 2024-02-21 17:56:37 +13:00
Brandon Presley 164d946b90 Fix add 1 minute not adding immediately 2024-02-21 14:51:35 +13:00
Brandon Presley 6ad7091503 Vibrate more at the end of timers 2024-02-21 14:48:55 +13:00
Brandon Presley b681aa82d6 Update package-lock.json 2024-02-21 14:37:40 +13:00
Brandon Presley d7599ff39b Remove redundant !! from MainActivity - 2.27 🚀 2024-02-19 22:10:54 +13:00
Brandon Presley 9f20954ff5 Stop resetting daily page on focus
Closes #221
2024-02-19 22:10:30 +13:00
Brandon Presley be601ac7e4 Hide list menu when selecting all 2024-02-19 19:15:34 +13:00
Brandon Presley 6deb772f99 Update package-lock.json version 2024-02-19 18:29:13 +13:00
Brandon Presley 66d9894c19 Add log for passing TypeScript checks 2024-02-18 01:53:42 +13:00
Brandon Presley 5b066bccaf Add daily page - 2.26 🚀
The daily page is used to flip through your exercises
by day. This is in contrast to the History page, which is
an infinitely scrolling list of all sets.

Closes #216, #207
2024-02-18 01:52:30 +13:00
Brandon Presley d5fab6d6d2 Add toast after successfully importing database 2024-02-18 00:54:51 +13:00
Brandon Presley c6ac2cae86 Prevent multiple alarm timers running at once 2024-02-18 00:50:08 +13:00
Brandon Presley 8162724328 Dont run timers once a plan is finished 2024-02-18 00:49:56 +13:00
Brandon Presley d89e307950 Fix tooltip on settings page vibration 2024-02-18 00:46:21 +13:00
Brandon Presley a9367cd53b Select first item in plan 2024-02-18 00:36:00 +13:00
Brandon Presley f5f96035a0 Use outlined inputs
They look WAY cooler
2024-02-18 00:34:27 +13:00
Brandon Presley 974d2207db Fix broken undo on plans 2024-02-18 00:21:27 +13:00
Brandon Presley cc5089d4b4 Rename GraphsList -> GraphList 2024-02-18 00:08:57 +13:00
Brandon Presley 2d9c69a3dd Rename yellow-green to Green 2024-02-17 20:57:44 +13:00
Brandon Presley 495d6b35b7 Disable sound -> Sound & Remove show steps setting
1. Negating is more complicated than just saying Sound
2. The exercise edit screen is already pretty small,
so this feature of hiding the steps is probably
not useful.
2024-02-17 20:57:29 +13:00
Brandon Presley 617fca0094 Fix tsconfig.json - 2.25 🚀 2024-02-17 19:11:02 +13:00
Brandon Presley eea6c96e8e Make separate channel for finished notifications
Still aren't showing on lock screen, or waking the
device sadly. Ive got to finish reading https://github.com/giorgosneokleous93/fullscreenintentexample/tree/main/app/src/main/java/com/giorgosneokleous/fullscreenintentexample
2024-02-17 19:01:43 +13:00
Brandon Presley 9e3f2fea78 Auto request battery optimizations are off
If the user reinstalls the app, and then imports their
database, they might end up with timers on but
battery optimizations on as well.
2024-02-17 17:42:19 +13:00
Brandon Presley a0dc62e761 Remove all JS side Timers
This is the result of me fixing the background timers.
Previously our code just used a CountdownTimer
not even in a service, just immediately in the
@ReactMethod. This would in certain scenarios stop
running. Even with battery optimizations turned off.

The reason why all the JS side timers had to be removed
is because we were relying on RCTDeviceEventEmitter
which I don't know how to use from within a Service.
See my stackoverflow ticket here: https://stackoverflow.com/questions/74204339/sending-react-native-android-events-to-javascript-from-a-service

Closes #212, #196
2024-02-17 17:27:42 +13:00
Brandon Presley 47cfaa4b67 Fix dismissing alarm and add +1 minute button 2024-02-16 17:47:26 +13:00
Brandon Presley 5355b0eb6a Move timer logic from AlarmModule -> TimerService
Missing a few of the old features here but ultimately
this will fix #210, #212, #196.
2024-02-16 13:15:42 +13:00
Brandon Presley 1e7c994209 Remove startForeground from AlarmService
Starting a foreground service from the background
causes errors in android 12+
2024-02-16 13:14:00 +13:00
Brandon Presley 6e604d7618 Upgrade all minor+patch versions in package.json 2024-02-16 11:49:50 +13:00
Brandon Presley e3d3aad153 Move debug banner to AppStack from AppDrawer
If we have it on the drawer instead of the stack it will
dissapear when navigating to certain screens.
2024-02-15 15:26:14 +13:00
Brandon Presley 3c0f4ce8ad Upgrade react-native from 0.72.3 to 0.73.0 2024-02-15 15:07:11 +13:00
Brandon Presley 183d609bea Add indicator for being in debug mode 2024-02-15 14:10:40 +13:00
Brandon Presley a9acc6f216 Undo NaN filtering for graphs - 2.24 🚀
We published these changes, yet the error was still
occurring. Leaving this in just lowers performance
for no value.
2024-02-15 13:12:45 +13:00
Brandon Presley fd09758ccf Make SettingsModule.ignoringBattery async 2024-02-14 11:14:43 +13:00
Brandon Presley 5f2327de31 Upgrade react-native-svg 2024-02-13 11:25:37 +13:00