Skip to content

Conversation

scratch-craft-2
Copy link

@github-actions github-actions bot added the pr: new extension Pull requests that add a new extension label Apr 26, 2025
@Brackets-Coder
Copy link
Contributor

You'll want to do this in a separate branch so it's not in the master branch. Inside your fork of Turbowarp/extensions, you should have one branch per extension so it's easier to manage pull requests. When you're done that I might give it a review if I have time.

@scratch-craft-2
Copy link
Author

Вы должны сделать это на отдельной ветке, чтобы она не была на главной ветке. Внутри вашей вилки Turbowarp/расширений у вас должна быть одна ветка расширения, чтобы было проще управлять запросами на извлечение. Когда вы это сделаете, я, возможно, сделаю обзор, если у меня будет время.

I don't really understand you... I kind of did everything, entered what was needed, he wrote the code on a separate repository, in all the necessary folders. well, the code went a little wrong and the bot didn't pass, but I've changed it now. please add an extension, I tried very hard.
if something is wrong, tell me what needs to be changed.

@scratch-craft-2
Copy link
Author

You'll want to do this in a separate branch so it's not in the master branch. Inside your fork of Turbowarp/extensions, you should have one branch per extension so it's easier to manage pull requests. When you're done that I might give it a review if I have time.

I kindly ask you to restart the bot check and tell me exactly what I need to do.

@scratch-craft-2
Copy link
Author

You'll want to do this in a separate branch so it's not in the master branch. Inside your fork of Turbowarp/extensions, you should have one branch per extension so it's easier to manage pull requests. When you're done that I might give it a review if I have time.
Have I fixed the errors in the code, when will the bot recheck the code?, and please explain exactly what I should do, I really don't know English.

@scratch-craft-2
Copy link
Author

should I delete the folder and get the file from it, or what should I do?

You'll want to do this in a separate branch so it's not in the master branch. Inside your fork of Turbowarp/extensions, you should have one branch per extension so it's easier to manage pull requests. When you're done that I might give it a review if I have time.

Copy link

@yuri-kiss yuri-kiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

images should try to not contain any text as it is nearly impossible to translate.

everything in this extension already exists in a multitude of other extensions on the gallery so it has little to 0 chance of being merged, sorry.

aside from this run prettier

@@ -0,0 +1,72 @@
// Name: Modals
// ID: htmlalert

This comment was marked as abuse.

@@ -0,0 +1,72 @@
// Name: Modals
// ID: htmlalert
// Description: This extension adds modal dialog boxes.

This comment was marked as abuse.

getInfo() {
return {
id: "htmlalert",
name: "modals",

This comment was marked as abuse.

{
opcode: "alertb",
blockType: Scratch.BlockType.COMMAND,
text: "alert [textia]",

This comment was marked as abuse.

getInfo() {
return {
id: "htmlalert",
name: "modals",

This comment was marked as abuse.

{
opcode: "Confirmb",
blockType: Scratch.BlockType.BOOLEAN,
text: "confirm [textic]",

This comment was marked as abuse.

{
opcode: "Promptb",
blockType: Scratch.BlockType.REPORTER,
text: "prompt [textip], default value: [classic]",

This comment was marked as abuse.

};
}
alertb(args) {
alert([args.textia]);

This comment was marked as abuse.

@yuri-kiss

This comment was marked as abuse.

Copy link
Contributor

@PPPDUD PPPDUD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You watermarked the console logs with your username‽ What would happen if someone else cleaned up your code in the future? You would be hogging all the credit up!

@PPPDUD

This comment was marked as outdated.

@PPPDUD PPPDUD self-assigned this Sep 13, 2025
Copy link
Contributor

@Brackets-Coder Brackets-Coder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably won't be merged since it's functionality can somewhat be recreated with either existing extensions or ones in existing PRs, but I'm going to need @CubesterYT to probably take a look.

Overall add translate and follow TW best practices, also needs to be in a separate branch and not the master branch

This is just a quick skim review so let me know if I missed anything.

@@ -0,0 +1,72 @@
// Name: Modals
// ID: htmlalert
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to contain your username

Suggested change
// ID: htmlalert
// ID: scratchCraftHTMLAlert

class modals {
getInfo() {
return {
id: "htmlalert",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ID needs to match the one at the top and contain a username

Suggested change
id: "htmlalert",
id: "scratchCraftHTMLAlert",

Comment on lines +61 to +69
alertb(args) {
alert([args.textia]);
}
Promptb(args) {
return prompt([args.textip], [args.classic]);
}
Confirmb(args) {
return confirm([args.textic]);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arguments should use Scratch.cast, also why are you wrapping all of them in square brackets?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't contain text, it can't be translated.

@Brackets-Coder Brackets-Coder changed the title Created the mondals extension. I want to add it to the turbowarp extension library. Add Modals Extension Sep 13, 2025
@CubesterYT
Copy link
Member

Yeah this PR should be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: new extension Pull requests that add a new extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants