Content-Length: 286407 | pFad | https://github.com/microsoft/pxt-microbit/issues/6011

FF Feature request: A way to hide an approved extension from the search results · Issue #6011 · microsoft/pxt-microbit
Skip to content

Feature request: A way to hide an approved extension from the search results #6011

@microbit-carlos

Description

@microbit-carlos

Is your feature request related to a problem? Please describe.
We currently have an approved extension (pxt-micrbit-ml), which to be useful needs additional files to be injected by a different environment that embeds MakeCode.
So, this extension doesn’t offer any usable functionality on its own, and doesn't make much sense for a normal MakeCode user to add it to their project.

Describe the solution you'd like
It would be useful to have something like a flag in pxt.json file, to be able to hide an extension from the search.

Describe alternatives you've considered
There is already a hidden key in PackageConfig, but it must have a different purpose as it didn't work in our tests.
https://github.com/microsoft/pxt/blob/v11.3.1/localtypings/pxtpackage.d.ts#L82

We also tried removing the for PXT/microbit metadata from the extension README file, but that didn't work either.

In this case the extension needs to be approved, as it contain an editor extension as well, so removing it from the approval list would not be an option.

Additional context
N/A

Activity

ramseyball

ramseyball commented on Dec 4, 2024

@ramseyball

Try this in your pxt.json

    "hidden": true,
    "searchOnly": true,
microbit-carlos

microbit-carlos commented on Dec 6, 2024

@microbit-carlos
CollaboratorAuthor

Thanks @ramseyball!
I've just tested it with an approved extension and it still appears on the search (and adding the extension to a project links to the latest version, which does include the changes in pxt.json). So it looks like this might need to be implemented in pxt/pxt-microbit.

abchatra

abchatra commented on Apr 29, 2025

@abchatra
Collaborator

@microbit-carlos why approve it if you don't want it to be in search. That is the only additional feature approved extensions have unless you specify the category. I am not sure I understand this feature request.

microbit-carlos

microbit-carlos commented on May 1, 2025

@microbit-carlos
CollaboratorAuthor

One possible use case could be a "dependency only" extension that could be useful to have approved, so that it can take advantage of features like the extension being cached. For example, pxt-ws2812b is a dependency to pxt-neopixel, it currently appears on the search, but when the user selects it it doesn't load any blocks, which can be confusing.

But, in this specific case, this ticket was raised for CreateAI. The ML extensions cannot do much without the CreateAI editor injecting the model and additional info into a project, so it doesn't make sense for the user to load the ML extension on a normal MakeCode project from the extension search screen.

added theissue type on May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Feature request: A way to hide an approved extension from the search results · Issue #6011 · microsoft/pxt-microbit








    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/microsoft/pxt-microbit/issues/6011

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy