Open jfrost-mo opened 1 month ago
Wrapping the task names would reduce the horizontal space required, however, it would also make them harder to read (due to the arbitrary break), which would likely result in complaints.
I think multiple line breaks would probably mess the layout a bit.
Workarounds:
Alternative solutions:
[meta]title
rather than full task name.I agree that the status quo is annoying if task names are long. Well, it's really the long names that are the problem, but it's understandable that people do that.
👍 for the "alternative" solutions.
Problem
Long task names are common in cylc, especially where tasks are generated through jinja and whatnot. In the graph view these long task names are displayed on a single line, which makes them very wide, and causes the workflow to spread out such that it is hard to follow. To read the text easily you need to zoom in, but then you can't see much of the overall workflow.
Proposed Solution
The task names should be wrapped after a certain maximum length.
It should possibly also be truncated beyond a few lines to prevent ridiculously long names from breaking the UI layout, but this limit should be quite long so useful task name information is not lost.