Here's a slightly different version: http://pastebin.com/3kwqszbH Changes: - Only hide comments that start with 'Created', and contains a span.bz_obsolete (previous version was hiding some reply comments) - Use the already present "Toggle comment display" link instead of adding a new link
And I initiated a Gist to track changes easily: https://gist.github.com/jajm/31bf1c3aecd5f16c4422 Le 30/12/2015 14:55, Jonathan Druart a écrit : > I have updated the script to display the comments when the patch is quoted > > http://pastebin.com/fSffTHQw > > 2015-12-18 11:22 GMT+00:00 Jonathan Druart > <jonathan.dru...@bugs.koha-community.org>: >> quick&dirty greasemonkey script to hide the description of obsolete >> patches in the comments: >> http://pastebin.com/c99G9KgG >> >> 2015-12-18 9:34 GMT+00:00 Paul Poulain <paul.poul...@biblibre.com>: >>> Hi all, >>> >>> when an entry on bugzilla has a lot of comments, it can take "hours" to read >>> all the thread, find relevant and obsolete comments,... understand who said >>> what and where we are now. >>> >>> Justs have a look at -randomly chosen- >>> http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6934 to see this >>> (only 33 comments, not so hard to follow, but will take a lot of time. Other >>> bugs are really a nightmare !!! ) >>> >>> I was wondering if there could be an Addon, a feature, un plugin, or >>> whatever, that could "obsolete" a comment. An obsoleted comment would be >>> collapsed by default. Anyone can obsolete a comment, it's just to >>> (hopefully) have a thread easier to read. >>> >>> Another option could be to put a color on comment that are relevant. >>> >>> There could be other way to achieve the goal. >>> >>> But currently, one must be highly motivated to work on a sign-off, except if >>> the bug is "new" ! (I suspect that's a reason why some patches are stuck) >>> >>> -- >>> Paul Poulain, Associé-gérant / co-owner >>> BibLibre, Services en logiciels libres pour les bibliothèques >>> BibLibre, Open Source software and services for libraries >>> >>> _______________________________________________ >>> Koha-devel mailing list >>> Koha-devel@lists.koha-community.org >>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel >>> website : http://www.koha-community.org/ >>> git : http://git.koha-community.org/ >>> bugs : http://bugs.koha-community.org/ > _______________________________________________ > Koha-devel mailing list > Koha-devel@lists.koha-community.org > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel > website : http://www.koha-community.org/ > git : http://git.koha-community.org/ > bugs : http://bugs.koha-community.org/ > -- Julian Maurice <julian.maur...@biblibre.com> BibLibre _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/