Add a loading state at the digital signing
Expected Behavior
When a user -who is a teacher and has a course that can adds grades to it- upload a new grades file, at the signing step they should see a loading state before they can see a success or fail message.
Actual Behavior
When a user -who is a teacher and has a course that can adds grades to it- upload a new grades file, at the signing step they see a success message before the signing request response (that can be either successful or not).
Steps to Reproduce
Given the universis-teachers, a user who can upload grades files and a setup that that can produce signing error
- Open the teachers application, navigate to a course and open the grades upload modal.
- Upload the file
- (next step is time related, please pay attention)
- Click on the signing button
- Verify that you saw the success message for a while.
- Verify that you see the error message.
More Information (optional)
- The component assumes that there are two states success or error (the loading state is absent).
- The component assumes that the signing is successful, until we receive some error.
Edited by Dimitrios Pliakos