[PATCHv2 0/2] Collapsible Section Support

Andy Doan andy.doan at linaro.org
Mon Oct 3 20:04:38 CEST 2016

On 10/03/2016 10:56 AM, Jason A. Donenfeld wrote:
> Also, to clarify --
> The patch for cgit for this should probably be just adding
> id="section_name" to the various divs. Then users' stylesheets and js
> files can contain the necessary logic for which to hide and when to
> hide it. That is, unless you can think of some really slick way to
> roll this out to everybody that isn't too invasive. But I'm leaning
> toward the, "possible via section name IDs" approach.

The difficulty with this is that:

1) we use table-row elements rather than divs for "sections"
2) because of #1, we require some type of java-script logic
3) there doesn't seem to be any support for user-supplied java-script

Its all doable, but as I start to look into this the diff is going to
grow a little more than you might be expecting.

More information about the CGit mailing list