Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download progress bar and checking for botpack updates #51

Merged
merged 2 commits into from
Sep 24, 2019

Conversation

Darxeal
Copy link
Member

@Darxeal Darxeal commented Sep 23, 2019

This adds a progress bar while downloading the botpack:

image

The dialog is intentionally non-dismissable, because users shouldn't be starting matches during the download (bot files will get deleted).

I also added checking if there is a newer version of the botpack available, using the GitHub API.

All users will get the snackbar notification when they get this update for the first time, but I think that's alright, because 99% people don't have the latest botpack anyway.

@skyborgff
Copy link
Member

A message stating that it is not dismissable and why should be shown, also a timer, but double its theoretical ammount it so people dont get annoyed if it lasts a bit longer, but get happy for it lasting less

Copy link
Contributor

@tarehart tarehart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This progress bar is beautiful and sophisticated and I love it!

@tarehart
Copy link
Contributor

A message stating that it is not dismissable and why should be shown, also a timer, but double its theoretical ammount it so people dont get annoyed if it lasts a bit longer, but get happy for it lasting less

The timer seems unnecessary to me, since the download takes only a few minutes and it's easy for a person to judge how long it will take the progress bar to move across.

I'll leave it up to Darxeal whether he wants to address these in a future PR.

@tarehart tarehart merged commit b8db826 into RLBot:master Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants