Commit d02b9bb
authored
Executor Refactor (codesandbox#2060)
* Initial executor commit
* CLeanup
* Update the terminal logic
* Intermediate
* Update packages/app/src/app/components/Preview/DevTools/Terminal/index.tsx
Co-Authored-By: Michaël De Boey <[email protected]>
* Update packages/app/src/app/components/Preview/DevTools/Terminal/index.tsx
Co-Authored-By: Michaël De Boey <[email protected]>
* Update packages/app/src/app/store/modules/server/actions.js
Co-Authored-By: Michaël De Boey <[email protected]>
* Update packages/app/src/app/components/Preview/DevTools/Terminal/index.tsx
Co-Authored-By: Michaël De Boey <[email protected]>
* Fix syntax error
* Remove server logic from preview
* Fix rendering and moving of terminals
* Build executors in CI
* Fix terminal rendering
* Improve rendering and overlay messages of terminal
* Allow non-signed in users to see terminal
* Connect to stream
* Allow for custom URLs
* Move tabs logic to store
* Move DevTools logic to store
* Ports
* Fix embeds
* Reinitializing sandbox
* Fix container state
* Fix typecheck and test
* Allow executors to build
* Fix hibernate status
* Fix types
* Add savedCode to Module
* Apply suggestions from code review
Co-Authored-By: Michaël De Boey <[email protected]>
* Update packages/app/src/app/components/Preview/DevTools/index.tsx
Co-Authored-By: Michaël De Boey <[email protected]>
* Only show overlay for unrecoverable server errors
* Prisma extension
* Show container errors that are recoverable as warnings instead
* Server status: refactor messages.
* Close SSE websocket when sandbox hibernates.
* Update socket.io-client to 2.2.0.
* SSE: Show "sandbox started" message.
* Bump CircleCI cache keys version.
* Small syntax tweaks
* DevTools: refactor to flexbox.
* Remove unused heights.
* Fix terminal sizing initially and resize sending
* Save the workspace config in store if sandbox is not owned
* Make function implicit return
* sse-loading-screen updates:
- updated socket.io-client to 2.2.0
- added ports support
* Update browser tests to use sandboxes repository.1 parent 79eb3f3 commit d02b9bb
File tree
116 files changed
+4729
-1676
lines changed- packages
- app
- integration-tests/browser-tests
- scripts
- src
- app
- components
- CodeEditor
- Preview/DevTools
- Browser
- Console
- Tabs
- TabDropZone
- Tab
- Terminal
- ShellTabs
- Shell
- overmind/namespaces
- editor
- files
- git
- pages
- Dashboard/Content/SandboxCard
- Sandbox/Editor
- Content
- Preview
- DevTools
- Tabs/Tab
- __snapshots__
- Workspace/items/Server
- store
- modules
- editor
- preferences
- server
- providers
- utils
- vscode
- embed/components/Content
- sandbox/eval
- codesandbox-api/src
- dispatcher
- errors
- common
- src
- components/Preview
- templates
- devtools
- executors
- src
- standalone-packages
- sse-loading-screen
- src
- vscode-extensions/out/extensions
- prisma.prisma-0.0.12
- out/src
- src
- syntaxes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
116 files changed
+4729
-1676
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
72 | | - | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | | - | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
93 | | - | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | | - | |
| 99 | + | |
98 | 100 | | |
99 | | - | |
| 101 | + | |
100 | 102 | | |
Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments