BMO/comment tagging

From MozillaWiki
< BMO
Revision as of 04:44, 12 December 2013 by Glob (talk | contribs) (Created page with "== Comment Tagging == A Bugzilla enhancement which allows you to tag individual comments with arbitrary strings has been deployed on bugzilla.mozilla.org. [[File:CommentTagg...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Comment Tagging

A Bugzilla enhancement which allows you to tag individual comments with arbitrary strings has been deployed on bugzilla.mozilla.org.

CommentTagging.png

CommentTagged.png

Comment Tagging Features

Automatic Collapsing of Comments

The Bugzilla administrator can configure a list of comment tags which will result in those comments being collapsed by default when a bug is loaded.

This allows obsolete or irrelevant comments to be hidden from the information stream.

Comment Grouping/Threading

Bugzilla shows a list of all comment tags in use on the bug, and clicking on a tag will expand those comments while collapsing all others.

CommentTags.png

This allows for simple threading of comments without diverging significantly from the current Bugzilla user interface, api, and schema. You can tag all comments relating to the same topic, and remove comments no longer relevant to that thread by removing the tag.

Highlighting Importing Comments

On bugs with a lot of information, it can be time consuming for people not directly involved in the bug to find the relevant comments. Applying comment tags to the right comments assists this, and may negate the need for information to be gathered outside of Bugzilla.

For example:

  • tagging a comment with “STR” (steps to reproduce) will help the QA team quickly find the information they need to verify the fix
  • writing a comment summarising a new feature and tagging it with “docs” will help the generation of documentation for MDN or similar

Implementation Notes

  • the “add tag” input field has an auto-complete drop-down, drawing from existing tags weighted by usage count
  • by default editbugs membership is required to add tags to comments
  • comment tags are not displayed unless you are logged in to Bugzilla
  • tags are added and removed via XHR, changes are immediately visible to the changer without refreshing the page
  • tagging comments will not trigger bugmail, nor alter a bug’s last-modified date
  • tags added by other users (or on other tabs) will generally not be visible without a page refresh