OperationCode / operationcode_frontend

Front-end repository for live site. Please go to `front-end` repo to contribute instead.
https://operationcode.org
MIT License
101 stars 223 forks source link

Mentor Request form should show loading spinner after submit #1033

Closed jjhampton closed 5 years ago

jjhampton commented 5 years ago

Feature

Why is this feature being added?

Currently when submitting a mentor request, there is a delay of several seconds after pressing the 'Request Mentor' submit button and seeing the success message of "Your mentor request has been sent! One of our mentors will contact you within the next few days, so keep an eye on your Slack DMs or email." Users may press the submit button multiple times while awaiting on the success message.

What should your feature do?

Show a loading indicator while the front-end is awaiting a response from the back-end API.