oso
oso copied to clipboard
Replace monaco editor with codemirror
I think we should explore using code-mirror as the editor for things like models. It's the same editor that we have on our notebooks (from marimo) and it is apparently faster and more extensible than monaco.
Other niceties:
- Rendering multiple editors on the same page is better because it doesn't have global state like monaco (might be necessary if/when we start showing multiple pieces of code at once of different language types).
- Works well on mobile
- Lighter weight
Some resources
@IcaroG I think this is done right?
Yes! Thank you