[Enhancement]: Make socket disconnect/reconnect notifications less disruptive
Type of Enhancement
Web Interface/Frontend
Describe the Feature/Enhancement
When I re-open my computer and audiobookshelf and the socket reconnects, it puts a non-dismissable notification in front of the transport UI (play/pause/skip) that would let me continue listening to whatever I was listening to. I have to wait 5 seconds for it to disappear. Can you put the notification somewhere else or make it easily dismissable?
Why would this be helpful?
Cause it's annoying to have to wait for a non-essential notification to disappear
Future Implementation (Screenshot)
My suggestion is to put a low-profile notification in the space below the playback progress bar, between the timestamps.
Why? Because regardless of screen dimensions, this space is always empty, so it would be a good place for non-disruptive notifications - and it's also near the location of the current notifications.
ALTERNATIVE SUGGESTION
If the intention was to truly block the UI with the "failed to connect" popup, then you could just make the "Socket reconnected" popup appear and dismiss super quickly (1 second), because the absence of the "failed to connect" popup is sufficient to indicate that things are working.
Audiobookshelf Server Version
v2.36.1
Current Implementation (Screenshot)
Source: advplyr/audiobookshelf