Commit graph

17 commits

Author SHA1 Message Date
GitLab Bot
141ef7e939 Add latest changes from gitlab-org/gitlab@master 2021-01-12 18:11:03 +00:00
GitLab Bot
b2e2c43b3c Add latest changes from gitlab-org/gitlab@master 2020-12-24 00:10:25 +00:00
GitLab Bot
95671fac6e Add latest changes from gitlab-org/gitlab@master 2020-12-14 12:09:44 +00:00
GitLab Bot
27622f7417 Add latest changes from gitlab-org/gitlab@master 2020-08-24 15:10:11 +00:00
GitLab Bot
a78d7d5c66 Add latest changes from gitlab-org/gitlab@master 2020-05-27 00:08:11 +00:00
GitLab Bot
874ead9c3a Add latest changes from gitlab-org/gitlab@master 2020-04-14 15:09:44 +00:00
GitLab Bot
603c7d4cac Add latest changes from gitlab-org/gitlab@master 2020-03-24 18:07:55 +00:00
GitLab Bot
dd4bee69b7 Add latest changes from gitlab-org/gitlab@master 2020-03-12 21:09:45 +00:00
GitLab Bot
4e375367b7 Add latest changes from gitlab-org/gitlab@master 2019-12-07 00:07:51 +00:00
GitLab Bot
d15180e00b Add latest changes from gitlab-org/gitlab@master 2019-11-06 09:06:23 +00:00
Nathan Friend
bee3c7e847 Comply with no-implicit-coercion rule (CE)
This commit is the result of running `yarn eslint --fix` after enabling
the `no-implicit-coercion` ESLint rule.  This rule has been added to
our ESLint config here:

https://gitlab.com/gitlab-org/gitlab-eslint-config/merge_requests/14
2019-06-03 22:51:02 +00:00
Mike Greiling
5b9495c5db
Prettify all the things 2018-11-20 09:30:01 -06:00
Clement Ho
8b1f2823a2 Use @gitlab npm namespace 2018-11-16 19:29:11 +00:00
Clement Ho
c4aa33fc8b Remove gitlab-ui loading icon from global 2018-11-07 10:06:15 +00:00
Clement Ho
f815b48f39 Use gitlab-ui loading icon 2018-09-11 22:19:21 +00:00
Phil Hughes
730e354117
Fixed Web IDE live preview not hot reloading 2018-08-10 16:20:08 +01:00
Phil Hughes
7b4b9e1cc4
Web IDE & CodeSandbox
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
2018-08-07 14:45:55 +01:00