rubyforgood / rubyforgood/human-essentials
Export button on annual report should revert to "Export Report" from "Please Wait..." once report generated.
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 593
- Forks
- 593
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 41
Description
Summary
'Export Report' button on annual survey should revert back to "Export Report" when the report has been generated.
Details
Recreation
Click the following sequence:
Reports
Annual Survey
click on a year
Export Report
Observe that the button stays as "Please wait..." and does not revert to Export Report.
It should
Commentary
This is probably not causing anyone any problems, as you wouldn't Export Report the same year over and over again. If it's really really hard to fix, it may not be worth it -- consult with the leads.
Criteria for completion
[] button fixed
[] tests that confirm it is fixed
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the Reports > Annual Survey flow and trace the Export Report button state after a report finishes generating. Reproduce the issue by selecting a year and exporting, then add tests confirming the button returns to "Export Report" when generation completes. Done means the button resets correctly and the tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- analytics, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 74/100