1. 06 Dec, 2018 2 commits
  2. 16 Nov, 2018 1 commit
  3. 31 Oct, 2018 1 commit
  4. 02 Oct, 2018 1 commit
  5. 05 Sep, 2018 1 commit
  6. 30 Aug, 2018 1 commit
  7. 07 Aug, 2018 1 commit
    • 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
      7b4b9e1c
  8. 25 Jul, 2018 1 commit
  9. 08 Jun, 2018 1 commit
  10. 05 Jun, 2018 2 commits
  11. 20 Feb, 2018 3 commits
  12. 25 Jan, 2018 1 commit
  13. 18 Jan, 2018 1 commit
  14. 16 Nov, 2017 1 commit
  15. 15 Nov, 2017 1 commit
  16. 18 Oct, 2017 1 commit
  17. 22 Sep, 2017 1 commit
  18. 16 Sep, 2017 1 commit
  19. 04 Sep, 2017 1 commit
  20. 01 Sep, 2017 1 commit
  21. 07 Aug, 2017 1 commit
  22. 10 Apr, 2017 2 commits
  23. 09 Apr, 2017 1 commit
  24. 05 Apr, 2017 1 commit
    • Jacob Schatz's avatar
      Load a preview of Sketch 43 files · fd8a4078
      Jacob Schatz authored
      Sketch 43 files are technically a zip file, so the JavaScript opens the
      zip file & locates a preview.png which is just a quick preview of the
      last sketch page edited. After that is loaded it simply places the image
      into the DOM
      fd8a4078
  25. 21 Feb, 2017 1 commit
  26. 09 Feb, 2017 2 commits
  27. 14 Jan, 2017 1 commit
  28. 28 Oct, 2016 1 commit
  29. 26 Jul, 2016 1 commit
  30. 29 Jun, 2016 1 commit
  31. 07 Jun, 2016 1 commit
  32. 06 Jun, 2016 3 commits