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

Load repository metadata early to reduce latency in UX #1370

Closed
wants to merge 4 commits into from

Conversation

mvidner
Copy link
Member

@mvidner mvidner commented Jun 24, 2024

Problem

Short description of the original problem.

  • Bugzilla link
  • openQA link
  • Links to other related pull requests

Solution

Short description of the fix.

Testing

  • Added a new unit test
  • Tested manually

Screenshots

If the fix affects the UI attach some screenshots here.

Repo metadata downloading can take 20 seconds and that is a big delay in user
experience.
Preselecting a product is a simple way to load the data even before the user
logs in.
This is most effective when all products share the same repos (like openSUSE
Tumbleweed and openSUSE MicroOS do)

OTOH now we have preselected a product and taken that important choice away*
*: still there via Change Product, but far less prominent.
@coveralls
Copy link

Coverage Status

coverage: 71.408%. remained the same
when pulling a19692f on preload-repositories
into 32143a7 on master.

@mvidner
Copy link
Member Author

mvidner commented Jul 3, 2024

not merged, as the simple hack meant we take the product choice away from the user, and I was not able to make it work properly (keeping the product choice)

@mvidner mvidner closed this Jul 3, 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

2 participants