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

[SUGGESTION] Add an API for Custom Editor Modals. #1005

Open
hammouda101010 opened this issue Mar 10, 2025 · 2 comments
Open

[SUGGESTION] Add an API for Custom Editor Modals. #1005

hammouda101010 opened this issue Mar 10, 2025 · 2 comments

Comments

@hammouda101010
Copy link

Discussed on discord: https://discord.com/channels/837024174865776680/1132437506655268926/1347935639546363985

I would think of the ability of adding an API for making custom modals on TurboWarp that would look like this:

Image

I think it could look something like this:

// The default modals
Scratch.gui.prompt()
Scratch.gui.alert()
Scratch.gui.confirm()

// @yuri-kiss suggested to make the API simillar to the addons API.

To be honest it kinda looks like a new JS framework, but it would be cool to see this in action.
so @GarboMuffin , could you please add this to the Scratch API?

@hammouda101010
Copy link
Author

ported from TurboWarp/extensions#2016

@LilyMakesThings
Copy link

I must've brought this up before, I'm in full support of something like this.

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

No branches or pull requests

2 participants