microsoft / microsoft/pxt-microbit

Beta extensions can be added to a project multiple times

Open
#6,527 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

extension P2
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

Describe the bug
Normally when an extension is added to a user project, it is no longer available in the extension search.
With beta extensions this does not seem to be the case.

CC/Found by @microbit-caroline.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new project
  2. Go to extensions and search for "microbit-v2-power", multiple extensions should appear, including a beta extension
  3. Add it to the project
  4. Go to extension and search again for "microbit-v2-power", the extension still appears and it can be added to the project again.

Expected behavior
The extension should not appear in the search after it has been added to the user project.

Screenshots

Image

micro:bit version (please complete the following information):
N/A

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 138

Smartphone (please complete the following information):
N/A

Additional context
N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by creating a project, adding the beta “microbit-v2-power” extension, and searching for it again in the Extensions view. Trace the search results and project-extension state, then verify that an already-added beta extension no longer appears or can be added again.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.