Skip to content

Conversation

@abose
Copy link
Member

@abose abose commented Nov 21, 2024

Problem

The extension registry (extensions/registry/registry.json), which is approximately 1.5MB in size, takes noticeable time to download, causing delays in the user experience. Users have reported frustration with this delay, particularly when opening the extension manager for the first time.
image

To address this

we have packaged a local copy of the registry in the src/extensions/registry/ folder, to load extension manager instantly on the first launch, even if the online registry is still downloading.

  • Behavior on First Launch:

    • The local copy of the registry is loaded to display extensions instantly. While this local registry may be outdated if the installer is old, it provides immediate functionality.
  • Updating the Registry:

    • When the user opens the extension manager, the application downloads the latest registry in the background.
    • A visual indicator in the status bar informs the user about the ongoing update. Once downloaded, the updated registry replaces the outdated one, ensuring users see the most recent extensions.

image

@sonarqubecloud
Copy link

@abose abose merged commit 8b00b46 into main Nov 21, 2024
17 checks passed
@abose abose deleted the ter branch November 21, 2024 11:06
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