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

[1.4.0] Improve mapset download #4118

Open
wants to merge 22 commits into
base: ui-redesign
Choose a base branch
from

Conversation

QiuFeng54321
Copy link
Contributor

@QiuFeng54321 QiuFeng54321 commented May 11, 2024

Requires https://github.com/Quaver/Quaver.Server.Client/pull/16 and Quaver/Quaver.Resources#16

  • Adds the ability to stop, retry and remove downloads.
  • Retry only available after being stuck
  • Clear items after import
  • Fix bug: download blocking in queue (currently only checks IsDownloading but not if finished)8fa3/Quaver.Shared/Screens/Edit/Dialogs/EditorUploadingMapsetDialog.cs#L83))

It looks like this (subject to change):
image

Use sliding window to reduce fluctuation of ETA
Update ETA once per second only
Show retry button only if the following holds:
1. At least some time (10s) has passed since download started
2. If the map is already downloading, the ETA has to be over 30s
3. The download is not complete
Call different download function for shared mapset
@QiuFeng54321 QiuFeng54321 marked this pull request as ready for review May 14, 2024 06:10
@AiAe AiAe changed the title Improve mapset download [1.4.0] Improve mapset download May 24, 2024
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

1 participant