In case of relatively long code lines in ticket descriptions,
as in
https://todo.sr.ht/~sschwarzer/ftputil/143
the layout shows only half of the longer lines. I do get a
horizontal scrollbar, but in my opinion it would be helpful
if the page layout showed more of the long lines.
If the screen is large is enough to make the browser window
much wider, there's still the curiosity that this doesn't
change the layout of the description and meta information,
but just adds empty space to the left and right.
Another workaround I tried was to make the font smaller, but
that doesn't help either since the box with the preformatted
code is also made narrower. Also, from a usability perspective,
reducing the font size may make the text unreadable for a user.
Personally, I think it would be fine if the meta information
that's currently on the right was moved to the top, possibly
set in two columns, for example with status, submitter and
assignee on the left and the dates and labels on the right.
What do you think?
Should I enter a ticket on improving the page layout?
On 2022-04-11 10:53, Drew DeVault wrote:
> When pasting large logs and such you're encouraged to stick them in a> paste.sr.ht dump instead of directly onto todo.sr.ht.
That makes sense, but I think the stacktrace in that ticket isn't
that large. :-) But I do get your point!
What about _actually_ encouraging ticket submitters by recommending
using paste.sr.ht when entering a ticket? ;-) That is, putting a
remark near the ticket entry form, something similar to
Tip: Use [paste.sr.ht](https://paste.sr.ht/) to add
logs and stacktraces.
Beside that, I still think it would help usability to make the
ticket description display wider, for the cases where a
stacktrace or other information is relatively short in lines,
but possibly wide. For shorter "code" snippets, I see this page
layout change and use of paste.sr.ht as orthogonal, not as strict
alternatives. (That said, for _long_ stacktraces and logs,
I agree that using paste.sr.ht is clearly preferable.)
A wider code display would also help with trackers migrated from
other platforms (as in the case of the ftputil tracker), where the
description display width is less limited. I don't really see any
downsides to making the description display wider, apart from the
work to put in. I do not think that having a wider display will
"encourage" ticket submitters to paste logs etc. with many lines,
especially if some remark like the above is present.
On Mon Apr 11, 2022 at 12:05 PM CEST, Stefan Schwarzer wrote:
> That makes sense, but I think the stacktrace in that ticket isn't> that large. :-) But I do get your point!>> What about _actually_ encouraging ticket submitters by recommending> using paste.sr.ht when entering a ticket? ;-) That is, putting a> remark near the ticket entry form, something similar to
I thought we already had a ticket for this, but I can't find it. Can you
file one here?
https://todo.sr.ht/~sircmpwn/todo.sr.ht/> Beside that, I still think it would help usability to make the> ticket description display wider, for the cases where a> stacktrace or other information is relatively short in lines,> but possibly wide. For shorter "code" snippets, I see this page> layout change and use of paste.sr.ht as orthogonal, not as strict> alternatives. (That said, for _long_ stacktraces and logs,> I agree that using paste.sr.ht is clearly preferable.)
Yeah, perhaps.