Commit Graph

21 Commits

Author SHA1 Message Date
GitLab Bot 6728ed6fe2 Add latest changes from gitlab-org/gitlab@master 2022-03-08 12:20:17 +00:00
GitLab Bot e173c316de Add latest changes from gitlab-org/gitlab@master 2021-05-19 06:10:37 +00:00
GitLab Bot 793d974d7c Add latest changes from gitlab-org/gitlab@master 2021-05-14 12:10:58 +00:00
GitLab Bot 1785d4e4aa Add latest changes from gitlab-org/gitlab@master 2021-04-29 21:10:03 +00:00
GitLab Bot 07c452dfa0 Add latest changes from gitlab-org/gitlab@master 2020-10-30 21:08:52 +00:00
GitLab Bot 418c3b2900 Add latest changes from gitlab-org/gitlab@master 2020-09-30 09:10:11 +00:00
GitLab Bot 6046a605fd Add latest changes from gitlab-org/gitlab@master 2020-06-22 12:08:47 +00:00
GitLab Bot 3ab4feda4d Add latest changes from gitlab-org/gitlab@master 2020-02-27 12:09:12 +00:00
Andrew Newdigate ff0b2cc61f Re-enable MethodCallWithoutArgsParentheses Cop
Re-enables and autocorrects all instances of the
Style/MethodCallWithoutArgsParentheses rule
2019-01-29 21:05:30 +02:00
Paul Slaughter 435a3d2ab5
Update IDE haml view to support EE extensions
- Also creates ide_helper for ide_data which can be extended in EE
2018-12-05 14:40:06 -06:00
Paul Slaughter 29dc365622 Resolve "Persistent banner creates problem for web ide" 2018-08-31 10:19:55 +00: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
Tim Zallmann 4d3c6f4603 Moved repo.css to its own CSS bundle to reduce the size of the main bundle 2018-07-26 08:15:13 +00:00
Phil Hughes dd17a48406
added correct help path to empty state 2018-05-29 11:06:00 +01:00
Phil Hughes 782c31a494
added empty state & YAML error state 2018-05-29 10:35:13 +01:00
Mike Greiling eb548e6eb1
adjust IDE page loading config to ensure web workers are not loaded cross-origin 2018-05-03 11:56:34 -05:00
Phil Hughes f527e6e185
Move IDE to CE
This also makes the IDE generally available
2018-03-20 14:12:48 +00:00
Phil Hughes 4927cb75e6
Remove IDE from CE 2018-03-02 08:42:02 +00:00
Tim Zallmann e79db43d2c WebIDE: Fix Commit bugs 2018-01-19 09:38:34 +00:00
Tim Zallmann 91477f6dae Resolve "Helpful and instructing Empty state for multi file editor" 2018-01-05 17:35:34 +00:00
Tim Zallmann 213e91d439 Resolve "Decouple multi-file editor from file list" 2017-12-21 15:05:47 +00:00