phcode-dev / phoenix

Phoenix is a modern open-source Code Editor for the web, built for the browser.
https://phcode.io
GNU Affero General Public License v3.0
1.79k stars 124 forks source link

chore: extension registry embed in distributable for better first use UX #1937

Closed abose closed 5 days ago

abose commented 5 days ago

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.

image

sonarcloud[bot] commented 5 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud