Discussion:
[aur-general] [RFC] Limit the height of AUR comments
Eric Engestrom
2016-03-06 22:09:58 UTC
Permalink
Hi all,

Every now and then, someone will post a huge dump (log, error messages,
etc.) to the AUR comments. Besides being usually useless, those comments
force everyone to scroll for a while before getting to the next comment.

What do you guys think about adding something like this to limit the
vertical space taken by such comments?
#news div p {
max-height: 10em;
overflow: auto;
}
If the idea is approved, I can send a proper patch ;]

An example of such "dumb dump" can be found at:
https://aur.archlinux.org/pkgbase/nvidia-vulkan-beta/?comments=all#comment-535438

Cheers,
Eric
Mark Weiman
2016-03-07 05:03:53 UTC
Permalink
Post by Eric Engestrom
Hi all,
Every now and then, someone will post a huge dump (log, error messages,
etc.) to the AUR comments. Besides being usually useless, those comments
force everyone to scroll for a while before getting to the next comment.
What do you guys think about adding something like this to limit the
vertical space taken by such comments?
#news div p {
  max-height: 10em;
  overflow: auto;
}
If the idea is approved, I can send a proper patch ;]
https://aur.archlinux.org/pkgbase/nvidia-vulkan-beta/?comments=all#comment-535
438
Cheers,
Eric
It's rather frowned upon to post monolithic comments of that nature. Assuming
your change makes it so that comments are in their own scrollable box if they're
too long, it would be a change I'd be for.

We've had this problem a few times and usually comments get deleted or a TU
copies and pastes the original comment to pastebin (or similar) and modifies the
comment to simply link to it.

Mark Weiman
Lukas Fleischer
2016-03-07 06:45:58 UTC
Permalink
Post by Mark Weiman
[...]
It's rather frowned upon to post monolithic comments of that nature. Assuming
your change makes it so that comments are in their own scrollable box if they're
too long, it would be a change I'd be for.
[...]
For dependencies, there is some JavaScript code to collapse long lists.
Maybe we could do the same with comments: If a comment gets too long,
collapse using JS and add a "Display full comment..." link.
Johannes Löthberg
2016-03-07 06:46:56 UTC
Permalink
Post by Eric Engestrom
Every now and then, someone will post a huge dump (log, error messages,
etc.) to the AUR comments. Besides being usually useless, those comments
force everyone to scroll for a while before getting to the next comment.
What do you guys think about adding something like this to limit the
vertical space taken by such comments?
#news div p {
max-height: 10em;
overflow: auto;
}
If the idea is approved, I can send a proper patch ;]
https://aur.archlinux.org/pkgbase/nvidia-vulkan-beta/?comments=all#comment-535438
Sounds good, though this should be sent to aur-dev, not aur-general.

(And I wonder if 15 would be a more apt limit, hmm.)
--
Sincerely,
Johannes Löthberg
PGP Key ID: 0x50FB9B273A9D0BB5
https://theos.kyriasis.com/~kyrias/
Continue reading on narkive:
Loading...