Skip to content

Part 3 - Add alert to switch between legacy and new Web IDE

Paul Slaughter requested to merge 370139-add-switch-web-ide-alert into master

What does this MR do and why?

This MR introduces a dismissible (but not persistently dismissible) alert to switch between the legacy and new Web IDE experience. This alert is only visible if the Feature Flag vscode_web_ide is enabled.

Screenshots or screen recordings

Demo Dark mode Error while updating
20220918_demo Screen_Shot_2022-09-18_at_11.00.05_PM Screen_Shot_2022-09-18_at_10.58.55_PM

How to set up and validate locally

  1. Enable vscode_web_ide feature flag by opening a rails console rails c and running Feature.enable(:vscode_web_ide)
  2. Visit the Web IDE for any non-empty project.
  3. Click the links and "Switch to" button in the alert that appears at the top of the Web IDE.

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 Paul Slaughter

Merge request reports