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

Vanilla repl 2 #863

Merged
merged 9 commits into from Dec 14, 2023
Merged

Vanilla repl 2 #863

merged 9 commits into from Dec 14, 2023

Conversation

felixroos
Copy link
Collaborator

@felixroos felixroos commented Dec 14, 2023

second take on #779

this time keeping the existing repl as is and only duplicating logic to the codemirror package.
It should make sense to test this thoroughtly before replacing anything of the existing repl.

the good news: the editor (codemirror) with all its features now runs completely on vanilla js.

- add themes from react package
- add Autocomplete from react package
- handle dynamic extensions
- handle keyboard shortcuts
- make StrudelMirror as capable as Repl
@felixroos felixroos mentioned this pull request Dec 14, 2023
6 tasks
@felixroos felixroos marked this pull request as ready for review December 14, 2023 13:54
@felixroos
Copy link
Collaborator Author

I've now added back the /vanilla route where the new vanilla implementation can be tested without interfering with the / route. I'd say this is ready to merge, the many lines are mostly the duplicated themes, the lockfile and the new examples (strudelmirror + /vanilla route). When this turns out fine, the next PR can replace the / route with the new logic + remove a LOT of code

@felixroos felixroos merged commit 35a4f98 into main Dec 14, 2023
2 checks passed
@felixroos felixroos deleted the vanilla-repl-2 branch December 14, 2023 20:28
@felixroos felixroos mentioned this pull request Dec 28, 2023
3 tasks
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.

None yet

1 participant