Commit Graph

14 Commits

Author SHA1 Message Date
Brandon Presley 4c065a027b Rename Chart -> AppLineChart
Chart is too generic since several types of charts exist
in the react-native-chart-kit.
2024-02-09 12:56:43 +13:00
Brandon Presley 1b164aaaf1 Remove loading indicator where load times are fast
If the load time is too fast (on a mid-tier device),
then for most people they will see a flicker of a
loading spinner (which looks like a bug). These indicators
would only marginally improve the experience of people with
the slowest devices, but for most people this will just look
like a bug.

I left the indicators in the InsightsPage since those queries
actually do take >=300ms on a mid-tier device.
2023-11-15 15:53:32 +13:00
Brandon Presley ef63fcf470 Organize all imports 2023-11-12 17:05:37 +13:00
Brandon Presley 3e1ea50914 Format code 2023-11-09 13:28:47 +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 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 3d54f61a2c Move time.ts -> days.ts 2023-11-06 14:27:27 +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 c3f44fba03 Change style of insights page 2023-10-27 12:36:56 +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 39b87ba932 Add explanation dialog to most active days 2023-10-26 21:02:25 +13:00
Brandon Presley e106d2475b Add period selectors for insights page 2023-10-25 10:21:21 +13:00
Brandon Presley f61109cea3 Add insights page 2023-10-24 21:32:31 +13:00