Commit Graph

23 Commits

Author SHA1 Message Date
GitLab Bot c57e10faab Add latest changes from gitlab-org/gitlab@master 2020-02-10 18:09:00 +00:00
GitLab Bot efb0c7f501 Add latest changes from gitlab-org/gitlab@master 2020-01-17 00:09:00 +00:00
Mark Lapierre 7a2bc31e38 Backport changes from EE
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8186
2019-08-29 13:07:43 +10:00
Mike Greiling 7ccd235df1
Upgrade prettier and reformat files as necessary
Upgrades prettier to 1.15.3
Runs `yarn prettier-save-all` against the codebase
Most changes are due to https://github.com/prettier/prettier/pull/5519
2019-01-14 15:29:02 -06:00
Paul Slaughter fcdb6c1968 CE Port of "Add empty and disabled web terminal tab" 2018-12-03 13:01:17 +00:00
Mike Greiling 5b9495c5db
Prettify all the things 2018-11-20 09:30:01 -06:00
Mike Greiling 69b7c032ec
Prettify ide modules 2018-10-10 01:57:50 -05:00
Paul Slaughter adbf6149cf Keep IDE RightPane views alive
**Why?**
- This is needed for the Web Terminal feature.
  https://gitlab.com/gitlab-org/gitlab-ee/issues/5426

**Notes:**
- Introduces a `pane` Vuex module.
- Some views should not be kept alive (i.e. job details).
  This is why a `keepAlive` flag was introduced for views.
2018-09-28 15:03:39 -05:00
Paul Slaughter 01a2d0f201 Refactor IDE to allow RightPane extension
**Why?**
- This is needed by the Web Terminal EE feature.
  https://gitlab.com/gitlab-org/gitlab-ee/issues/5426

**Notes:**
- RightPane component tabs is now data driven.
2018-09-26 23:11:29 -05: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
Phil Hughes f23791d831
updated icon 2018-07-05 15:44:56 +01:00
Phil Hughes acfdcca4ba
component spec 2018-07-05 15:44:56 +01:00
Phil Hughes 5495454c77
Added merge request info to Web IDE sidebar
Closes #45187
2018-07-05 15:44:52 +01:00
George Tsiolis 0f5d9d22f8 Update pipeline icon in web ide sidebar 2018-06-21 12:39:15 +03:00
Filipa Lacerda 647a4d6a3b
Updates eslint vue plugin version 2018-06-11 15:36:54 +01:00
Phil Hughes 91254c11b1
Allow IDE pipeline panel to be resizable
Closes #47538
2018-06-07 19:49:47 +01:00
Phil Hughes 8c3a2c5576
fixed sidebar button not having active class 2018-06-06 08:33:03 +01:00
Phil Hughes 90216b2066
Show job logs in web IDE
[ci skip]

Closes #46245
2018-06-06 08:33:02 +01:00
Phil Hughes 234076abcf
removed style from components & moved to repo.scss 2018-05-29 15:10:49 +01:00
Phil Hughes 6c9027f8f6
fixed up after bootstrap upgrade 2018-05-25 23:10:04 +01:00
Phil Hughes 4b4618936d
improve design of job items
allow ci icon to have a different size & be borderless
2018-05-24 11:49:57 +01:00
Phil Hughes 76ffde6318
style improvements
fixed multiple requests causing state to be emptied at wrong time
2018-05-24 10:38:02 +01:00
Phil Hughes cfe4d2f29d
added tab component 2018-05-24 10:38:02 +01:00