pxt-microbit icon indicating copy to clipboard operation
pxt-microbit copied to clipboard

Feature: Add weight to extensions in the gallery

Open microbit-mark opened this issue 4 years ago • 5 comments

When an accessory maker has a lot of extensions that can be found by searching for the organisation eg 'Kitronik', it might be useful if they had a way of weighting the ones they think will be most popular or adding new products to the top of the search results.

image

If there isn't a way to do this already, maybe pxt.json could contain a value for weight that surfaces the extension in the top of the search.

A more granular search would being up specific extensions, but in the case of Kitronik, printed resources ask the use to search for 'Kitronik'.

microbit-mark avatar Oct 26 '21 09:10 microbit-mark

We should define an order in how extensions are displayed.

abchatra avatar May 16 '25 18:05 abchatra

i guess we can add an "organizationWeight" which weights within an organization on github. i hesitate to add a weight for all extensions, since i think that would lead to an arms race of people putting in the highest possible numbers to get to be at the top

riknoll avatar Jun 10 '25 20:06 riknoll

@riknoll can we show in the order they show up targetconfig? Like approved extensions in the targetconfig come first, among them first one listed in the targetconfig comes first?

abchatra avatar Jun 10 '25 23:06 abchatra

@abchatra do we want this to be a feature that people have to make a pr to change?

riknoll avatar Jun 11 '25 17:06 riknoll

@riknoll good point. Let me move this out of release. We can plan in the next releas.

abchatra avatar Jun 12 '25 06:06 abchatra