Closed
Bug 143529
Opened 23 years ago
Closed 16 years ago
Shouldn't use GetBugLink() for comment links
Categories
(Bugzilla :: User Interface, defect, P3)
Bugzilla
User Interface
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: xor, Assigned: xor)
References
(Depends on 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
bbaetz
:
review-
|
Details | Diff | Splinter Review |
We shouldn't linkify comment links the same way we do normal links.
The way we currently do it has side effects: hitting the database
unnecessarily, showing tooltips which aren't always relevant, and styling the
link to match the bug, not the comment (strikethrough and italics).
value_quote() added
Attachment #83075 -
Attachment is obsolete: true
Comment 3•23 years ago
|
||
This one caught me off guard as I misread it many times as you were changing bug
links.
Does this patch stop the database access for pure comment links only, or
bug/comment combination links as well? I would expect the latter to access the
database.
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.18
Comment 4•23 years ago
|
||
I looked again, it seems like it does stop it. I don't see that as a good
thing. Combo links probably aren't common enough to worry about perf anyway.
I've filed bug #143529 on a longer term way of dealing with comment and combo links.
Comment 5•23 years ago
|
||
Bug #146752 I mean.
I thought about proposing an alternative patch to break up the bug/comment
links, but thought this was enough for now. I'm not opposed to hitting the
database for comments if we can do something useful, like you suggest in bug
146752, but we really shouldn't be using GetBugLink() on it.
We should probably either create a GetCommentLink(), and call each as
appropriate, or roll them both into one, and pass some kind of flag. There was
also some other cleanup in these routines that I wanted to look at once this
stuff gets fixed.
Comment 7•23 years ago
|
||
Right, isn't it doing something useful now for combo links?
Last I remember, this did everything useful that the old method did, i.e.
linking, without the negative consequences. It's pretty simple. :) Is there
another issue, other than bug 146752, that I am not seeing?
Comment 9•23 years ago
|
||
As far as I can tell, combo links used to have a tooltip like bug links, and
this patch removes that.
Comment 10•22 years ago
|
||
Comment on attachment 83076 [details] [diff] [review]
oops
This has now bitrotted, since I've rewritten that section.
However, I'm not sure what this is doing - I want |bug 1 comment 3| to be
tooltipped just like |bug 1| is.
Attachment #83076 -
Flags: review-
Comment 11•21 years ago
|
||
Unloved bugs targetted for 2.18 but untouched since 9-15-2003 are being
retargeted to 2.20
If you plan to act on one immediately, go ahead and pull it back to 2.18.
Target Milestone: Bugzilla 2.18 → Bugzilla 2.20
Comment 12•20 years ago
|
||
This bug has not been touched by its owner in over six months, even though it is
targeted to 2.20, for which the freeze is 10 days away. Unsetting the target
milestone, on the assumption that nobody is actually working on it or has any
plans to soon.
If you are the owner, and you plan to work on the bug, please give it a real
target milestone. If you are the owner, and you do *not* plan to work on it,
please reassign it to nobody@bugzilla.org or a .bugs component owner. If you are
*anybody*, and you get this comment, and *you* plan to work on the bug, please
reassign it to yourself if you have the ability.
Target Milestone: Bugzilla 2.20 → ---
Comment 13•19 years ago
|
||
I plan to fix this after bug 115796 is committed.
I'm planning on using one function to linkify both bugs and comments with the comment parameter triggering the type of link.
Depends on: 115796
Updated•18 years ago
|
QA Contact: mattyt-bugzilla → default-qa
Comment 14•16 years ago
|
||
It really makes sense to have tooltips for references to other bugs. So there is no reason to remove this feature.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•