DOWNLOAD THE ADD-ON
DEVELOPING THE ADD-ON (OSX Only!)
BugzillaJS requires Omnium (cross-browser pagemods), and can be installed like this:
git clone firstname.lastname@example.org:gkoberger/omnium.git --recursive cd omnium npm install git clone email@example.com:gkoberger/BugzillaJS.git bugzillajs ./builder.js bugzillajs
This should open up an install button in Firefox.
Omnium is just a wrapper that I use to generate XPI files. It takes care of figuring out all the page-mod logic.
TESTING THE ADD-ON
Once you have it installed, check out the following URL to see it in action:
You can turn features on and off by clicking the "BugzillaJS Preferences" link at the top and bottom of every page. You need to refresh the page to see them come into effect.
To view all keyboard shortcuts, type "?" on any page.
- Enable keyboard shortcuts
Make the comments on bugs more readable.
- Turn timestamps into relative dates
- Highlight reporter and assignee comments
- Add scrollbar to overflowing comments
- Hide the first comment if empty
Show inline media
Show images and other types of content right in the comments.
- Display images and attachments as an inline gallery
- Use lightbox for images
- Show GitHub logs inline
- Show gravatars in comments
These pertain to editing bugs.
- Style the comments like Github
- Remove flags, status and blocking fields
- Remove access keys
- Don't guess OS and hardware
- Add a "new" link for dependent and blocking fields
- Add a "browse" link for component fields
- Show inline TBPL results
These modify parts of the pages with lists of bugs.
- Option to open all bugs in tabs
- Agile Backlog
These are other tidbits that do not fit into other categories.
- Makes saved searches into a dropdown (requires Mozilla skin)
If you have an idea for an extra feature, either ask me to implement it or you can implement it yourself and submit a patch. I'll do a better job in the future of cleaning up the code and possibly making it API-like.
- It conflicts with other Bugzilla Jetpacks and Userscripts, including the Bugzilla Tweaks Jetpack running.
- Developing on it has only been tested on OSX; it probably won't work anywhere else.
IF THERE IS A CONFLICT WITH ANOTHER SCRIPT
Simply disabling the feature in the Bugzilla Preferences should fix it.
STILL HAVE ISSUES?
Post an issue, or contact me at gkoberger [a] gkoberger [dot] com