tektoncd / dashboard

A dashboard for Tekton!
Apache License 2.0
863 stars 258 forks source link

Add "Toggle Wrap" in Logs viewer #3443

Open uqix opened 1 month ago

uqix commented 1 month ago

Feature request

Sometimes some log lines can be so long that we need to copy them to external editor to analyze.

It'd be great to add a button to toggle wrap.

AlanGreene commented 4 weeks ago

Thanks for the feature request @uqix. I think the ideal solution here would be to always wrap as necessary.

The last time we looked at this there were some issues with the virtual list implementation we used preventing us from doing this as the calculations of the row height were causing performance issues with large logs, but it may no longer be a problem.

This would need to be tested to confirm there's no longer a blocker.

A PR would be welcome if it's something you'd be interested in contributing.