qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

Use number dashes for invalid value placeholders

Open rubenp02 opened this issue 3 weeks ago • 4 comments

Use number dashes for invalid value placeholders

Description

Replaced hyphens with number/en dashes in Fact::invalidValueString, as well as in all invalid-value placeholder strings. Also changed instances of 2 hyphens into a single en dash. En dashes are visually wider and more uniform with numeric characters, improving readability and preventing confusion with minus signs.

Checklist:

Related Issue

#13698

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

rubenp02 avatar Dec 05 '25 12:12 rubenp02

By the way, I've also tried using em dashes for the non-numeric types as well as the integer part of numeric types (basically the places where we are currently using 2 hyphens), and it doesn't look too bad at all:

imagen

rubenp02 avatar Dec 05 '25 12:12 rubenp02

I don't think this looks better. I like the existing look better.

DonLakeFlyer avatar Dec 07 '25 18:12 DonLakeFlyer

I don't think this looks better. I like the existing look better.

That's fair. You mean the em dashes, or using number dashes in general? That last screenshot is with the further change to em dashes, this PR just does the switch to number dashes. You can see how this one looks in the screenshot in issue #13698.

rubenp02 avatar Dec 07 '25 19:12 rubenp02

You mean the em dashes

Correct

DonLakeFlyer avatar Dec 08 '25 00:12 DonLakeFlyer

I can merge once conflicts are fixed and you've figure out what's going on with the missing vertical/ground speed thing.

DonLakeFlyer avatar Dec 14 '25 17:12 DonLakeFlyer

I can merge once conflicts are fixed and you've figure out what's going on with the missing vertical/ground speed thing.

I've rebased this, but I can't replicate the vertical/ground speed stuff, it works as expected on my end everytime I launch a new instance with default settings.

rubenp02 avatar Dec 15 '25 09:12 rubenp02

By the way, something's up with the CI, seems like it's getting a captcha on the GStreamer download step.

rubenp02 avatar Dec 15 '25 09:12 rubenp02

By the way, something's up with the CI, seems like it's getting a captcha on the GStreamer download step.

Fixed

DonLakeFlyer avatar Dec 15 '25 22:12 DonLakeFlyer

CI passed, should be ready to merge

rubenp02 avatar Dec 16 '25 21:12 rubenp02