Skip to content

Conversation

Rich-Harris
Copy link
Member

This continues the work started in #430, and fixes #439 and #449. It's not what I'd call perfect — I want to move the diagnostics handling into Workspace, and I'm not in love with the way AppControls.svelte calls methods exposed by Repl.svelte, though it sure is handy that that's possible — but it feels way more solid than it did before.

Essentially, this moves all the EditorState handling into Workspace, where it belongs, rather than in Editor.svelte where it was necessary to mess around with $effect in a convoluted and inefficient manner. Having the logic in one place makes everything somewhat easier to follow.

@vercel
Copy link

vercel bot commented Oct 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
omnisite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 19, 2024 1:14am

@Rich-Harris Rich-Harris merged commit 6e91d6a into main Oct 19, 2024
3 checks passed
@Rich-Harris Rich-Harris deleted the robustify-workspace branch October 19, 2024 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't type into a newly created file in the playground

1 participant