Skip to content

Uninstall extensions if Extensions Marketplace is disabled

Issue: Uninstall perviously installed Extensions when ... (gitlab#460284 - closed)

Description

On VSCode bootstrap, check if Extensions Marketplace was disabled since the last time the user visits Web IDE. If so, uninstall previously installed extensions and remove stale settings sync data from the backend. If the extension cleanup fails and cross origin extension host is not used, an alert message will be shown and Web IDE initialization is halted.

Dev QA:

Setup

  • Checkout this branch locally and run ./scripts/pack-web-ide-package.sh
  • In the GitLab main repo, run yarn add <path to package archive>
  • Previously installed extensions are removed from IndexedDB when Extensions Marketplace was disabled since last visit

    1.mov

  • Confirm that when Settings Sync is enabled, extensions are not re-installed

    2.mov

Edited by Cindy Halim

Merge request reports

Loading