[x] Clicking on the Download button on the reports page will prepare the report to excel in the background job.
[x] While the report is being prepared there has to be an indication(spinner etc.) to show.
[x] The report download has already been initiated and is in progress, check page 15.
[x] Once the report is prepared, show a new page with a link to download the report, check page 16.
[x] Sometimes the download is processed really fast since there is no load on the server and the reviewer can't see the spinner. So add a delay of 10 seconds in processing the background job so that on UI we get to see the spinner.
Note: In order to make sidekiq work on Heroku you'll have to verify your Heroku account using credit card. In case if you don't have one, you can create a video of the workflow on a local machine and attach it to the pull request.
https://www.bigbinary.com/learn-rubyonrails-book/sidekiq-in-heroku
Download
button on page 14.Download
button on the reports page will prepare the report to excel in the background job.