List for cgit developers and users
 help / color / mirror / Atom feed
From: andy.doan at linaro.org (Andy Doan)
Subject: [PATCHv2 0/2] Collapsible Section Support
Date: Mon, 3 Oct 2016 13:04:38 -0500	[thread overview]
Message-ID: <4b51cebd-550c-9d6e-86f4-170605e2b5c0@linaro.org> (raw)
In-Reply-To: <CAHmME9p7EXb+mi+rz1=He-tXxHPCSKSdTyzzxQrHYvofYNrw4A@mail.gmail.com>

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.


  reply	other threads:[~2016-10-03 18:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-12 22:01 andy.doan
2016-09-12 22:01 ` [PATCH 1/2] ui-repolist: provide hyperlinks on section names andy.doan
2016-09-12 23:08   ` john
2016-09-12 22:01 ` [PATCH 2/2] ui-repolist: Allow sections to be collapsible andy.doan
2016-09-13  3:54 ` [PATCHv3 0/2] Collapsible Section Support andy.doan
2016-09-13  3:54   ` [PATCHv3 1/2] ui-repolist: provide hyperlinks on section names andy.doan
2016-09-13  3:54   ` [PATCHv3 2/2] ui-repolist: Allow sections to be collapsible andy.doan
2016-10-01 20:50 ` [PATCHv2 0/2] Collapsible Section Support Jason
2016-10-03 15:44   ` andy.doan
2016-10-03 15:54     ` Jason
2016-10-03 15:56       ` Jason
2016-10-03 18:04         ` andy.doan [this message]
2016-10-03 20:52         ` andy.doan
2016-10-11 16:15           ` andy.doan
2016-10-03 18:10 ` tim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4b51cebd-550c-9d6e-86f4-170605e2b5c0@linaro.org \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).