It adds a blocking message asking the user to wait after creating and updating an annotation. It will unblock it after it receives a response from the server.
Create annotation, it should block the video player and display a message saying 'Annotation is being created. Please wait...". It should unblock after the annotation has been created.
Update an annotation, it should block the video player and display a message saying 'Annotation is being updated. Please wait...". It should unblock after the annotation has been created.
Note that this message will be very briefly shown in the vagrant. Will be shown for longer duration in production systems due to longer time it takes for the response to be received.
What does this Pull Request do?
This PR addresses this issue: https://github.com/digitalutsc/islandora_web_annotations/issues/153.
What's new?
It adds a blocking message asking the user to wait after creating and updating an annotation. It will unblock it after it receives a response from the server.
How should this be tested?
Note that this message will be very briefly shown in the vagrant. Will be shown for longer duration in production systems due to longer time it takes for the response to be received.