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

Improve Splash screen download indicators #1176

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

anttimaki
Copy link
Collaborator

  • Calculate package list download progress percentage if possible. This requires that the response headers contain the total length of the content, which is not guaranteed.
  • Set exclusion list download progress to 100 when done. Previously this would be left to 0 if the response headers didn't contain the content length.
  • Set package list download progress to 100 when done, even if the download fails. Strictly speaking this wouldn't be necessary since the progress bar is hidden after this step, but it might prevent issues in the future if the UI is changed.
  • Reset all progress to 0 if user attempts to reconnect after some part of the process has failed.

- Calculate package list download progress percentage if possible. This
  requires that the response headers contain the total length of the
  content, which is not guaranteed.
- Set exclusion list download progress to 100 when done. Previously
  this would be left to 0 if the response headers didn't contain the
  content length.
- Set package list download progress to 100 when done, even if the
  download fails. Strictly speaking this wouldn't be necessary since
  the progress bar is hidden after this step, but it might prevent
  issues in the future if the UI is changed.
- Reset all progress to 0 if user attempts to reconnect after some part
  of the process has failed.
@MythicManiac MythicManiac merged commit de4fca1 into develop Jan 22, 2024
3 checks passed
@MythicManiac MythicManiac deleted the download-progress-indicators branch January 22, 2024 21:56
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.

2 participants