Commit Graph

1134 Commits

Author SHA1 Message Date
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
7ea91eeca9 Add most active hours of the day to insights - 1.166 🚀 2023-10-26 21:36:32 +13:00
32da68e905 Handle entering multiple weights in a single day
The graph would otherwise use I believe the first entry?
Now we use the average.
2023-10-26 21:11:56 +13:00
39b87ba932 Add explanation dialog to most active days 2023-10-26 21:02:25 +13:00
2428a51a02 Fix ViewWeightGraph - 1.165 🚀 2023-10-26 20:45:50 +13:00
541e8741e8 Replace/Remove all references to yarn -> npm 2023-10-26 20:32:22 +13:00
1d13cb9c5d Change select style 2023-10-26 20:30:41 +13:00
717c07d512 Fix font color of app bar chart 2023-10-26 18:53:01 +13:00
e0b2adbb66 Use outlined icons for routes 2023-10-26 18:49:56 +13:00
1c10e0f632 Use new chart library in ViewGraph 2023-10-26 12:20:15 +13:00
f28406b4c4 Move add 1 min button to left side fab 2023-10-26 12:20:04 +13:00
e106d2475b Add period selectors for insights page 2023-10-25 10:21:21 +13:00
a176036c33 Warn when weight loss is faster than 1% a week 2023-10-25 09:51:55 +13:00
f61109cea3 Add insights page 2023-10-24 21:32:31 +13:00