[PATCH v2] models, templatetags: Make tag count column in patch list optional per tag

Stephen Finucane stephen at that.guru
Fri Jan 5 00:33:56 AEDT 2018


On Tue, 2017-12-19 at 16:32 +1100, Andrew Donnellan wrote:
> Add a field, show_column, to the Tag model to determine whether the
> tag
> gets a tag count column in the patch list view. This allows the
> creation of
> tags that will be collated when generating mboxes but won't take up
> space
> in the patch list.
> 
> show_column will default to True to maintain the current behaviour by
> default.
> 
> Suggested-by: Michael Ellerman <mpe at ellerman.id.au>
> Closes: #142 ("Ability to add tags that don't also have a column in
> the UI")
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Looks fine to me, so I've gone ahead and applied it. We do need to up
test coverage of these kinds of features, but that's a job for another
day.

Reviewed-by: Stephen Finucane <stephen at that.guru>



More information about the Patchwork mailing list