microsoft / microsoft/pxt-microbit
Beta extensions can be added to a project multiple times
Nobody has claimed this yet.
- 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:
- Create a new project
- Go to extensions and search for "microbit-v2-power", multiple extensions should appear, including a beta extension
- Add it to the project
- 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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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