Commit Graph

1147 Commits

Author SHA1 Message Date
ec0fdbcec7 Remove logging from AppDrawer & AppStack 2023-11-13 16:07:23 +13:00
155eaddbdd Add margins to app-wide progress bar 2023-11-13 16:07:12 +13:00
b6afbfcc17 Fix automatic backups - 1.181 🚀
- The broadcast intent wasn't receiving the target directory
- Add separate button for storing the backup location
2023-11-13 15:19:35 +13:00
d0c0a52ab4 Simplify logic of AlarmService.playSound
This probably won't fix the disabling sound bug.
2023-11-13 14:12:25 +13:00
79e462efc2 Fix app crashing when you change system theme
More specifically, this happens when you restore an
activity (not sure exactly when this happens).
2023-11-13 14:07:45 +13:00
84ff8a110b Improve responsiveness of timer page - 1.180 🚀 2023-11-12 23:37:58 +13:00
bf6863000f Stick progress bar to the bottom
Previously it jolted around all the other content
which looks gross so now it's absolute positioned bottom.
2023-11-12 23:35:43 +13:00
e65c053a62 Add setting to choose the startup page
Closes #186
2023-11-12 23:27:28 +13:00
054ae4557d Make page size bigger (15->50) and fetch next page earlier
This project is a little bit slow to get the pages,
so it makes sense to fetch things earlier and to
get them in bigger chunks.
2023-11-12 22:51:42 +13:00
92dd65ffee Fix scrolling being broken on some list pages - 1.179 🚀 2023-11-12 22:37:43 +13:00
afed5f1d54 Reduce nesting of code within SettingsPage - 1.178 🚀
The code before needlessly factored out functions in functions
and made it impossible to read and change. Also it wasn't using a
FlatList which is a performance problem.
2023-11-12 19:11:20 +13:00
52f04ad11c Remove old remnants of multiple stack navigators 2023-11-12 17:10:15 +13:00
ef63fcf470 Organize all imports 2023-11-12 17:05:37 +13:00
901cc72fbd Revert my work on surgically updating lists - 1.177 🚀
I tried to maintain the current scroll position
within a list however this caused many issues
to do with outdated data, as well as performance issues.
Now we are going back to just refreshing any list on focus.

Closes #184
2023-11-12 17:03:22 +13:00
706d4d1bbd Add duration setting to alarm vibrations - 1.176 🚀
Closes #179
2023-11-12 12:25:09 +13:00
75263af8b3 Add global progress bar for ongoing timer - 1.175 🚀
Closes #182
2023-11-12 11:54:19 +13:00
70fec83ec3 Replace long press with vertical drag icon button
Closes #181
2023-11-12 11:45:23 +13:00
1ff6a87155 Update names list after re-ordering - 1.174 🚀
Closes #183
2023-11-12 11:28:30 +13:00
9cbe261938 Fix error creating new plans - 1.173 🚀 2023-11-11 00:15:30 +13:00
813928bdd3 Add permissions checks to SettingsPage - 1.172 🚀
Related to #177
2023-11-10 12:54:35 +13:00
8988e584ae Rename workout -> exercise
A workout would typically refer to a list of
exercises.
2023-11-09 18:52:50 +13:00
6754e2a8ae Add two, three and six months to graphs - 1.171 🚀 2023-11-09 14:31:24 +13:00
3e1ea50914 Format code 2023-11-09 13:28:47 +13:00
e5db6fe34b Add 2,3,6 months to weight graph 2023-11-09 13:27:34 +13:00
9fee26f7c8 Add activity indicator for insights
Also update the help descriptions.
2023-11-09 13:20:08 +13:00
307ad4c9dd Re organize imports of Select.tsx 2023-11-09 13:15:45 +13:00
2fdb220659 Change style of Settings page
1. Move selects above switches
    Selects are larger now so it looks nicer to flow from large
    down to small.
2. Remove label from alarm sound button
    Because the other buttons don't have labels this makes the
    alarm sound stand out and seemed inconsistent.
2023-11-09 13:14:11 +13:00
2e96398b38 Enable re-ordering of workouts in EditPlan - 1.170 🚀
Closes #176
2023-11-09 13:01:05 +13:00
1a289f1b7b Delete unused code from App.tsx 2023-11-09 12:55:52 +13:00
c70d6541b2 Add muscle groups 2023-11-09 12:23:19 +13:00
d41bafdecb Format InsightsPage 2023-11-08 15:37:34 +13:00
31b11aefd6 Prevent lag on insights page
- Queries were being run in parallel, now they run sequentially
- Add 400ms delay before starting the queries, to allow for
  drawer navigation animation.
2023-11-08 15:34:48 +13:00
8a88c8e7af Make charts smooth and curvy - 1.169 🚀 2023-11-06 23:08:36 +13:00
ec162911de Refactor code in ViewSetList 2023-11-06 22:35:52 +13:00
f1075c3b28 Rename "View" to "Peek" in StartPlanItem 2023-11-06 22:35:37 +13:00
43ab666540 Make it easier to read old sets on ViewSetList - 1.168 🚀
Now sets alternate background color based on the day
they were entered.
2023-11-06 15:29:23 +13:00
1a2d7a27a0 Fix navigation type in WorkoutList 2023-11-06 15:02:29 +13:00
2f4574f231 Fix icons in EditWorkouts 2023-11-06 15:02:20 +13:00
add8b01e4c Remove unused code from TimerPage 2023-11-06 15:00:52 +13:00
5d45d33572 Fix dev bug for navigation after adding a set
The previous code worked fine in production,
but gave a development error in the logs.
2023-11-06 14:29:00 +13:00
3d54f61a2c Move time.ts -> days.ts 2023-11-06 14:27:27 +13:00
744ed928f0 Fix timer page flashing 00:00 on first navigate 2023-11-04 13:53:19 +13:00
9cd205686f Remove redundant code from SetList 2023-10-28 16:12:37 +13:00
54596a5fc3 Add special screen for viewing sets from plan 2023-10-28 16:10:52 +13:00
e8ee4a253e Migrate from Drawer -> Stacks to Stack -> Drawer
This simplifies our codebase greatly by
only having a single stack navigator and
a single drawer navigator. Previously we had
a stack navigator for every main page on the drawer.
2023-10-28 15:59:25 +13:00
b4154b336f Change pie chart colors 2023-10-28 15:18:47 +13:00
589efb56bd Rename AppBarChart -> AppPieChart
Because it is a pie chart not a bar chart...
2023-10-28 15:11:41 +13:00
347423698d Fix navigating to view graph from start plan - 1.167 🚀 2023-10-27 17:23:27 +13:00
c3f44fba03 Change style of insights page 2023-10-27 12:36:56 +13:00
915f09848b Auto focus new weight value 2023-10-27 12:36:41 +13:00