Re: [PATCHv2 0/2] Collapsible Section Support

2016-10-12 Thread Andy Doan
Any opinions on this? On 10/03/2016 03:52 PM, Andy Doan wrote: > 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' st

Re: [PATCHv2 0/2] Collapsible Section Support

2016-10-03 Thread Andy Doan
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,

Re: [PATCHv2 0/2] Collapsible Section Support

2016-10-03 Thread Andy Doan
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,

[PATCHv3 0/2] Collapsible Section Support

2016-09-12 Thread Andy Doan
This series adds hyperlinks to sections and allows them to be collapsed. A running version of cgit with this change can be seen here: https://git-ap.linaro.org/cgit/ Changes since v2: - use proper html escaping for section hyperlinks. Andy Doan (2): ui-repolist: provide hyperlinks

[PATCH 1/2] ui-repolist: provide hyperlinks on section names

2016-09-12 Thread Andy Doan
This makes it easier to traverse into a section of git repositories. Signed-off-by: Andy Doan <andy.d...@linaro.org> --- ui-repolist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-repolist.c b/ui-repolist.c index 30915df..f6b6b47 100644 --- a/ui-repolist.c ++

[PATCHv2 0/2] Collapsible Section Support

2016-09-12 Thread Andy Doan
This series adds hyperlinks to sections and allows them to be collapsed. Changes since v1: - combined these 2 patches into a series Andy Doan (2): ui-repolist: provide hyperlinks on section names ui-repolist: Allow sections to be collapsible cgit.c| 27

[PATCH v2] ui-repolist: Allow sections to be collapsible

2016-08-26 Thread Andy Doan
a hyperlink that can be used to drill down into each section. Additionally the boolean logic around displaying sections in ui-repolist.c was simplified to eliminate an impossible condition. Signed-off-by: Andy Doan <andy.d...@linaro.org> --- cgit.c| 27 +

[PATCH] ui-repolist: provide hyperlinks on section names

2016-08-09 Thread Andy Doan
This makes it easier to traverse into a section of git repositories. Signed-off-by: Andy Doan <andy.d...@linaro.org> --- ui-repolist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-repolist.c b/ui-repolist.c index 30915df..f6b6b47 100644 --- a/ui-repolist.c ++

Re: [RFC] ui-repolist: Allow sections to be collapsible

2016-08-09 Thread Andy Doan
On 08/09/2016 01:10 PM, John Keeping wrote: On Mon, Aug 08, 2016 at 10:28:17PM -0500, Andy Doan wrote: On 08/08/2016 03:44 AM, John Keeping wrote: I thought about this a bit more and I wonder if it would be more natural to configure this with something like: section.collapse = 1 We'd

Re: [RFC] ui-repolist: Allow sections to be collapsible

2016-08-07 Thread Andy Doan
On 08/07/2016 02:57 PM, John Keeping wrote: On Sun, Aug 07, 2016 at 02:33:41PM -0500, Andy Doan wrote: This is a rough work-in-progress, but I wanted to get our take on whether or not you'd be interested in this type of functionality: The index page can be difficult to navigate for really