Skip to content

Conversation

David-Orangemoon
Copy link
Contributor

@David-Orangemoon David-Orangemoon commented Sep 26, 2025

Fixes, and updates the NGIO extension which has been degrading due to back-end updates, and my general unthoughtfulness from years ago.

It's ready

@github-actions github-actions bot added the pr: change existing extension Pull requests that change an existing extension label Sep 26, 2025
@David-Orangemoon
Copy link
Contributor Author

!Format

@David-Orangemoon
Copy link
Contributor Author

!format

Copy link

The formatting bot didn't find any formatting issues. It currently only checks the extensions folder. The author or a maintainer can run terminal command 'npm run format' manually to format all files.

@GarboMuffin
Copy link
Member

Remind me to look this weekend

@David-Orangemoon
Copy link
Contributor Author

Remind me to look this weekend

Will do once it is finished.

@David-Orangemoon
Copy link
Contributor Author

!format

@David-Orangemoon David-Orangemoon marked this pull request as ready for review September 28, 2025 04:18
@CubesterYT
Copy link
Member

Nah this isn't the fix it update, this is the weight loss update 🗣️

@David-Orangemoon
Copy link
Contributor Author

Nah this isn't the fix it update, this is the weight loss update 🗣️

A lot of it is reminifying an api prettier thought shouldn't be minifed.

@Brackets-Coder
Copy link
Contributor

@David-Orangemoon do you want this reviewed or is it still being worked on?

@David-Orangemoon
Copy link
Contributor Author

@David-Orangemoon do you want this reviewed or is it still being worked on?

I'm waiting for reviews.

@David-Orangemoon
Copy link
Contributor Author

Though I know I should add a can fetch when I get home.

@David-Orangemoon
Copy link
Contributor Author

!format

@David-Orangemoon
Copy link
Contributor Author

@Brackets-Coder ok it's ready

@Brackets-Coder
Copy link
Contributor

I'll review when I can

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.

I'm not approving or requesting changes, just wanna ask a few questions
I'm not familiar with new grounds or their API or anything so this is a very quick skim review of things that jump out at me more than a critique of the actual functionality/best practices...
I also haven't tested this yet but I normally like to before I approve

It looks like the biggest thing is just a minification of whatever library you're using but other than that it looks like you added some things related to medals and scoreboards? like I said, not very familiar...

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.

I haven't tested this because I don't have newgrounds but it looks good to me

the web editor is lagging quite a bit so other mods let me know if I missed something, I'd greatly appreciate it

@GarboMuffin
Copy link
Member

GarboMuffin commented Oct 5, 2025

I am going to wait for #2267 to finish up (soon - it has a real deadline), then this will be the first extension to use the new importing system

@Brackets-Coder
Copy link
Contributor

I am going to wait for #2267 to finish up (soon - it has a real deadline), then this will be the first extension to use the new importing system

I'd also like to wait on it to merge before #1732 and #1974, due to the size of those extensions importing will make them much smaller and more extensible

@David-Orangemoon
Copy link
Contributor Author

I am going to wait for #2267 to finish up (soon - it has a real deadline), then this will be the first extension to use the new importing system

One thing that concerns me about this is the fact that certain penguinmod projects (Since I know some use this extension) will break if Scratch.import is used due to it not existing in the PM.

@GarboMuffin
Copy link
Member

We can give them sufficient notice to copy and paste our implementations of those if we end up adding anything required at run time

@GarboMuffin
Copy link
Member

okay, changed my mind, dependency management still a bit away so i'll get this in sooner

i figure it can't be any more broken than the old version

//eslint-disable-next-line no-async-promise-executor
return new Promise(async (resolve, reject) => {
//Just do it once
const canFetch = await Scratch.canFetch("https://www.newgrounds.io/");
Copy link
Member

Choose a reason for hiding this comment

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

was going to ask about this. thanks for thinking about it

Copy link
Member

@GarboMuffin GarboMuffin left a comment

Choose a reason for hiding this comment

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

i made two changes

  • one is just copying and pasting the built library from the original github again to ensure that there was no tampering (don't think there was)
  • one is to remove innerhtml usage

if you can check that i didn't break anything bad this can merge whenever

@Brackets-Coder
Copy link
Contributor

Brackets-Coder commented Oct 7, 2025

i made two changes

  • one is just copying and pasting the built library from the original github again to ensure that there was no tampering (don't think there was)
  • one is to remove innerhtml usage

if you can check that i didn't break anything bad this can merge whenever

I'll check as well but we can merge whenever you like

@Brackets-Coder
Copy link
Contributor

Brackets-Coder commented Oct 7, 2025

Alright we're all good I suppose the only thing that's keeping this from officially ready is @David-Orangemoon's approval

@David-Orangemoon
Copy link
Contributor Author

Looks good @Brackets-Coder

@GarboMuffin GarboMuffin merged commit 5717dfd into TurboWarp:master Oct 8, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: change existing extension Pull requests that change an existing extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants