UniversalViewer / universalviewer

A community-developed open source project on a mission to help you share your πŸ“šπŸ“œπŸ“°πŸ“½οΈπŸ“»πŸ—Ώ with the 🌎
http://universalviewer.io
Other
500 stars 191 forks source link

Loading 'spinner' disappears in the UV as other components are loaded #924

Open damodeburca opened 1 year ago

damodeburca commented 1 year ago

UV version: 4.0.22 universalviewer@4.0.22

I'm submitting a:

Current behavior: I am raising this bug in relation to using the unviersal viewer with British Library sound items To inform the user that a recording is loading in the central UV player panel a loading 'spinner' is shown. The problem is that this spinner disappears as other events/components are called for example in the case of the BL there is an copyright statement overlay that is displayed. Once this appears on the player the spinner will disappear.

Expected behavior: Ideally the spinner should remain until all components are fully loaded, in the case of the player this would be the waveform and player control buttons.

Steps to reproduce: Go to the British Library (http://sounds.bl.uk/) website Search for any recording Click on the item and notice that the spinner appears in the centre of the main panel but immediately disappears and doesnt return.

The recording will eventually appear with the waveform and player controls but there is no feedback to the user that this will happen - instead a blank empty centre panel remains in the player - resulting in the user clicking away from the recording because there is no UI feedback that something is happening

Related code: NA

Other information: NA

damodeburca commented 1 year ago

As an example in the main UV player here is an item with over 100x30 min recordings. The UV index tree loads but nothing alerts the user that waveform and player controls are waiting to load https://access-beta.bl.uk/item/viewer/ark:/81055/vdc_100110025572.0x000001

damodeburca commented 1 year ago

Hello @LlGC-szw, As we briefly discussed on the 28/9 call, I guess from the BL point of view it would be good to have an indication when this issue is likely to be fixed/merged to the next UV4 community release. Many thanks.

LlGC-szw commented 1 year ago

Marked for review in the next SG meeting @damodeburca