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
Boxiang Sun
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
Hide 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
...
@@ -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
of branches. You will need to commit or discard all your changes before
switching to a different branch.
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.
> [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
The Web IDE can be used to preview JavaScript projects right in the browser.
feature uses CodeSandbox to compile and bundle the JavaScript used to preview.
This feature uses CodeSandbox to compile and bundle the JavaScript used to
On public projects, a
`Open in CodeSandbox`
button visible which will take
preview the web application. On public projects, an
`Open in CodeSandbox`
the files and contents of the project and load it into a CodeSandbox project.
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.
**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
The Client Side Evaluation feature needs to be enabled in the GitLab instances
admin settings.
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
Once it has been enabled in application settings, projects with a
and a
`main`
entry point can be previewed inside of the Web IDE. An example
`package.json`
`package.json`
file and a
`main`
entry point can be previewed inside of the Web
is below.
IDE. An example
`package.json`
is below.
```
json
```
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