Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Handle submit button during query fetch #126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

d-rita
Copy link
Contributor

@d-rita d-rita commented Aug 12, 2022

What does this PR do?

  • After a person has submitted a query via the mapathon report pages and/or user group report page, the button is now replaced with a loading spinner until the API calls are done and a response is got.

Issues:

How to test:

  • Fetch and checkout the branch using git fetch origin && git checkout fix/button-interactivity
  • Start the server using npm start
  • Go to either the mapathon or user group report pages and test with any query.
  • After hitting submit, the button is replaced with a spinner. When the results are back, the submit button reappers.

Screenshot:
submit button handling

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable Submit Query Button until result is returned
1 participant