bringyourownideas/silverstripe-maintenance

Add "refresh report" button to the interface

be2n opened this issue · 2 comments

be2n commented

As a Product Owner
I want to be able to refresh the report when necessary
So that I have up-to-date information

Acceptance criteria

  • Action to manually trigger a new report (generate report button)
  • Displays a loading spinner while processing
  • Actual generation should be done in the background via a queued job or similar
  • Show a date stamp somewhere for when report was last generated

Designs: https://projects.invisionapp.com/share/ASGU6A7RT8U#/screens/291050684

An example of this kind of process is the "external links" module which will do some AJAX polling to check whether the backend process has finished yet.

Potential Checking design @raissanorth
https://invis.io/FTG16IYV5KB#/298994490_1_Site_Summarizer_-_2_Site_Summary_Updating

  • an Alert-info banner appears on pressing [Check for updates] button, notifying the user
  • Button label changes to "Updating..."
  • [separate story #67] When updating is complete, new timestamp will appear

@newleeland the link isn't working for me