gitlab-org--gitlab-foss/app/helpers
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
..
accounts_helper.rb
active_sessions_helper.rb
appearances_helper.rb
application_helper.rb Fix merge requests data source key to be camelCase 2018-06-27 16:31:56 +05:30
application_settings_helper.rb Web IDE & CodeSandbox 2018-08-07 14:45:55 +01:00
auth_helper.rb Disable SAML if OmniAuth is disabled 2018-07-20 18:54:46 +08:00
auto_devops_helper.rb
avatars_helper.rb Add vanilla JS avatar_helper and update existing avatar helpers 2018-08-01 19:43:50 +00:00
award_emoji_helper.rb
blame_helper.rb
blob_helper.rb Refactor code for single file download in repository 2018-07-18 11:16:30 +08:00
boards_helper.rb
branches_helper.rb
breadcrumbs_helper.rb
broadcast_messages_helper.rb
builds_helper.rb
button_helper.rb Display GPG status on repository and blob pages 2018-07-23 14:58:21 +00:00
calendar_helper.rb
ci_status_helper.rb Display GPG status on repository and blob pages 2018-07-23 14:58:21 +00:00
clusters_helper.rb Resolve "Disable GCP free credit banner at instance level" 2018-07-10 13:20:05 +00:00
commits_helper.rb Remove all tooltip use from commit_person_link 2018-07-20 12:29:30 +01:00
compare_helper.rb
components_helper.rb
conversational_development_index_helper.rb
count_helper.rb
dashboard_helper.rb
defer_script_tag_helper.rb
deploy_tokens_helper.rb
diff_helper.rb
dropdowns_helper.rb
emails_helper.rb
emoji_helper.rb
environment_helper.rb
environments_helper.rb Backports relevant changes made in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5163 to CE 2018-07-25 09:39:39 +01:00
events_helper.rb
explore_helper.rb
external_wiki_helper.rb
favicon_helper.rb hint the allowed image formats on favicon upload 2018-06-06 11:28:13 +02:00
form_helper.rb
git_helper.rb
gitlab_routing_helper.rb
graph_helper.rb
groups_helper.rb Create cross project group features 2018-07-06 09:42:21 +02:00
hooks_helper.rb Changing the hook test action to use POST 2018-07-23 12:05:48 -04:00
icons_helper.rb Proper icon validator 2018-07-18 16:56:19 +00:00
import_helper.rb
instance_configuration_helper.rb
issuables_helper.rb Revert "Revert "Merge branch 'ee-5481-epic-todos' into 'master'"" 2018-08-02 10:42:45 +02:00
issues_helper.rb
javascript_helper.rb
kerberos_spnego_helper.rb
labels_helper.rb
lazy_image_tag_helper.rb
markup_helper.rb Use proper markdown rendering for previews 2018-07-06 18:49:33 +00:00
mattermost_helper.rb
members_helper.rb
merge_requests_helper.rb Performance Improvements to Vue MR page 2018-06-30 13:17:46 +00:00
milestones_helper.rb Add group milestones to dashboard milestone page 2018-08-03 19:52:37 +00:00
milestones_routing_helper.rb
namespaces_helper.rb Fix spec failures with app/helpers/namespaces_helper.rb 2018-08-01 13:19:20 -07:00
nav_helper.rb
notes_helper.rb Use proper markdown rendering for previews 2018-07-06 18:49:33 +00:00
notifications_helper.rb
numbers_helper.rb
page_layout_helper.rb
pagination_helper.rb
performance_bar_helper.rb
pipeline_schedules_helper.rb Add daylight saving time support for pipeline schedules 2018-07-10 15:22:13 +00:00
preferences_helper.rb
profiles_helper.rb Hide the status fields behind a feature flag 2018-07-30 15:01:26 +02:00
projects_helper.rb Replace author_link snake case in stylesheets, specs, and helpers 2018-07-24 10:53:59 +03:00
repository_languages_helper.rb Add repository languages for projects 2018-08-01 18:58:29 +02:00
rss_helper.rb
runners_helper.rb
safe_params_helper.rb
search_helper.rb Resolve "Frontend for clarifying the usefulness of the search bar" 2018-08-07 09:59:01 +00:00
selects_helper.rb
sentry_helper.rb
services_helper.rb
sidekiq_helper.rb
snippets_helper.rb Resolve "The comparison list for the modified icons" 2018-07-27 09:27:20 +00:00
sorting_helper.rb
storage_health_helper.rb
storage_helper.rb
submodule_helper.rb SubmoduleHelper - Project is not always available as an instance variable 2018-07-15 16:06:53 -06:00
system_note_helper.rb
tab_helper.rb
tags_helper.rb
time_helper.rb Update time_helper.rb to fix output for exact minutes. 2018-07-10 10:49:28 +00:00
todos_helper.rb Revert "Revert "Merge branch 'ee-5481-epic-todos' into 'master'"" 2018-08-02 10:42:45 +02:00
tree_helper.rb
triggers_helper.rb
user_callouts_helper.rb
users_helper.rb Show the status of a user in interactions 2018-07-30 15:01:26 +02:00
version_check_helper.rb
visibility_level_helper.rb Fix #47379 - Project visibility tooltip 2018-07-23 09:39:03 +00:00
webpack_helper.rb
wiki_helper.rb
workhorse_helper.rb Refactor code for single file download in repository 2018-07-13 09:33:35 +08:00