~sircmpwn/sr.ht-discuss

4 2

Long code lines in ticket descriptions should be easier to read

Details
Message ID
<58370cac-22c4-c656-9157-10c804955cf9@sschwarzer.net>
DKIM signature
missing
Download raw message
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?
Details
Message ID
<CJ7A7WP7YJ5Q.3FFGVN4R9IAG4@taiga>
In-Reply-To
<58370cac-22c4-c656-9157-10c804955cf9@sschwarzer.net> (view parent)
DKIM signature
missing
Download raw message
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.
Details
Message ID
<81e97482-44b8-b17a-ba6e-12bff5b7451c@sschwarzer.net>
In-Reply-To
<CJ7A7WP7YJ5Q.3FFGVN4R9IAG4@taiga> (view parent)
DKIM signature
missing
Download raw message
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.
Details
Message ID
<CJ7BU6KC675D.CDHZKXDU6CNI@taiga>
In-Reply-To
<81e97482-44b8-b17a-ba6e-12bff5b7451c@sschwarzer.net> (view parent)
DKIM signature
missing
Download raw message
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.
Details
Message ID
<6ce29d4f-44f4-717b-e72a-f2a799f10b5a@sschwarzer.net>
In-Reply-To
<CJ7BU6KC675D.CDHZKXDU6CNI@taiga> (view parent)
DKIM signature
missing
Download raw message
On 2022-04-11 12:09, Drew DeVault wrote:
> 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/

Done, https://todo.sr.ht/~sircmpwn/todo.sr.ht/269 .
Reply to thread Export thread (mbox)