Giter VIP home page Giter VIP logo

Comments (12)

Hans5958 avatar Hans5958 commented on May 20, 2024 4

too late

from scratchaddons.

WorldLanguages avatar WorldLanguages commented on May 20, 2024

I believe it's too late to implement this. It's not a big deal, either. Closing

from scratchaddons.

TheColaber avatar TheColaber commented on May 20, 2024

I believe this one is worth reopening. Once we implement #390, addons that work on the editor/project page would also need to work on turbowarp's editor/project page. If we simply said for the match URL to be project, then we could have the match URL patterns for both turbowarp and scratch to link to htpps://scratch.mit.edu/projects/* and https://turbowarp.org/* (excluding the https://turbowarp.org/privacy.html page). And, if we end up supporting addons on another site, then it would be useful there too. This would also help with #646. And I think it's just easier if all the user needed to add in their addon, was just search or user

from scratchaddons.

RedGuy12 avatar RedGuy12 commented on May 20, 2024

from scratchaddons.

WorldLanguages avatar WorldLanguages commented on May 20, 2024

I believe this one is worth reopening. Once we implement #390, addons that work on the editor/project page would also need to work on turbowarp's editor/project page. If we simply said for the match URL to be project, then we could have the match URL patterns for both turbowarp and scratch to link to htpps://scratch.mit.edu/projects/* and https://turbowarp.org/* (excluding the https://turbowarp.org/privacy.html page). And, if we end up supporting addons on another site, then it would be useful there too. This would also help with #646. And I think it's just easier if all the user needed to add in their addon, was just search or user

I honestly doubt userscript made for the Scratch editor could work "as-is" on TurboWarp, so it wouldn't make sense to merge both origins into one permission - an addon might only work on the Scratch editor

from scratchaddons.

RedGuy12 avatar RedGuy12 commented on May 20, 2024

from scratchaddons.

TheColaber avatar TheColaber commented on May 20, 2024

I honestly doubt userscript made for the Scratch editor could work "as-is" on TurboWarp, so it wouldn't make sense to merge both origins into one permission - an addon might only work on the Scratch editor

I'm sure that most do, and some (like project-notes-tabs) could easily be fixed by adding an if statement to not run at all.

from scratchaddons.

TheColaber avatar TheColaber commented on May 20, 2024

I honestly doubt userscript made for the Scratch editor could work "as-is" on TurboWarp, so it wouldn't make sense to merge both origins into one permission - an addon might only work on the Scratch editor

How bout now hehe. But even so, this should 100% be implemented... for future mods.

from scratchaddons.

TheColaber avatar TheColaber commented on May 20, 2024

wl has recondered. pr soon.

from scratchaddons.

TheColaber avatar TheColaber commented on May 20, 2024

@mxmou

One reason is that there are addons that don't set their match to the forums but are closely related to them (discuss button)

In this case, the addon can manually add the tag.

There are also addons that have forum matches to implement forum-specific functionality but aren't otherwise forum addons (infinite scrolling).

I argue that infinite scrolling and other addons like that should have the forums tag, even if their effect on it is very little. Alternatively, we can check if the userscripts/userstyles have the settingMatch property. Then it will ignore its matches.

Another reason is that if we add subcategories, editor addons will need to set them explicitly anyway. Why would website addons work differently?

The editor is not different pages, whereas the forums and the profiles are.

from scratchaddons.

mxmou avatar mxmou commented on May 20, 2024

One reason is that there are addons that don't set their match to the forums but are closely related to them (discuss button)

In this case, the addon can manually add the tag.

There are also addons that have forum matches to implement forum-specific functionality but aren't otherwise forum addons (infinite scrolling).

I argue that infinite scrolling and other addons like that should have the forums tag, even if their effect on it is very little. Alternatively, we can check if the userscripts/userstyles have the settingMatch property. Then it will ignore its matches.

This would cause similar issues as the theme tag did. I don't think we should add more features that affect both functionality and categorization like that.

The forums tag should be only for addons users want to see when choosing "forums" in a menu. Maybe infinite scrolling should be one of them, but what about website dark mode?

from scratchaddons.

mxmou avatar mxmou commented on May 20, 2024

The editor is not different pages, whereas the forums and the profiles are.

It still doesn't make sense for editor addons to behave differently than website addons in any way.

from scratchaddons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.