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

Network table values longer than 8 characters get cut off #138

Closed
WispySparks opened this issue Feb 2, 2024 · 1 comment
Closed

Network table values longer than 8 characters get cut off #138

WispySparks opened this issue Feb 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@WispySparks
Copy link

Describe the bug
On the left side bar that shows network tables if the value of a key is longer than 8 characters it gets cut off to '...'. Resizing the side bar doesn't seem to help.

To Reproduce

  1. Connect AdvantageScope to a robot and have a network table key:value pair with a value longer than 8 characters.

Expected behavior
I should be able to resize the side bar such that I can see the full names of my values. Or resizing the side bar now should do that but it only helps with the keys not the values.

Screenshots
image

Version (required):
Version: 3.0.2
Distributor: WPILib
Platform: win32-x64
Build Date: 1/21/2024, 05:27:07 UTC
Electron: 26.2.1
Chromium: 116.0.5845.188
Node: 18.16.1

@WispySparks WispySparks added the bug Something isn't working label Feb 2, 2024
@jwbonner
Copy link
Member

jwbonner commented Feb 2, 2024

Thanks for the feedback. This was an intentional design decision to avoid cluttering the sidebar, since longer strings are best viewed using a tool like the line graph, table, or console. However, having gotten this suggestion multiple times I think it's reasonable to allow the string to change length based on the sidebar width. The change I just pushed will allow it to vary from 5 to 15 characters. Longer strings aren't practical to view on the sidebar regardless, so you can always use a different visualization if you need more characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants