gkoberger / bugzillajs Goto Github PK
View Code? Open in Web Editor NEWA userscript that adds additional functionality to bugzilla
Home Page: https://addons.mozilla.org/en-US/firefox/addon/bugzillajs/
A userscript that adds additional functionality to bugzilla
Home Page: https://addons.mozilla.org/en-US/firefox/addon/bugzillajs/
A link to easily add a new blocker or dependent bug.
Hi Gregory,
I've just found your BugzillaJS Firefox add-on (v1.3.5) with Firefox v8.0.1 and tried it with Mozilla's Bugzilla installation. It's awesome.
We've got our own in-house Bugzilla installation that would be immeasurably enhanced by your add-on.
The 'About' description says that this add-on works with any Bugzilla Installation... However, the add-on does not present me with any preferences! I can't figure out how to add my own URL.
Can you help?
thanking you in advance,
Charles Williams
Refresh the components localStorage every week or so.
This bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=656470
... has one comment "marked X as a duplicate", which flashes for a split second, then disappears. I am unsure why the BugzillaJS plugin removes it altogether.
I am not sure if dupes are the only items affected by this.
If I keep the "Turn timestamps into a nice looking date" on , I either get messages like "2 months ago" for messages only a few days old or it displays "NaN years ago"
My timezone preference in paris is Europe/Paris therefore it displays timestamp such as:
2011-07-12 19:55:49 CEST
My wild guess is that the parsing method for timestamp is not working for non-US timezone
Make it so that you can turn off OS/etc detection (since it's useless for web stuff)
I get so annoyed that I can't use the link in my browser and share it with people.
So it'd be cool if this could be generated, I imagine the best way is to go to "edit query" and rebuild a search from the advanced search fields.
The ?
shortcut should only work when no input elements are focused.
Could you add "Copy checkin comment"? It is a useful feature of Bugzilla Tweaks that is missing from BugzillaJS.
There is no preferences button for the BugzillaJS addon in Firefox4.
Here's the code:
$('.bz_query_remember form').submit(function() {
var url = $(this).attr('action');
return false;
});
https://bugzilla.mozilla.org/show_bug.cgi?id=687667
bugzillajs will remove comment 0 here, and I am unsure why. I think that comment is empty, so I am not missing out on much, but it's still confusing.
When you press Enter in the CC text field, it submits the "assign to me" button as opposed to just submitting the form as-is.
The only thing that I miss from Bugzilla Tweaks, from this otherwise awesome addon, is the page title that skips the "Bug" part and starts the title from the bug number, instead. In a browser session crowded with tabs this is a great help, when glancing at a tab in the background.
To prevent a bug from being auto closed bots will look for '[leave open]' in the whiteboard. It would be nice to have a button to insert it.
teoli2003 reports that BugzillaJS causes bugzilla.mozilla.org compartments to leak.
I don't see any notes on how to build this, how does one build this?
For what I can understand in Bugzilla code, comments (.bz_comment and .bz_comment_table) width is fixed: 55em.
Is it possible to provide an option in BugzillaJS in order to set a different widht?
Thanks!
Extra information as Inline images or github changset are duplicated. See screenshot. This is on Ubuntu x64. Firefox 5.0.
http://imgur.com/EegIL
I can see the BugzillaJS preferences menu but the comments are not "enhanced". I've tested with various version of Firefox so I think something changed in Bugzilla markup.
Firefox's bookmarks have an "Open all in tabs" link which I've never actually clicked but I think would be handy for bugzilla. We have those "CSV | Feed | iCalendar | ..." links at the bottom of bug lists. A link would totally fit in there.
Also, iCalendar? wtf.
I would love a link near the CC field that says "Remove Me", which will be much quicker then editing the CC field, finding yourself, removing, and clicking save.
Hitting the [reply] link above a comment will quote not only the comment text but also any changelog associated with that comment.
For example on https://bugzilla.mozilla.org/show_bug.cgi?id=406026#c27 it will say:
(In reply to comment #27)
whiteboard: [wanted fx5] => [wanted fx6]Will this make Firefox 6?
instead of just the text.
When opening a link to a particular comment in a bug, the page does not scroll to the correct element. For example the following link should scroll to comment 20, but it shows comment 17 (and a bit of comment 16 above that):
If the option "Timezone used to display dates and times" is set to anything except for "Site Default (Same as the server)" then the nice looking dates are mostly displayed as NaN.
Not sure how BugzillaJS stores its settings, but I keep on having to reselect "do not guess OS and hardware". It saves it for a while, but after a few days I notice it is gone again.
I've noticed that some bugs leave comment timestamps as-is instead of converting them to relative units. I think the pattern seems to be with security bugs, e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=666744
For a bug in a certain component, I often find myself click on "browse", then click through a few levels to find that component and see all open bugs in it. I wonder if there could be a lightweight way to get to it.
In fact, I'd rather have the word "Component" link to, well, the browse page of this very component, than having it link to the bugzilla help file explaining what a component is.
The Assign To Me button should not immediately submit the form. Instead, it should behave as if you clicked on edit and entered your email address into the field.
That allows you to a) fix it if you clicked it on accident and b) make other changes in the same request before submitting.
Right now, this only works with Mozilla's Bugzilla installation. There should be a way to use this with any bugzilla installation.
Might be a dupe of issue #19, but: Security bugs do not seem to weave their history (assignee changes and such) in between the comments.
when another user has made changes to a bug after the page has loaded, there should be a prominent warning saying so so that it avoids a mid-air collision.
When bugs are changed, you show their history as little gray lines between comments, such as:
"fwenzel@... depends_on: 607182 => 618210 14 hours ago"
These bug numbers aren't linked, but should be.
https://bugzilla.mozilla.org/show_bug.cgi?id=663846
At the bottom, there are some items that should be properly inlined with the time line, but are not.
It won't upload the attachment without a description, which is annoying.
Sometimes when you change something and bugzilla redirects you straight back to the bug, changes don't show up as "2 seconds ago" but rather "NaN years ago". Screen shot:
https://skitch.com/fredw/ftyht/nan
This might be replication lag in our bugzilla instance, or maybe it shows up when the timestamp for the change is detected to be the same as NOW, but either way it should probably just not show the "... ago" part if it can't show anything useful.
A very useful thing bugzilla tweaks does: When inlining bug changes like...
fwenzel at mozilla.com: Depends on: 645179
... the bug number will be linked, and the title attribute will be the linked bug's bug title. It'll also be crossed out if it's resolved.
The stock bugzilla reply button (not to do with BugzillaJS) seems to pick up any text that exists on the page. Thus, it now picks up text that was generated by BugzillaJS like people who were cc'd. See comment 10 and 11 for an example of what happened on my browser when I pressed reply using BugzillaJS https://bugzilla.mozilla.org/show_bug.cgi?id=649863#c10
it's common to keep bugs open for many hours and the times should update accordingly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.