Commit Graph

1128 Commits

Author SHA1 Message Date
Brandon Presley 813928bdd3 Add permissions checks to SettingsPage - 1.172 🚀
Related to #177
2023-11-10 12:54:35 +13:00
Brandon Presley 8988e584ae Rename workout -> exercise
A workout would typically refer to a list of
exercises.
2023-11-09 18:52:50 +13:00
Brandon Presley 6754e2a8ae Add two, three and six months to graphs - 1.171 🚀 2023-11-09 14:31:24 +13:00
Brandon Presley 3e1ea50914 Format code 2023-11-09 13:28:47 +13:00
Brandon Presley e5db6fe34b Add 2,3,6 months to weight graph 2023-11-09 13:27:34 +13:00
Brandon Presley 9fee26f7c8 Add activity indicator for insights
Also update the help descriptions.
2023-11-09 13:20:08 +13:00
Brandon Presley 307ad4c9dd Re organize imports of Select.tsx 2023-11-09 13:15:45 +13:00
Brandon Presley 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
Brandon Presley 2e96398b38 Enable re-ordering of workouts in EditPlan - 1.170 🚀
Closes #176
2023-11-09 13:01:05 +13:00
Brandon Presley 1a289f1b7b Delete unused code from App.tsx 2023-11-09 12:55:52 +13:00
Brandon c70d6541b2 Add muscle groups 2023-11-09 12:23:19 +13:00
Brandon Presley d41bafdecb Format InsightsPage 2023-11-08 15:37:34 +13:00
Brandon Presley 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
Brandon Presley 8a88c8e7af Make charts smooth and curvy - 1.169 🚀 2023-11-06 23:08:36 +13:00
Brandon Presley ec162911de Refactor code in ViewSetList 2023-11-06 22:35:52 +13:00
Brandon Presley f1075c3b28 Rename "View" to "Peek" in StartPlanItem 2023-11-06 22:35:37 +13:00
Brandon Presley 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
Brandon Presley 1a2d7a27a0 Fix navigation type in WorkoutList 2023-11-06 15:02:29 +13:00
Brandon Presley 2f4574f231 Fix icons in EditWorkouts 2023-11-06 15:02:20 +13:00
Brandon Presley add8b01e4c Remove unused code from TimerPage 2023-11-06 15:00:52 +13:00
Brandon Presley 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
Brandon Presley 3d54f61a2c Move time.ts -> days.ts 2023-11-06 14:27:27 +13:00
Brandon Presley 744ed928f0 Fix timer page flashing 00:00 on first navigate 2023-11-04 13:53:19 +13:00
Brandon Presley 9cd205686f Remove redundant code from SetList 2023-10-28 16:12:37 +13:00
Brandon Presley 54596a5fc3 Add special screen for viewing sets from plan 2023-10-28 16:10:52 +13:00
Brandon Presley 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
Brandon Presley b4154b336f Change pie chart colors 2023-10-28 15:18:47 +13:00
Brandon Presley 589efb56bd Rename AppBarChart -> AppPieChart
Because it is a pie chart not a bar chart...
2023-10-28 15:11:41 +13:00
Brandon Presley 347423698d Fix navigating to view graph from start plan - 1.167 🚀 2023-10-27 17:23:27 +13:00
Brandon Presley c3f44fba03 Change style of insights page 2023-10-27 12:36:56 +13:00
Brandon Presley 915f09848b Auto focus new weight value 2023-10-27 12:36:41 +13:00
Brandon Presley 7ea91eeca9 Add most active hours of the day to insights - 1.166 🚀 2023-10-26 21:36:32 +13:00
Brandon Presley 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
Brandon Presley 39b87ba932 Add explanation dialog to most active days 2023-10-26 21:02:25 +13:00
Brandon Presley 2428a51a02 Fix ViewWeightGraph - 1.165 🚀 2023-10-26 20:45:50 +13:00
Brandon Presley 541e8741e8 Replace/Remove all references to yarn -> npm 2023-10-26 20:32:22 +13:00
Brandon Presley 1d13cb9c5d Change select style 2023-10-26 20:30:41 +13:00
Brandon Presley 717c07d512 Fix font color of app bar chart 2023-10-26 18:53:01 +13:00
Brandon Presley e0b2adbb66 Use outlined icons for routes 2023-10-26 18:49:56 +13:00
Brandon Presley 1c10e0f632 Use new chart library in ViewGraph 2023-10-26 12:20:15 +13:00
Brandon Presley f28406b4c4 Move add 1 min button to left side fab 2023-10-26 12:20:04 +13:00
Brandon Presley e106d2475b Add period selectors for insights page 2023-10-25 10:21:21 +13:00
Brandon Presley a176036c33 Warn when weight loss is faster than 1% a week 2023-10-25 09:51:55 +13:00
Brandon Presley f61109cea3 Add insights page 2023-10-24 21:32:31 +13:00
Brandon Presley b1d77cbdce Swap yarn for npm
Got pissed that yarn keeps timing out
2023-10-24 21:07:21 +13:00
Brandon Presley 805f982ccf Add graph button to start plan - 1.164 🚀 2023-10-24 16:24:56 +13:00
Brandon Presley ab107793e4 Change style of weight items
- Make them smaller
- Bold+underline current day weight
2023-10-24 16:16:59 +13:00
Brandon Presley cb5aa72552 Submit weight after entering value 2023-10-24 16:16:42 +13:00
Brandon Presley 28250f1862 Only get set options once for EditSet menu 2023-10-21 14:45:20 +13:00
Brandon Presley 80dc5d2b63 Make start plan increment buttons hover - 1.163 🚀 2023-10-21 14:43:38 +13:00