Skip to content
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

Web playground #53

Open
11 tasks
chrisberkhout opened this issue Feb 22, 2024 · 0 comments
Open
11 tasks

Web playground #53

chrisberkhout opened this issue Feb 22, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@chrisberkhout
Copy link
Contributor

I'll prototype this in the Mito repo and we can decide later where it should live.

Features

  • Run the equivalent of mito -data state.json program.cel in the browser and inspect output
  • Press a button for additional evaluations using state from the previous output
  • Evaluation history
  • Accumulation of events
  • History organized into chains grouped by initial state and program version
  • Sharing of a program and initial state
  • Capture and inspection of HTTP requests and responses
  • Sharing of full history and deep links to various items?
  • Load program and state (keys, default values) from a CEL-input integration
  • Provide state in JSON or YAML
  • Generate a skeleton integration with input config based on a program and initial state

Approach

Compiling Mito to WASM would let everything run in the browser, as was done for the CEL and Beats playgrounds linked below.

I plan to begin using a server for running the Mito code and reevaluate when the UI is further along. A potential complication of full WASM is getting external requests working as intended.

Related links

@chrisberkhout chrisberkhout added the enhancement New feature or request label Feb 22, 2024
@chrisberkhout chrisberkhout self-assigned this Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant