[aur-dev] [PATCH] Limit comment height to 15 lines

Marcel Korpel marcel.korpel at gmail.com
Mon Mar 14 22:17:31 UTC 2016

* Lukas Fleischer <lfleischer at archlinux.org> (Sun, 13 Mar 2016 09:23:57
> The idea sounds good, however I am not 100% sure about the
> implementation. We already do have JavaScript code for collapsing long
> dependency lists (which we borrowed from archweb). Do we want to use
> the same code for comments for consistency? It also makes it a bit
> easier to read long comments since, once you decided that you want to
> expand it, you no longer need to scroll.

I'm in favour of this approach: right at the moment I'm reading
comments to an article (subject doesn't matter) and those are collapsed
by default, with a "more" link to show the full contents.

> On the other hand, I like that this alternative implementation does
> not require JavaScript...

I get the point and I don't like heavy JavaScripting on aurweb, but we
*can* gracefully degrade the behaviour (by pointing to a page with a
collapse comment function).


More information about the aur-dev mailing list