Closed
Bug 59515
Opened 25 years ago
Closed 25 years ago
Add TITLE attribute to A HREF of bug # in description
Categories
(Bugzilla :: Bugzilla-General, enhancement, P3)
Bugzilla
Bugzilla-General
Tracking
()
VERIFIED
FIXED
Bugzilla 2.12
People
(Reporter: jacob, Assigned: tara)
References
()
Details
Attachments
(2 files)
|
1.28 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.56 KB,
patch
|
Details | Diff | Splinter Review |
I like the way Asa has started adding the bug summary as a TITLE attribute of
bugs he links to at http://www.mozillazine.org/build_comments/ This makes it
very easy to simply hold the mouse over the link and get a clue about what a bug
is without having to click on it and load another page. This could also be
useful for the dependency tree and even Bonsai (although I realize that's a
completely different script).
| Reporter | ||
Comment 1•25 years ago
|
||
| Reporter | ||
Comment 2•25 years ago
|
||
OK, I'm no SQL expert (in fact, I've never used) but looking at the code I think
I figured out how to add this feature to the dependancies. Also in looking at
the code, it appears that in order to add it the the desctiption entries, it
would require the addition of an SQL call for each bug link. I don't know if
this is something that would be desired...
Keywords: patch
| Reporter | ||
Comment 3•25 years ago
|
||
| Reporter | ||
Comment 4•25 years ago
|
||
OK, I went ahead and made a diff file for adding this functionality to the
description within the quoteUrls subroutine. If it's decided that this is a
good idea (worth the extra SQL call) then I'd recommend double (and maybe even
triple) checking my syntax for the SQL call.
Comment 5•25 years ago
|
||
I really like this idea.
| Reporter | ||
Comment 6•25 years ago
|
||
OK, I finally got a working hackable bugzilla installation (of all places, it's
installed on my Laptop).
Anyway, I've tested both these patches and they work as expected.
Comment 7•25 years ago
|
||
I just checked these patches in; thanks Jake. Next time we update
bugzilla.mozilla.org to the CVS tip (and once tooltips get un-busted in the
Mozilla build), the world will see the fruits of your labor.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 8•24 years ago
|
||
On landfill, I see the status but not the resolution in the tooltip. I think
it would be more useful to list the resolution, or to list both the status and
the resolution.
It seems like this code runs every time I grab a bug report with show_bug.cgi.
Doesn't the extra database queries cause a performance hit? It might make
sense to make the comments static, but fix bug 12286 (keeping track of which
bugs link to which other bugs) and reparse a bug when linked-to bugs have their
status/resolution changed.
(I could be completely misinterpreting the situation, because I'm not familiar
with how bugzilla works.)
| Reporter | ||
Comment 9•24 years ago
|
||
I think what should be done is a "GetBugTitle" function added to globals.pl.
This would give the ability to cache a title tag after running the DB query so
at least the SQL server is only queried once per bug # per page load. (For bugs
where the same bug # is referenced multiple time [not uncommon] this would
really help cut down on the number of queries. The biggest problem with this
is the dependancy tree. The way it's subroutine runs (which is a direct
resault of the way the tree is stored) would make calling a subroutine such as
this difficult. I'll see what I can come up with... maybe it will be workable.
The idea of including the resolution is a good one... I'll also work on that
ASAP.
| Reporter | ||
Comment 10•24 years ago
|
||
Jesse, this resolution in the tooltip problem is addressed in a patch attached
to bug 30694.
Comment 11•24 years ago
|
||
In search of accurate queries.... (sorry for the spam)
Target Milestone: --- → Bugzilla 2.12
| Reporter | ||
Comment 12•24 years ago
|
||
V.... Even the extra bit about Resolution has been fixed.
Status: RESOLVED → VERIFIED
Comment 13•24 years ago
|
||
Moving closed bugs to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
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
•