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.
- 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)
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.