-
Notifications
You must be signed in to change notification settings - Fork 51
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
Left justify data and labels, remove '--' and align data start with label start for easier readability and cleaner looks #644
Conversation
Thanks for creating this PR! Were you able to do any experimentation to see if it were possible to keep the column titles center aligned while left aligning everything else? I remember trying before and being unable to. |
I read some wx docs and could see nothing related, however I'm not familiar with wxGTK capabilities but I really don't think that would be better. |
I'm not against this, however I think it may not be ideal for the distance and SNR columns, I think that they look better if right-justified. Perhaps for distance the own station value should be 0 or blank instead of 0.0 as well. |
Yes I agree, seems odd that 0 is displayed as 0.0. |
For example, https://medium.com/mission-log/design-better-data-tables-430a30a00d8c states right alignment for numeric values and left alignment for everything else.
I was doing a bit more reading on UX standards for tables and they seem to have the following in common:
Example guidance: https://medium.com/mission-log/design-better-data-tables-430a30a00d8c With that in mind, I pushed some changes to right-align "km/mi", "kHz/MHz", and "SNR" columns. It actually significantly improved it for me to the point where I think it might be counterproductive to center align the column headings (assuming that's actually possible without significant changes to wxWidgets itself). Hopefully that's okay for you guys too, but if not, we can revert and just have everything left aligned. |
I've just made the changes as suggested, with dates centre-justified but then other text left-justified and numbers right-justified. Also removed the <10.0 distance units check and that's nicer IMHO. Not completely sure about the centred dates, I think that it's probably quite a weak change and is probably font-dependent. |
Yeah, considering the width of the text in the date columns, I don't think there's much difference other than for the headers. I'd say to back out that particular change to be more consistent with the other text-based columns. |
Seems like we'd want to keep it consistent with both units, right? As in, either abbreviate both or use the full name for both. Though I'm also fine just using "Miles" if that is indeed better. |
No not really! 'Kilometers' is too long, 'Miles' is not and if you only use one of them then you will not care! ;)
Looks much better to me, 'mi' looks like an SI unit that I never heard of and it's not a common abbreviation for mile. :) OT/ |
I was trying to figure out what was causing the 'Last update' to be pushed off my screen. It appears to be mainly down to someone using an eight character locator. Can this field be limited to 6 characters? ...and lower case conversion for the last two? |
I'll go ahead and merge, then work on the stuff mentioned in the very last comment above. |
This PR attempts to improve the readability and looks of the internal reporter by left aligning all the data in each column rather than centring it within the current column widths which looks ragged.
It makes sure that the start of each data item is below the start of the column label.
It removes the '--' items which indicate that there is no data. However we can see that there is no data if there is nothing there.
I can maybe understand using this in a purely testing environment but not for production as it is serving no purpose.
I will add a screen shot later.