Skip to content

[Task]: Playground - code #2007

@norberttech

Description

@norberttech

What needs to be done?

Currently playground code lives in browser text area only.
When it needs to be executed, wasm_controller web/landing/assets/controllers/wasm_controller.js takes the code and evaluate it as a string.

What I would like to change is that code before execution/formatting is actually saved in /workspace/code.php and wasm to execute code from that file only.

This should significantly simplify:

  • uploading code snippets to R2
  • code formatting
  • viewing/editing other files in workspace

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions