-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft/product-reframing #209
Merged
Merged
Changes from 19 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
f6a2e0e
Restructure docs and add replace sandbox docs
necoline 726af29
Remove reference to cloud sandboxes
necoline 1d21745
feat: fix image url
necoline 601f97f
language tweak
necoline 55c8f64
language tweak
necoline fb848b1
language tweak
necoline 62f719c
language tweak
necoline 8696c46
language tweak
necoline e691b22
language tweak
necoline 824cdcd
language tweak
necoline 9cb923a
language tweak
necoline 32f934a
language tweak
necoline 927c384
language tweak
necoline 2de1ca3
refactor: Additional orgnization changes
necoline 71a4aac
Merge branch 'draft/brave-blackburn' of https://github.com/codesandbo…
necoline 5549755
feat: Update Devbox Documentation
filipelima18 718f30a
feat: Updated Sandboxes and AI documentation
necoline 2dcb5b5
Update codeium.mdx
necoline 071649d
feat: Updated Codeium code autocomplete
filipelima18 e171eb7
Merge branch 'main' into draft/brave-blackburn
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...projects-docs/pages/learn/boxy/_meta.json → ...s/projects-docs/pages/learn/ai/_meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"overview": "Overview", | ||
"boxy": "Boxy", | ||
"codeium": "Codeium", | ||
"getting-started": "Getting Started", | ||
"faqs": "FAQs" | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: Codeium code auto-complete | ||
description: Introduction to the AI-powered code generator | ||
--- | ||
|
||
import { Callout } from 'nextra-theme-docs' | ||
|
||
|
||
# Codeium code autocomplete | ||
|
||
Codeium is an incredible AI-powered developer toolkit. Their code completion tool provides single and multi-line code generation with multiple suggestions to choose from. It supports 70+ programming languages, so it’s a perfect fit with our Devboxes, which can also run any type of project. | ||
|
||
![Codeium example](../images/codeium-example.png) | ||
|
||
## Getting started | ||
|
||
Codeium code completion is now available for free to every CodeSandbox user on [Devboxes](https://codesandbox.io/dashboard/recent?create_devbox=true). | ||
|
||
If you have your AI settings enabled, you will get AI autocomplete working in your code immediately. Note that we disable AI permission toggles by default, so if you have not yet enabled them, you will have a chance to do so through our announcement interfaces or through the workspace settings. | ||
|
||
## Settings and configuration | ||
|
||
In the workspace settings, you will see an option to turn on AI for Devboxes and Repositories in the workspace. | ||
If you want to override these settings for a particular Repository or Devbox, you can open the editor, navigate to _Settings > Preferences_ and turn off the AI option. This will deactivate AI for all users accessing the Devbox or repo. | ||
|
||
## Security & privacy | ||
|
||
By using Codeium you are accepting their terms and conditions. | ||
You can read more about their terms of service on the [Codeium website](https://codeium.com/terms-of-service-individual). | ||
|
||
Here is a short list of their security & privacy policies: | ||
- Opt-out for code snippet telemetry. | ||
- Never train generative models on private code. | ||
- SOC 2 compliance. | ||
- No training on non-permissively licensed code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -13,10 +13,10 @@ All CodeSandbox AI tools are available for Pro users. To enable these features, | |||||
Once you grant AI permissions, CodeSandbox will send information about the event to OpenAI for analysis. Under no circumstances will we send any event data to OpenAI without explicit instruction to do so. We will only share selected event data with OpenAI after you toggle on these permissions. OpenAI does not use the event data shared via this feature to train its AI models. To learn more about our privacy agreement with OpenAI, check out our [Privacy page](https://codesandbox.io/legal/privacy). | ||||||
|
||||||
## Running AI | ||||||
Once permissions have been granted, you need to restart the VMs for the changes to take effect. You can do this by selecting `Restart Branch` in the main menu. If you are in a cloud sandbox, the option will read `Restart Sandbox`. | ||||||
Once permissions have been granted, you need to restart the VMs for the changes to take effect. You can do this by selecting `Restart Branch` in the main menu. If you are in a Devbox, the option will read `Restart Sandbox`. | ||||||
|
||||||
## Boxy for Sandboxes | ||||||
Boxy is available only on repositories and cloud sandboxes. If you want the support of Boxy in your browser sandbox, you can easily [convert your sandbox](/tutorial/convert-browser-sandbox-cloud) using the options in the toolbar. | ||||||
Boxy is available only on repositories and Devboxes. If you want the support of Boxy in your Sandbox, you can easily [convert your sandbox](/tutorial/convert-browser-sandbox-cloud) using the options in the toolbar. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
|
||||||
|
54 changes: 0 additions & 54 deletions
54
packages/projects-docs/pages/learn/browser-vs-cloud-sbx.mdx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"overview": "Overview", | ||
"your-first-sandbox": "First-Time Setup", | ||
"embedding": "Embedding", | ||
"secrets": { | ||
"title": "Secrets", | ||
"href": "/learn/environment/secrets" | ||
}, | ||
"templates": "Templates", | ||
"synced-templates": "Synced Templates" | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: Editors | ||
description: | ||
--- | ||
|
||
import { Tabs, WrapContent } from '../../../../../shared-components/Tabs' | ||
import { Callout } from 'nextra-theme-docs' | ||
import Video from '../../../../../shared-components/Video' | ||
|
||
|
||
# Editors | ||
|
||
CodeSandbox offers two different development environments: a browser-based Sandbox and cloud-based Devbox. | ||
|
||
<Tabs tabs={["Devbox", "Sandbox"]}> | ||
<WrapContent> | ||
Devboxes run inside a Firecracker MicroVM and use memory snapshotting to ensure fast fork time and wake-up time. They can run anything that you would be able to run in your local environment, including Docker containers. You can learn more about how they work in our [blog post](https://codesandbox.io/blog/how-we-clone-a-running-vm-in-2-seconds). | ||
|
||
Devboxes are best used to run backend services, compiled languages and things like databases. | ||
|
||
The Devbox editor contains a set of features to increase the accessibility of complex tools like git, setup, review flows, contributions, and visualizing components. | ||
|
||
</WrapContent> | ||
<WrapContent> | ||
Sandboxes run fully in the browser, and are especially useful to run frontend JavaScript/TypeScript frameworks. If you would like to run backend services or databases, check Devboxes. | ||
|
||
</WrapContent> | ||
</Tabs> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs an update, but I couldn't find the button anymore on stream.