Closed
Bug 133559
Opened 22 years ago
Closed 22 years ago
Bugzilla Helper should be enter_bug.cgi template
Categories
(Bugzilla :: Creating/Changing Bugs, defect, P3)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: gerv, Assigned: gerv)
References
Details
Attachments
(3 files, 7 obsolete files)
7.52 KB,
text/plain
|
Details | |
334 bytes,
text/plain
|
Details | |
20.71 KB,
patch
|
Details | Diff | Splinter Review |
Bugzilla Helper should be a "simple bug entry form" mozilla.org-specific template for enter_bug.cgi. Now that enter_bug.cgi has been templatised, this should be quite simple. Gerv
Assignee | ||
Comment 1•22 years ago
|
||
I have this nearly done; but it depends on a few mods to Bugzilla's core over in bug 137229, and also will be affected by the change in bug 138904. Gerv
Assignee | ||
Updated•22 years ago
|
Component: Bugzilla Helper → Creating/Changing Bugs
Product: Webtools → Bugzilla
Target Milestone: --- → Bugzilla 2.18
Version: other → 2.15
Assignee | ||
Comment 2•22 years ago
|
||
Here we are. Using the hooks I put in earlier, we can now have a two-file drop-in Bugzilla Helper replacement. This copy is unashamedly mozilla-org specific. We need to decide whether it ships as-is as part of Bugzilla, or whether it has to be generified. We don't have to decide that immediately; I'm putting this up for review so people can give it a look over, and it can be ready to drop into b.m.o when they upgrade.
Assignee | ||
Comment 3•22 years ago
|
||
myk: I'd appreciate it if you gave this the once over, and had a play with it. Gerv
Severity: critical → major
Priority: -- → P3
Assignee | ||
Comment 4•22 years ago
|
||
Enhanced; also added mozilla-org specific link to page about why we require accounts, which uses the mechanism outlined in bug 143650. Gerv
Attachment #83128 -
Attachment is obsolete: true
Comment 5•22 years ago
|
||
Yes this should definitely be generalised I can see installations wanting this.
Assignee | ||
Comment 6•22 years ago
|
||
Note to self: include RESOLVED but not VERIFIED bugs in searches to make it possible to catch recently-closed bugs. Tip from Bryce Nesbitt. Gerv
Assignee | ||
Comment 7•22 years ago
|
||
Assignee | ||
Comment 8•22 years ago
|
||
Assignee | ||
Comment 9•22 years ago
|
||
This patch contains solely the two files necessary to add another format to enter_bug.cgi - the template for the enter_bug page, and the one to format the initial comment. These files are currently mozilla.org-specific. Adding these to an existing Bugzilla information should be zero-risk - it's just another way of presenting information to post_bug.cgi, which should do all the relevant sanity-checking of input data anyway. Still, a review can't hurt :-) I'd particularly like to know how it performs in different browsers. I've tested Mozilla, NS 4.7x and Konqueror on Linux. Konq has problems with the <iframe> width, calculating it from the viewport rather than from inside the <blockquote>. But that's not too bad. Gerv
Attachment #83188 -
Attachment is obsolete: true
Assignee | ||
Comment 10•22 years ago
|
||
Changing severity to indicate this bug's importance. Gerv
Severity: major → blocker
Comment 11•22 years ago
|
||
General Comments: 1. There should be some info here about getting an account if necessary? 2. I can't help thinking the field descriptions should be tooltips or be on top of the field (even though that means the field names and fields aren't aligned). + Bugzilla are duplicates, and this means a lot of wasted effort on + the part of our QA engineers. Nit: "and this wastes a lot of our QA engineers' time" + Visit the <a href="duplicates.cgi">most-frequently-reported bugs page</a> + and see if your bug is there. If not, go to the + <a href="query.cgi">search page</a> and search Bugzilla by entering two or + three of the main words having to do with your bug in the top box. + For example: <tt><b>crash mail</b></tt> or <tt><b>copy paste</b></tt>. This should be linked directly to the new query page if that's the one you want users to use: "query.cgi?format=modern" or something like that (will be known after the upgrade tonight). + </p> + [% ELSE %] + <p> + Check the list of most-frequently-filed bugs below. + If your bug's not there, then search Bugzilla by entering two or "bug isn't there, search" + <b>Product</b> + </td> + <td valign="top"> + <input type="hidden" name="product" value="[% product FILTER html %]"> + [% product FILTER html %] You might consider overriding product as well, since there are a ton of components in Browser that no newbie will ever know to file a bug in. Perhaps there should be an "is_internal" or "is_pro" flag on products that shouldn't be shown to users who haven't said they are engineers. + <span id="description"></span> This span should have a set size; otherwise the form jumps around when you select a component with a long description. Also, the description should be set apart from the form in some way: different font size or color, background color, border, etc. + using the "Create Attachment" link after the bug is filed. I think it says something else at the moment. + Critical: Mozilla crashes, hangs, leaks memory, or causes you to I don't think most newbies will know what leaking memory is. + How big the problem is. Also, if your bug is a request for a new feature "serious the problem is"
Assignee | ||
Comment 12•22 years ago
|
||
> 1. There should be some info here about getting an account if necessary? You can't get this far without one. The solution to this is to have a link on the "get an account" page that you get when you try and do something without logging in, called "Why do I need an account?" > 2. I can't help thinking the field descriptions should be tooltips or be > on top of the field (even though that means the field names and fields > aren't aligned). Having them only as tooltips would definitely be a usability regression. Having them on top would make the page appear even longer than it actually is, which is something I really want to avoid. > You might consider overriding product as well, since there are a ton of > components in Browser that no newbie will ever know to file a bug in. Perhaps > there should be an "is_internal" or "is_pro" flag on products that shouldn't be > shown to users who haven't said they are engineers. The correct solution here is to have a "simple" format for the product list, which is hard-coded to the obvious products rather than auto-generated. Then, you will have selected the correct product by the time you get here. Other than those discussed above, I'll make all the changes you suggest. Gerv
Assignee | ||
Comment 13•22 years ago
|
||
The current version of this patch is up on b.m.o; but I won't publicise the location and ask people to test it until duplicates.cgi is fixed (bug 151281). Gerv
Assignee | ||
Comment 14•22 years ago
|
||
Myk:
> This span should have a set size; otherwise the form jumps around when you
> select a component with a long description
I haven't quite figured out how to do this. Whatever I do, a long description
still rearranges the page. Any hints?
Gerv
Assignee | ||
Comment 15•22 years ago
|
||
Here's a new version, incorporating a lot of the feedback given in the newsgroups and this bug. Currently open issues: - the component <span> needs a size - the duplicates simple format needs a heading (another bug) - the product list needs simplifying (another bug) - Should use Quicksearch instead of the current allwordssubstr - Change index.html.tmpl to better present the two versions correctly Gerv
Attachment #86951 -
Attachment is obsolete: true
Comment 16•22 years ago
|
||
>I haven't quite figured out how to do this. Whatever I do, a long description
>still rearranges the page. Any hints?
You may need to use a block-level element like a div instead and then set the
width and height properties to an absolute value and "overflow: scroll" so
content that cannot fit in the area can be scrolled through.
Assignee | ||
Comment 17•22 years ago
|
||
[CCing Hixie: he can probably solve my problem in an instant.]
> You may need to use a block-level element like a div instead and then set the
> width and height properties to an absolute value and "overflow: scroll" so
> content that cannot fit in the area can be scrolled through.
overflow: scroll always adds scrollbars, which is ugly. overflow:auto adds a
vertical scrollbar only when necessary, which seems the right thing. And I can
set the height with no problem (to 5em.) However, I can't get the width to work.
No width means the div begins as the width of its contents ("Select a component
to see its description") and remains that width. What I want is for it to start
as the width of the _window_. width=100% does not do this, and I don't know why.
The only thing I can find that makes it work is to have the initial text longer
than one window-width. And that's a horrible hack.
Any ideas?
Gerv
Assignee | ||
Comment 18•22 years ago
|
||
Now uses QuickSearch, and gets some way to getting the Components descriptions right. Myk - please upload this version. Gerv
Attachment #88989 -
Attachment is obsolete: true
Comment 19•22 years ago
|
||
Can this patch be placed on landfill first so I have a chance to see it in action?
Assignee | ||
Comment 20•22 years ago
|
||
Fixes search to use format=simple again, and puts descriptions above fields for clarity (requested by myk.) Gerv
Attachment #89611 -
Attachment is obsolete: true
Assignee | ||
Comment 21•22 years ago
|
||
Patch v.6 is slightly broken. Never mind. Try out the fixed version here: http://landfill.tequilarista.org/bz133559/enter_bug.cgi?format=guided Gerv
Comment 22•22 years ago
|
||
I get the error "A legal OS/Version was not set." when I use the Bugzilla Helper test install and select the "Macintosh" platform and "Mac System 9.x" operating system.
Assignee | ||
Comment 23•22 years ago
|
||
I don't see that problem on my local copy (and landfill is down.) But it could be because some of the OS names are hard-coded to match b.m.o, whose OS list is not quite the same as the default. If you have no other issues, it would be great if you could overwrite the current test version on b.m.o with the new test version, so we can try it out in situ. Gerv
Comment 24•22 years ago
|
||
I'll put the latest version up on the live Bugzilla test on mothra. Landfill is down now, however, and patch v.6 is broken according to comment 21. Can you attach the latest version?
Assignee | ||
Comment 25•22 years ago
|
||
Latest and greatest, for Myk to put up. Gerv
Attachment #89848 -
Attachment is obsolete: true
Assignee | ||
Comment 26•22 years ago
|
||
Oh, and what's the URL of the live Bugzilla test on Mothra? Gerv
Comment 27•22 years ago
|
||
It's up. http://mothra.mozilla.org/webtools/bugzilla-test/
Assignee | ||
Comment 28•22 years ago
|
||
OK, I've spotted and (I think) fixed the: "The /guided/ output format is not supported by this script" error on filing a bug; this was caused by a bmo customisation. I've also reworded a few bits. But other than that, I'm happy with it. Would someone else care to bang on it a bit? I'll post to the NGs again. Gerv
Assignee | ||
Comment 29•22 years ago
|
||
This has all the fixes from feedback in, and is ready to go up on b.m.o proper and take over from the Bugzilla Helper. Gerv
Attachment #90528 -
Attachment is obsolete: true
Assignee | ||
Comment 30•22 years ago
|
||
*** Bug 137229 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 31•22 years ago
|
||
Note to myk: when you do put this up, remember to remove the old "format=simple" versions of the templates. Gerv
Comment 32•22 years ago
|
||
Comment on attachment 91279 [details] [diff] [review] Patch v.8 Ok, this looks good. r=myk, and it has been staged at: http://mothra.mozilla.org/webtools/bugzilla-stage/ Try it out for your next couple of bugs, and if it works fine I'll move it into production.
Comment 33•22 years ago
|
||
myk - you should move the 'report a bug' link on the index page to point to that, too
Comment 34•22 years ago
|
||
The helper has been moved into production, the "report a bug" link on the home page has been pointed to "enter_bug.cgi?format=guided", and the "simple" format has been removed.
Assignee | ||
Comment 35•22 years ago
|
||
Yee-ha! :-) We may check this into Bugzilla CVS as an example of a customisation - we'll see how it goes. But this bug is definitely fixed. And I'm off to close about 25 Bugzilla Helper bugs. Woohoo! Gerv
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•