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

Fix unlistening to data-lake variables and changing variable in the Plotter widget #1504

Merged

Conversation

rafaellehmkuhl
Copy link
Member

@rafaellehmkuhl rafaellehmkuhl commented Dec 13, 2024

We are also renaming the data-lake variables from ["CockpitActionVariable" to "DataLakeVariable"], for consistency.

The old implementation was removing all listeners when one opted to unlisten.
Old variable was not being unlistened and history was not being reset.
@rafaellehmkuhl rafaellehmkuhl force-pushed the fix-plotter-variable-change branch from 3061c6b to b62c4d0 Compare December 13, 2024 21:01
@rafaellehmkuhl rafaellehmkuhl marked this pull request as draft December 13, 2024 21:03
@rafaellehmkuhl rafaellehmkuhl marked this pull request as ready for review December 16, 2024 12:31
@rafaellehmkuhl
Copy link
Member Author

@Williangalvani as discussed internally, the problem was indeed fixed.

Copy link
Member

@Williangalvani Williangalvani left a comment

Choose a reason for hiding this comment

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

Code looks good. I haven't tested with multiple variables

@Williangalvani
Copy link
Member

and now I tested, all good

@rafaellehmkuhl rafaellehmkuhl merged commit fa20d62 into bluerobotics:master Dec 16, 2024
11 checks passed
@rafaellehmkuhl rafaellehmkuhl deleted the fix-plotter-variable-change branch December 16, 2024 14:28
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