Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
db86214e
Commit
db86214e
authored
Aug 13, 2018
by
James Ramsay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs and compress images
parent
132f3545
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
13 deletions
+15
-13
doc/user/project/web_ide/img/admin_clientside_evaluation.png
doc/user/project/web_ide/img/admin_clientside_evaluation.png
+0
-0
doc/user/project/web_ide/img/clientside_evaluation.png
doc/user/project/web_ide/img/clientside_evaluation.png
+0
-0
doc/user/project/web_ide/index.md
doc/user/project/web_ide/index.md
+15
-13
No files found.
doc/user/project/web_ide/img/admin_clientside_evaluation.png
View replaced file @
132f3545
View file @
db86214e
8.12 KB
|
W:
|
H:
9.12 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/user/project/web_ide/img/clientside_evaluation.png
View replaced file @
132f3545
View file @
db86214e
82.6 KB
|
W:
|
H:
58.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/user/project/web_ide/index.md
View file @
db86214e
...
...
@@ -72,28 +72,30 @@ leaving the Web IDE. Click the dropdown in the top of the sidebar to open a list
of branches. You will need to commit or discard all your changes before
switching to a different branch.
## Client
s
ide Evaluation
## Client
S
ide Evaluation
> [Introduced in](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19764) [GitLab Core][ce] 11.2.
The Web IDE can be used to preview JavaScript projects right in the browser. This
feature uses CodeSandbox to compile and bundle the JavaScript used to preview.
On public projects, a
`Open in CodeSandbox`
button visible which will take
the files and contents of the project and load it into a CodeSandbox project.
The Web IDE can be used to preview JavaScript projects right in the browser.
This feature uses CodeSandbox to compile and bundle the JavaScript used to
preview the web application. On public projects, an
`Open in CodeSandbox`
button is visible which will transfer the contents of the project into a
CodeSandbox project to share with others.
**Note**
this button is not visible on private or internal projects.
![
Web IDE Client
s
ide Evaluation
](
img/clientside_evaluation.png
)
![
Web IDE Client
S
ide Evaluation
](
img/clientside_evaluation.png
)
### Enabling Client
s
ide Evaluation
### Enabling Client
S
ide Evaluation
The Clientside Evaluation feature needs to be enabled inside of the GitLab instances
admin settings.
The Client Side Evaluation feature needs to be enabled in the GitLab instances
admin settings. Client Side Evaluation is enabled for all projects on
GitLab.com
![
Admin Client
s
ide Evaluation setting
](
img/admin_clientside_evaluation.png
)
![
Admin Client
S
ide Evaluation setting
](
img/admin_clientside_evaluation.png
)
Once it has been enabled in application settings, projects with a
`package.json`
file
and a
`main`
entry point can be previewed inside of the Web IDE. An example
`package.json`
is below.
Once it has been enabled in application settings, projects with a
`package.json`
file and a
`main`
entry point can be previewed inside of the Web
IDE. An example
`package.json`
is below.
```
json
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment