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.
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.