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 address reactivity in general configuration view #938

Merged

Conversation

JoaoMario109
Copy link
Contributor

@JoaoMario109 JoaoMario109 commented May 8, 2024

Closes #406
Fix #924

* Change MainVehicleConnetion and WebRTCConnection URIs to use storage
  and to be reactive
* Change video.ts to use new computed property
Copy link
Member

@rafaellehmkuhl rafaellehmkuhl left a comment

Choose a reason for hiding this comment

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

Nice changes!
Working almost perfectly here!

The only problem I've found: when the custom addresses are enabled, the reset button is disabled.

image

* Change the way as the URIs are configured to make sure they are
  reactive and stored properly on storage when using custom ones
Copy link
Member

@rafaellehmkuhl rafaellehmkuhl left a comment

Choose a reason for hiding this comment

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

Lago, there's just one more problem: when the user clicks to activate the custom address in the WebRTC, it reloads the page immediately, even if the custom address that is there is equal to the default one. I think we should check before to see if they are not the same, and not reload in that case.

@rafaellehmkuhl rafaellehmkuhl self-requested a review June 18, 2024 16:14
@rafaellehmkuhl rafaellehmkuhl merged commit a1111da into bluerobotics:master Jun 18, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants