-
Notifications
You must be signed in to change notification settings - Fork 328
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
Jira table template sometimes gets messed up #176
Comments
Yeah, the table configuration is a bit brittle. It is a bit tricky to wedge it in with the current templating output, but I think we could provide more helper functions template functions to make this better. I will try to come up with something better. |
While the template feature is nice, it would also be good with a simpler way to specify columns to include - eg. something like |
I've got a PR to attempt to kind-of-fix this in #295. It doesn't address the issue where some values are much longer than a given column assumes, but it does make the column widths easier to tweak, and adjusts some of them to maybe-more-reasonable values. If anyone takes issue with the new values I picked, it will be easy to change since they're all specified at the top of the template instead of spread throughout. It would be nice to be able to grow/shrink column widths according to the longest/shortest value for that column in a range, but that would have to be implemented as a template helper function, since the go template syntax scopes variables to the control structure they're declared inside of, and we'd have to iterate over |
I really like the default table template however often times it does not scale well enough and one line is not shown correctly.
Expected:
Actual:
This happens on both my Linux as well as on my Mac machine. My hint is that the content of one of the column is too long and there's an off by one error.
The text was updated successfully, but these errors were encountered: