#85 data is being fetched every 5 minutes
Opened by manishakanyal. Modified
fedora-qa/ manishakanyal/landingpage fetch-dashboard-data  into  master

Download 85.patch

This pr is for periodic fetch so users don’t have to refresh the whole page.

@lbrabec, @jskladan please have a look.

Why not, but please also add a user-facing interface into the settings, so people can enable/disable the feature, and change the timeout for data fetching.

Also, make sure the code is not fetching data in BG when the browser tab is not active.
If user comes back to the browser tab, check if it "was due to be reloaded", and do so, if required.

Time                     Action
00.00                    Loads page
05.00                    Page is active in the browser -> reload
06.00                    Switches to another tab
10.00                    Page not active -> do not reload
11.00                    Comes back to tab -> should have been reloaded, but was not -> reload

1 new commit added

  • added custom useInterval

@jskladan, @lbrabec I have implemented the changes please have a look

ping @jskladan , @lbrabec

Metadata