rubyforgood / rubyforgood/human-essentials

Export button on annual report should revert to "Export Report" from "Please Wait..." once report generated.

Open Beginner friendly
#5,691 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.