Skip to content

Set up Web IDE get started walkthrough

What does this MR do and why?

The new Web IDE displays a Get Started walkthrough that communicates to the user how to leave feedback and how to switch to the legacy IDE if needed. This Merge Request passes the feedback issue and the user preferences page URLs to the IDE initialization function.

CSP frame-src configuration

The Get Started walkthrough loads Markdown and image assets that we introduced in gitlab-web-ide!86 (merged). VSCode uses a proxy CDN to load these files because extensions run in a sandboxed environment. This Merge Request adds the Content Security Policy clause that allows iframe requests coming from https://*.vscode-cdn.net/.

Screenshots or screen recordings

Give the new IDE a spin Let us know what you think
Screen_Shot_2022-12-07_at_11.38.40_AM Screen_Shot_2022-12-06_at_11.32.13_AM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Enable the vscode_web_ide feature flag.
  2. Ensure that the "Use legacy web ide" checkbox is unchecked on the User Preferences page.
  3. Open the Web IDE in any project in your local environment.
  4. You should see the Get Started walkthrough.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #370139 (closed)

Edited by Enrique Alcántara

Merge request reports