ViewPlaylistsWithSong icon indicating copy to clipboard operation
ViewPlaylistsWithSong copied to clipboard

[Bug] Loading notification can create an illusion of successful initialization

Open elijaholmos opened this issue 4 years ago • 0 comments

Not necessarily a bug per se, but each blue loading notification that appears while VPWS is initializing only lasts for 2-3 seconds before it fades away. Given how the percents are calculated and when the notifications are fired, this may mean that a notification appears with a status, say 78%, then fades away with no notification to follow it for several seconds. As a user, this can be confusing.

Requirements: -Make each notification displayed during the setup process last until the next notification is ready to be displayed

Solution Brainstorm: -When a new notification is displayed, create a setTimeout to keep displaying that notification with the exact same text that loops every 2-3 seconds. When the next notification is ready to be displayed, cancel the previous setTimeout and create a new timeout for the next notification. Repeat this process until 100% is achieved.

BONUS: Add a way to display initialization errors to the user, in the event that one is encountered. Example of an error could include an incompatible version of Spicetify; see #5

elijaholmos avatar Apr 27 '21 21:04 elijaholmos