Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 34,852
    • Issues 34,852
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1,208
    • Merge Requests 1,208
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #27144

Closed
Open
Opened Mar 05, 2019 by James Ramsay@jramsay☀Maintainer0 of 3 tasks completed0/3 tasks

GitLab hosted Codesandbox

Codesandbox can be self hosted quite easily by hosting the static sandpack script on a custom domain. It interacts directly with the https://unpkg.com/ CDN, removing the previous requirement of also operating a packager.

GitLab currently defaults to the Codesandbox.io domain. We should use a GitLab domain (e.g. gitlab-sandbox.com) and enable the feature by default for self hosted instances.

Proposal

  • Serve the required javascript from the GitLab.com CDN (non-versioned domain) - gitlab-com/gl-infra/infrastructure#6709 (closed)
  • Configure GitLab to talk to the GitLab.com hosted version
  • Update documentation for enabling Client Side Evaluation

Not in Scope

  • Making the Codesandbox URL Configurable - #208161
  • Defaulting the checkbox to enable the feature to on - #205365 (closed)

Documentation

The docs around enabling Client Side Evaluation should be updated to reflect the assets are served from a GitLab hosted domain, but be clear that it runs the latest version required for GitLab.com and may cause incompatibility with older versions of GitLab.

Links / references

https://docs.gitlab.com/ee/user/project/web_ide/index.html#enabling-client-side-evaluation

Edited Feb 26, 2020 by Kai Armstrong
Assignee
Assign to
12.9
Milestone
12.9 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab#27144