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

Dialog parameter #1464

Merged
merged 9 commits into from
Feb 15, 2023
Merged

Conversation

patrickelectric
Copy link
Member

@patrickelectric patrickelectric commented Feb 10, 2023

Move parameter dialog to its own component to be used in different places.
Also turns the autopilot reboot button to be global, to follow the user between the pages until it's rebooted.
Peek 13-02-2023 18-45

Fix #1471

Copy link
Collaborator

@ES-Alexander ES-Alexander left a comment

Choose a reason for hiding this comment

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

This looks great - love it! :-)

Is the blinking reboot icon tied to pirate mode somehow, or are the pirate mode mentions in the tray menu stuff just to get the icon to show up in the header? The parameter editor is available in friendly mode, so the reboot icon should be too (it might already be fine) :-)

@patrickelectric
Copy link
Member Author

This looks great - love it! :-)

Is the blinking reboot icon tied to pirate mode somehow, or are the pirate mode mentions in the tray menu stuff just to get the icon to show up in the header? The parameter editor is available in friendly mode, so the reboot icon should be too (it might already be fine) :-)

It was something that I did for internal test, forgot to remove it

@Williangalvani
Copy link
Member

can you fix this issue? when we type a number it immediately switches to the option:

Screen.Recording.2023-02-15.at.15.28.54.mov

it is pre-existent, but since you are working in this component =P

…alog to new component

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
…version

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Shift left creates wrong results for number over 30, exponencial is safer

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
… equation

Shift left creates wrong results for number over 30, exponencial is safer

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
…eter modifier UI once custom input loses focus

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
@patrickelectric
Copy link
Member Author

@Williangalvani check now

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.

nice!

@Williangalvani Williangalvani merged commit bd28a94 into bluerobotics:master Feb 15, 2023
@ES-Alexander
Copy link
Collaborator

ES-Alexander commented Feb 15, 2023

it is pre-existent, but since you are working in this component =P

Lol, nice logic @Williangalvani - shame I didn't think to recommend #1210 at the same time...

@patrickelectric
Copy link
Member Author

it is pre-existent, but since you are working in this component =P

Lol, nice logic @Williangalvani - shame I didn't think to recommend #1210 at the same time...

I'm not a fan of changing the scope of a PR since this can result on bigger changes and drag the PR merge time with it. That's one of the reasons that ArduPilot has a PR list hell.

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.

core: frontend: parameter editor doing weird things with bitmasks
3 participants