8000 fix: Don't fire events for changes to potential variables by RoboErikG · Pull Request #9025 · google/blockly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Don't fire events for changes to potential variables #9025

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

Merged
merged 1 commit into from
May 12, 2025

Conversation

RoboErikG
Copy link
Contributor

The basics

The details

Resolves

Fixes #9018

Proposed Changes

Adds a param to variable_map to declare it as a potential map and doesn't fire events if it's a potential map.

Reason for Changes

The potential map firing delete events was causing the toolbox to refresh which deleted potential variables. This repeated indefinitely while the toolbox was open to a category with a variable.

Test Coverage

Documentation

Additional Information

@RoboErikG RoboErikG requested a review from a team as a code owner May 12, 2025 17:12
@RoboErikG RoboErikG requested a review from cpcallen May 12, 2025 17:12
@github-actions github-actions bot added the PR: fix Fixes a bug label May 12, 2025
@RoboErikG RoboErikG requested a review from rachel-fenichel May 12, 2025 17:23
@RoboErikG RoboErikG removed the request for review from cpcallen May 12, 2025 17:23
@rachel-fenichel
Copy link
Collaborator

@rachel-fenichel
Copy link
Collaborator

@riknoll #9007 may be related, depending on whether you're looking at the event stream for this.

@RoboErikG RoboErikG merged commit 77bfa5b into google:rc/v12.0.0 May 12, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0