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

Improve Task Diagnostics UI readability for Location and other columns with dynamic widths #566

Open
MarcusHorn opened this issue Jul 3, 2024 · 0 comments
Labels
S-feature Severity: feature. This is adding a new feature.

Comments

@MarcusHorn
Copy link

What problem are you trying to solve?

Similar to the changes made to the Task Detail page for #411, the columns and values for the initial Tasks list should be made more visible to see key info in the rightmost columns. For example, with very long Location paths, all of the rightmost columns get hidden (I redacted most of the Location paths):

TaskViewRedacted

How should the problem be solved?

I think the columns and values for the initial Tasks list should be responsive to the width of the terminal UI, either by adding a ... prefix to make it fit in one line up to desired column width, or wrapping long values onto new lines if they don't fit (potentially args/options to set this preference?)

Any alternatives you've considered?

It may also be viable to simply instruct users via the README to only rely on info in the Task Detail view instead, but improving the initial UI to make columns more readable at a glance would greatly speed up our work.

How would users interact with this feature?

The UI ideally should automatically resize columns according to the width of the terminal that tokio console is running within. If there are options used to dictate the behavior (on whether to resize column widths at all, word wrap or use prefixes, etc.) they could take the form of args like:

tokio-console --responsive-columns true --word-wrap true 

Maybe also could make options about what specific column widths to use, like for Location for example.

Would you like to work on this feature?

maybe

@MarcusHorn MarcusHorn added the S-feature Severity: feature. This is adding a new feature. label Jul 3, 2024
@MarcusHorn MarcusHorn changed the title Improve Task Diagnostics UI for viewing Location and other columns Improve Task Diagnostics UI readability for Location and other columns with dynamic widths Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-feature Severity: feature. This is adding a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant