Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn users when using V2 API features with micro:bit V1 #1177

Merged
merged 9 commits into from
May 23, 2024

Conversation

microbit-robert
Copy link
Collaborator

@microbit-robert microbit-robert commented May 2, 2024

Updates Pyright to included the changes from microbit-foundation/pyright#35

Copy link

github-actions bot commented May 2, 2024

Preview build will be at
https://review-python-editor-v3.microbit.org/version-warning/

@@ -2430,7 +2448,7 @@
"webusb-error-clear-connect-description-2": [
{
"type": 0,
"value": "Close any other pages or tabs that may be using WebUSB (e.g. MakeCode, Python Editor), or unplug and replug the micro:bit before trying again."
"value": "Close any other tabs that may be using WebUSB (e.g. MakeCode, Python Editor), or unplug and replug the micro:bit before trying again."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzled about this. When did this change and why wasn't this file updated then?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change happens on main too.
I think it was accidentally included in 9bfff59 because we made a change to ui.en.json then reverted it but failed to revert the updated src/messages file. So this revert is fine.

@microbit-matt-hillsdon microbit-matt-hillsdon marked this pull request as ready for review May 23, 2024 13:12
Copy link
Collaborator

@microbit-matt-hillsdon microbit-matt-hillsdon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@microbit-matt-hillsdon microbit-matt-hillsdon merged commit 2838da6 into main May 23, 2024
1 check passed
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the version-warning branch May 23, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants