Re: [aur-general] [RFC] Limit the height of AUR comments

2016-03-06 Thread Johannes Löthberg

On 06/03, Eric Engestrom wrote:

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



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/


signature.asc
Description: PGP signature


Re: [aur-general] [RFC] Limit the height of AUR comments

2016-03-06 Thread Lukas Fleischer
On Mon, 07 Mar 2016 at 06:03:53, Mark Weiman wrote:
> [...]
> 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.


Re: [aur-general] [RFC] Limit the height of AUR comments

2016-03-06 Thread Mark Weiman
On Sun, 2016-03-06 at 22:09 +, Eric Engestrom wrote:
> 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-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

signature.asc
Description: This is a digitally signed message part


[aur-general] [RFC] Limit the height of AUR comments

2016-03-06 Thread 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 ;]

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

Cheers,
Eric