Skip to content

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

Description

@elijaholmos

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions