Skip to content

Don't allow Button B recording if dialog opened#836

Merged
microbit-grace merged 1 commit intobetafrom
button-b
Apr 2, 2026
Merged

Don't allow Button B recording if dialog opened#836
microbit-grace merged 1 commit intobetafrom
button-b

Conversation

@microbit-grace
Copy link
Copy Markdown

@microbit-grace microbit-grace commented Apr 1, 2026

For example, if the training dialog is opened.

Addressing missed cases in #807

For example, if the training dialog is opened.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 1, 2026

Preview build will be at
https://review-createai.microbit.org/button-b/

Comment on lines +99 to 101
!isNonConnectionDialogOpen() &&
e.state &&
tourState === undefined &&
(selectedAction.name.length > 0 || selectedAction.recordings.length > 0)
) {
setRecordingOptions({
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Tour state check is included in isNonConnectionDialogOpen (see here)

@microbit-grace microbit-grace changed the title Don't allow Button B recording if dialogs are opened Don't allow Button B recording if dialog opened Apr 1, 2026
@microbit-grace microbit-grace merged commit f54616f into beta Apr 2, 2026
2 checks passed
@microbit-grace microbit-grace deleted the button-b branch April 2, 2026 11:50
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