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

Feature: Sets different fallback chains. #2431

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

vidorteg
Copy link
Contributor

This PR introduces two different ways to fallback to the devtools version displayed by the extension:

Before:
We got the version from the storage, if that did not existed or failed, we got the one from the browser and if that failed we got the one from the CDN. This whole process was async and could take up to ~5s leaving the users with the question if the tool was working or not.

After:
User has the ability to select the fallback chain by selecting the browser flavor. If the user wants a specific version (browserFlavor) the extension will behave in the same way as before, otherwise the first thing we will try to get is a working version of the tools from the CDN fallback address. This process takes less than 1s, making it faster for most of the users

@vidorteg vidorteg merged commit 99ca580 into main Sep 18, 2024
6 checks passed
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