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

Hide sensorID with button #3150

Closed
wants to merge 7 commits into from
Closed

Conversation

eshifri
Copy link
Contributor

@eshifri eshifri commented Feb 5, 2023

This PR implements the request from here: #3070 (comment)

Summary of changes:

  • Add button to display/hide senorID on the telemetry screen.
  • Updates the screen when the ID is hidden or ignored.

@philmoz I hope you do not mind. If you do just let me know. If you have better ideas for implementation I will remove this PR.
@pfeerick do you agree with thee position of the button? I was thinking about having it together with "ignore" or in the very bottom of the screen - I would not expect people to use very often.

Translations are not implemented yet - I will add them if the rest looks OK.

screenshot_tx16s_23-02-05_11-36-03

@eshifri eshifri marked this pull request as draft February 5, 2023 21:35
@pfeerick
Copy link
Member

pfeerick commented Feb 6, 2023

My preference would be the toggle under the buttons... IMO would look cleaner that way. Will comment further in a day or two once I've had a chance to play with it.

@pfeerick pfeerick added color Related generally to color LCD radios UX-UI Related to user experience (UX) or user interface (UI) behaviour labels Feb 6, 2023
@pfeerick pfeerick added this to the 2.9 milestone Feb 6, 2023
@philmoz
Copy link
Collaborator

philmoz commented Feb 6, 2023

Looks good. Travelling at the moment so I can't test.

Maybe place the ID # above and to the left of the sensor number instead of above the value.

@eshifri
Copy link
Contributor Author

eshifri commented Feb 6, 2023

Added support for NV14, moved sesnorID field to the first column, increased spacing and font for GPS.
screenshot_nv14_23-02-06_10-46-07

@Eldenroot
Copy link
Contributor

I think that the buttons should be above the telemetry sensors... quite annoying to scroll down with so many sensors?

@eshifri
Copy link
Contributor Author

eshifri commented Feb 6, 2023

@Eldenroot I think we do not expect this button to be used often.
Also placing it on the top will be different from the bottom position on the mixes screen.
But I do not have strong opinion...

@eshifri
Copy link
Contributor Author

eshifri commented Feb 7, 2023

Maybe like this?
This space is not used anyway.

screenshot_nv14_23-02-06_16-09-39

@pfeerick
Copy link
Member

pfeerick commented Feb 7, 2023

I guess it's ok at the top... it does look out of place since it adds padding, and we have to watch reducing the height of the button as it makes it harder to touch, as well as add to clutter. Does it work better as a checkbox/toggle, or was that harder to add/didn't fit in? I'm still inclined to agree with JimB40 that it belongs below, out of the way - we have to also avoid cluttering the UI too much by "too much use of" empty space to the point that it's a busy UI.

@Eldenroot You need to step back a moment and consider the frequency of use... viewing the telemetry screen data is more common than discovering sensors/adding sensors, hence why you place them lower down. You don't put stuff you don't use often at the top, so you need to scroll past it every time. Plus, it only takes a moment to scroll down, whether with touch or rotary encoder, even with 24+ entries in the list.

@eshifri
Copy link
Contributor Author

eshifri commented Feb 7, 2023

Just not enough space for checkBox. Probably possible with some efforts. But I'm also not sure this button belongs to the top.

@pfeerick
Copy link
Member

pfeerick commented Feb 7, 2023

Might have to watch out for the GPS values getting clipped on NV14/EL18... unless they are truncated, it looks like there can be two numbers after the decimal place... i.e. New York...

image

@eshifri
Copy link
Contributor Author

eshifri commented Feb 7, 2023

Simulator does not generate such numbers. Does it happen on the TX?

@JimB40 JimB40 mentioned this pull request Feb 21, 2023
23 tasks
@pfeerick
Copy link
Member

pfeerick commented Feb 22, 2023

I removed the top button and moved the show sensor id checkbox down so it's next to the show instances checkbox, as well as putting the stub for translations in place. However, there is one minor bug present still... the alignment for the sensor values is off - it lines up with the id row, not the sensor row - most likely I chopped something out I should have? Also, I don't like the fact that the focus jumps to the top of the sensor table when you toggle either of those checkboxes, rather than stay at the current control (i.e. not such an issue for touch, but annoying with non-touch).

msrdc_AQfTHCo0va

@pfeerick pfeerick self-assigned this Mar 13, 2023
@pfeerick
Copy link
Member

@philmoz Any chance you can finish this one out? I nearly (and should have) asked if you could incorporate this into #3399 since this already needed a rebase - and if I try now it really will get screwed up. The last comment still represents the current state of this PR, and the remaining issues present.

@philmoz
Copy link
Collaborator

philmoz commented Mar 24, 2023

@philmoz Any chance you can finish this one out? I nearly (and should have) asked if you could incorporate this into #3399 since this already needed a rebase - and if I try now it really will get screwed up. The last comment still represents the current state of this PR, and the remaining issues present.

It's not my PR. I can take a look if @eshifri is ok with it.

@pfeerick
Copy link
Member

Closed in favor of #3401, but thank you for the initial work and inspiration :)

@pfeerick pfeerick closed this Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
color Related generally to color LCD radios UX-UI Related to user experience (UX) or user interface (UI) behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants