-
-
Notifications
You must be signed in to change notification settings - Fork 915
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
Hide telemetry protocols for CRSF, FPORT and GHST #3726
Hide telemetry protocols for CRSF, FPORT and GHST #3726
Conversation
This comment has been minimized.
This comment has been minimized.
e3e83ca
to
8081cae
Compare
This comment has been minimized.
This comment has been minimized.
8081cae
to
35e9c0f
Compare
This comment has been minimized.
This comment has been minimized.
AUTOMERGE: (FAIL)
|
i am not sure i understand here. when i flash either a cloud-build or a non cloud-build 4.5 or 4.4, i already do not see these telemetry-protocols in |
Yes, this has always been confusing. I would have preferred that when CRSF was selected, the telemetry protocol would show CRSF, and not be editable. That's the situation; telemetry is an automative part of CRSF; we do not require any extra setting to enable it, it's always there. So a nicer display element would indicate that it was present and active - because it is. Same for any Radio protocol that automatically enables telemetry when selected. |
We should also make sure to forcefully deselect all selections in that telemetry dropdown before hiding it. (Unless you are already doing that and I can't see it 😃) |
ea07103
to
c310695
Compare
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- re-approving for new
....select2('destroy');
Unfortunate this does not work. It works when empty but want to keep the [None] option. |
c310695
to
16f28ef
Compare
16f28ef
to
ff3234e
Compare
All sorted. |
This comment has been minimized.
This comment has been minimized.
there is a bug. to reproduce:
same for other protocols. they are removed, but not return when protocol is changed. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d880010b
seems to work proper.
edit: check SonarCloud
Could I see a screenshot of how it looks now when the telemetry is 'included', ie when user selects CSRF? Saying 'automatically included', or similar, in the box to the right, kind of works for me, so long as those words don't appear in the drop-down. And I guess if it is 'included' then we don't need the drop-down to be available? |
|
Drop down is not available when telemetry is included. Updated screen shot. |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Do you want to test this code? Here you have an automated build: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This looks really good. Very much like to see "automatically included", much nicer than before.
* Hide telemetry protocols for CRSF, FPORT and GHST * Add placeholder * Update message * Fix sonar
Inspired after watching https://youtu.be/FMbBfef_R-g