Last week the bugzilla.mozilla.org team had a work week in the San Francisco office. They were finishing the work on the modal edit view in Bugzilla, and joined them to land another new feature: Readable Statuses.
Bugs in bugzilla.mozilla.org have a lot of metadata, and it's often not immediately obvious what the state of a bug is. To help with that, I've written an *opinionated* package for npm that looks at the bug's metadata and returns a readable status message. This message is displayed in the modal version of the bug view (which becomes the new default view.) We incorporated this module, using some magic from browserify, into Bugzilla, and *enabled it for bugs in Firefox-related products*. It went out this morning. We've done the work in JS so that we can iterate fast. I've published the module on npmjs.org [1] and encourage you to install and try it out from the command line, or browserify it and drop it in a web page such as any dashboards you currently use. I use the node version of fetch with it in my test and demo app, but you can also try Canukstani's node module for the bugzilla API. It's opinionated in the metadata it considers important to a bug's status: the regression keyword, target release, status flags, and release flags. The module also has a strong opinion about the meaning of the priority field, and uses it to describe the decision of what to do with bugs that haven't been nominated by the release team. There's a GitHub repo for the module [2] for pull requests, and of course, a bugzilla bug [3]. The package come with extensive mocha/chai tests, and I encourage you to read those to understand what the module's doing. If you have questions, please ask in #bteam or #bugmasters on irc. 1. https://www.npmjs.com/package/bugzilla-readable-status 2. https://github.com/emceeaich/bugzilla-readable-status 3. https://bugzilla.mozilla.org/show_bug.cgi?id=1271685 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform