oso icon indicating copy to clipboard operation
oso copied to clipboard

Replace monaco editor with codemirror

Open ravenac95 opened this issue 2 months ago • 1 comments

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

ravenac95 avatar Oct 29 '25 22:10 ravenac95

OSO-1238

linear[bot] avatar Oct 29 '25 22:10 linear[bot]

@IcaroG I think this is done right?

ryscheng avatar Dec 05 '25 14:12 ryscheng

Yes! Thank you

IcaroG avatar Dec 05 '25 15:12 IcaroG