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

Add SuperAlert #735

Closed
wants to merge 8 commits into from
Closed

Add SuperAlert #735

wants to merge 8 commits into from

Conversation

0832k12
Copy link
Contributor

@0832k12 0832k12 commented Jul 13, 2023

An extension can open an Alert at the center of screen.
image

@Drago-Cuven
Copy link

can you make options for the user to press? like (yes, no) (accept, cancel) etc

@ghost
Copy link

ghost commented Jul 13, 2023

Why are the blocks in chinese?

@CST1229
Copy link
Collaborator

CST1229 commented Jul 13, 2023

Why are the blocks in chinese?

Probably because the extension's creator is Chinese.

@SharkPool-SP
Copy link
Collaborator

Can you add more blocks that can customize the alert box? Here is some concept blocks I made (that do work, so this is possible):
Screen Shot 2023-07-20 at 11 11 52 AM
Heres the .js file with the blocks. If you use this, you don't have to give me credit:
New Alert Blocks.js.zip

@0832k12
Copy link
Contributor Author

0832k12 commented Jul 21, 2023

That 's a good advice.

@0832k12
Copy link
Contributor Author

0832k12 commented Jul 21, 2023

image
image

@SharkPool-SP
Copy link
Collaborator

image image

SICK!!!! How did you get the select color block argument?

@yuri-kiss
Copy link
Contributor

image image

SICK!!!! How did you get the select color block argument?

Scratch.ArgumentType.COLOR

@SharkPool-SP
Copy link
Collaborator

image image

SICK!!!! How did you get the select color block argument?

Scratch.ArgumentType.COLOR

Oh ok, thanks!

Copy link
Contributor

@NexusKitten NexusKitten left a comment

Choose a reason for hiding this comment

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

Also change the JS and extensions.json to comply with the new policies in CONTRIBUTING.md.
Looking forward to this extension.

},
],
menus: {
textOptions: [

This comment was marked as spam.

{ text: 'Title', value: 'Title' },
{ text: 'Content', value: 'Content' },
],
alignmentOptions: [

This comment was marked as spam.


getInfo() {
return {
id: 'tc',

This comment was marked as spam.

getInfo() {
return {
id: 'tc',
name: Scratch.translate({ id: 'name', default: 'Alert' }),

This comment was marked as spam.

this.contentSize = 16;
this.outlineSize = 1;
}
d() {

This comment was marked as spam.

{ text: 'Center', value: 'center' },
{ text: 'Right', value: 'right' },
],
fontOptions: [

This comment was marked as spam.

@SharkPool-SP
Copy link
Collaborator

can you make options for the user to press? like (yes, no) (accept, cancel) etc

I did this in Better Input

@LilyMakesThings
Copy link
Contributor

can you make options for the user to press? like (yes, no) (accept, cancel) etc

I did this in Better Input

sir this is the pr for superalert
image

@SharkPool-SP
Copy link
Collaborator

can you make options for the user to press? like (yes, no) (accept, cancel) etc

I did this in Better Input

sir this is the pr for superalert image

ma'am, we are both using CSS. I have no argument but still. Work is already done lmao

@Cbr2011
Copy link

Cbr2011 commented Aug 27, 2023

i like to see this extension be merged.
i also like if every time the user clicks out of the popup or ESC is pressed, The popup closes

@SharkPool-SP
Copy link
Collaborator

i like to see this extension be merged.
i also like if every time the user clicks out of the popup or ESC is pressed, The popup closes

Just use an if statement and close the box if true

@Cbr2011
Copy link

Cbr2011 commented Aug 27, 2023

i like to see this extension be merged.
i also like if every time the user clicks out of the popup or ESC is pressed, The popup closes

Just use an if statement and close the box if true

oh ok

@yuri-kiss
Copy link
Contributor

guys we love XSS

@yuri-kiss
Copy link
Contributor

i mean this pull seems dead but this extension has XSS in it.
image

@CubesterYT
Copy link
Collaborator

W xss /j

@0832k12 0832k12 closed this Nov 2, 2023
@CubesterYT
Copy link
Collaborator

Why was this closed?

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.

9 participants