Skip to content
Snippets Groups Projects
  1. Aug 30, 2018
  2. Aug 29, 2018
  3. Aug 28, 2018
  4. Aug 24, 2018
  5. Aug 23, 2018
  6. Aug 21, 2018
  7. Aug 20, 2018
  8. Aug 17, 2018
  9. Aug 16, 2018
  10. Aug 15, 2018
  11. Aug 13, 2018
  12. Aug 10, 2018
  13. Aug 09, 2018
  14. Aug 08, 2018
  15. Aug 07, 2018
    • Winnie Hellmann's avatar
      1c10e014
    • Clement Ho's avatar
    • Paul Slaughter's avatar
      Create Web IDE MR and branch picker · 0d6e50d5
      Paul Slaughter authored
      0d6e50d5
    • Filipa Lacerda's avatar
      Unverified
      bcdc6f31
    • Phil Hughes's avatar
      Web IDE & CodeSandbox · 7b4b9e1c
      Phil Hughes authored
      This enables JavaScripts projects to have live previews straight in the
      browser without requiring any local configuration. This uses the
      CodeSandbox package `sandpack` to compile it all inside of an iframe.
      
      This feature is off by default and can be toggled on in the admin
      settings. Only projects with a `package.json` and a `main` key are
      supported.
      
      Updates happen in real-time with hot-reloading. We just watch for
      changes to files and then send them to `sandpack` to allow it to reload
      the iframe. The iframe includes a very simple navigation bar, the text
      bar is `readonly` to stop users navigating away from the preview and
      the back and forward buttons just pop/splice the navigation stack
      which is tracked by a listener on `sandpack`
      
      There is a button inside the iframe which allows the user to open the
      projects inside of CodeSandbox. This button is only visible on
      **public** projects. On private or internal projects this button
      get hidden to protect private code being leaked into an external
      public URL.
      
      Closes #47268
      Verified
      7b4b9e1c
Loading