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

Reduce time spent on the splash screen #1552

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

anttimaki
Copy link
Collaborator

Users may want to get to the manager screen quickly so they can just launch the game with existing mods. Having to wait for the latest mod list update can be frustrating.

Splash screen now only checks the API for a fresh list if no local cache is found at all. Handling different error scenarios is also omitted, and user is moved to profile selection screen even if no mod list can be loaded. Error screen offering a chance to retry loading the mod list is dropped. The idea is that the background update or a manually triggered mod list update will handle the mod list eventually.

Note that the changes only affect the splash screen. Background updates still work the same way they did before.

In the future the splash screen can be hastened even further e.g. by handling the loading of the exclusion list in the background and reducing the timeouts/retry attempts of the API calls.

Users may want to get to the manager screen quickly so they can just
launch the game with existing mods. Having to wait for the latest mod
list update can be frustrating.

Splash screen now only checks the API for a fresh list if no local
cache is found at all. Handling different error scenarios is also
omitted, and user is moved to profile selection screen even if no mod
list can be loaded. Error screen offering a chance to retry loading
the mod list is dropped. The idea is that the background update or a
manually triggered mod list update will handle the mod list eventually.

Note that the changes only affect the splash screen. Background updates
still work the same way they did before.

In the future the splash screen can be hastened even further e.g. by
handling the loading of the exclusion list in the background and
reducing the timeouts/retry attempts of the API calls.
@anttimaki anttimaki requested a review from ebkr November 14, 2024 14:36
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.

1 participant