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

Use standard key names for the settings on storage #1646

Merged

Conversation

rafaellehmkuhl
Copy link
Member

@rafaellehmkuhl rafaellehmkuhl commented Feb 3, 2025

Putting on draft since I realized the stepping is broke on master. Will fix before opening it for review.

Fix #1442
Fix #1647

@rafaellehmkuhl rafaellehmkuhl marked this pull request as draft February 3, 2025 18:39
As we serve the interface in IPs that can vary, this makes it clear that the key is ours and not from another application.
It initially contains the renaming migrations of localStorage keys
@rafaellehmkuhl rafaellehmkuhl force-pushed the use-standard-key-name branch 2 times, most recently from b011f9a to a7a08ee Compare February 4, 2025 20:58
@rafaellehmkuhl rafaellehmkuhl marked this pull request as ready for review February 4, 2025 20:59
Copy link
Contributor

@ArturoManzoli ArturoManzoli left a comment

Choose a reason for hiding this comment

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

Some issues noticed:

  • On the step 5 (Vehicle address) the 'General configuration' submenu isn't opening to show the user the form field where he can enter the vehicle's network address.
    image
    image

  • The 'Enter' key jumps from 'Interface' to 'Telemetry' and then to 'Mission'; not showing the steps between them. Also the Enter key doesn't work on the 5th step 'Vehicle address'.

@rafaellehmkuhl
Copy link
Member Author

  • On the step 5 (Vehicle address) the 'General configuration' submenu isn't opening to show the user the form field where he can enter the vehicle's network address.

This logic was broken indeed. Fixed.

  • The 'Enter' key jumps from 'Interface' to 'Telemetry' and then to 'Mission'; not showing the steps between them. Also the Enter key doesn't work on the 5th step 'Vehicle address'.

This was actually a logic that was already there, but with the changes in the next-step/before-step logic it does not need to exist anymore indeed. I've also took the opportunity of the new logic to add a listening for shift+key presses for going backwards in the tutorial steps.

Copy link
Contributor

@ArturoManzoli ArturoManzoli left a comment

Choose a reason for hiding this comment

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

Nice!
Working fine now

@rafaellehmkuhl rafaellehmkuhl merged commit cfa27de into bluerobotics:master Feb 6, 2025
11 checks passed
@rafaellehmkuhl rafaellehmkuhl deleted the use-standard-key-name branch February 6, 2025 18:06
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