Closed
Bug 529433
Opened 16 years ago
Closed 15 years ago
Show name and full e-mail in a tooltip for flag setters and requestees
Categories
(Bugzilla :: User Interface, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.0
People
(Reporter: tuggyne, Assigned: reed)
References
()
Details
Attachments
(1 file, 1 obsolete file)
|
2.81 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.21022; .NET CLR 3.5.30729)
Build Identifier:
The useful tooltips that show the full email of the user who set or requested a given flag are no longer present after the upgrade to 3.4.3. See the 'blocking-thunderbird3+' flag in the linked page for an example: all that's shown is 'bugzilla', and the rest of the email (which in full is 'bugzilla@standard8.plus.com') is unavailable. view-source shows no title attribute, nor indeed any reference to the full email.
The workaround is to view change history and determine the user who last set that flag.
Reproducible: Always
Steps to Reproduce:
0. Log in
1. View a bug with one or more flags set
2. Hover over the alias of the user who set or requested that flag
Actual Results:
No tooltip appears.
Expected Results:
A tooltip should appear with the full email address of the user who set or requested the flag, for disambiguation.
Just in case, my User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.21022; .NET CLR 3.5.30729)
| Reporter | ||
Updated•16 years ago
|
Blocks: bmo-regressions-0911
| Assignee | ||
Comment 1•16 years ago
|
||
This is indeed a regression from bmo 3.2.x, but I don't think it's a Bugzilla regression. However, I'd like to fix it upstream, so I'm going to convert this to a feature request and attach a patch.
Assignee: nobody → ui
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Component: Bugzilla: Other b.m.o Issues → User Interface
Ever confirmed: true
Product: mozilla.org → Bugzilla
QA Contact: other-bmo-issues → default-qa
Summary: Tooltips showing full emails on e.g. flags are no longer shown after BMO upgrade to 3.4.3 → Show name and full e-mail in a tooltip for flag setters and requestees
Version: other → 3.4.4
| Assignee | ||
Comment 2•16 years ago
|
||
For logged-in users, display the .identity of the flag setter. For logged-out users, display the .name (if it exists) for the flag setter and requestee.
Updated•16 years ago
|
Target Milestone: --- → Bugzilla 3.8
Comment 3•16 years ago
|
||
Comment on attachment 416186 [details] [diff] [review]
patch - v1
>@@ -205,9 +213,9 @@
>-[% END %]
>\ No newline at end of file
>+[% END %]
Please remove this block, which doesn't apply anyway. Note that this doesn't affect the attachment table displayed in show_bug.cgi as it doesn't call flag/list.html.tmpl. You will have to update your patch to fix that too. I think you should do it as part of this bug. r=LpSolit for the current code, but awaiting an updated patch for the attachment table.
Attachment #416186 -
Flags: review?(LpSolit) → review+
| Assignee | ||
Comment 4•16 years ago
|
||
Attachment #416186 -
Attachment is obsolete: true
Attachment #428127 -
Flags: review?(LpSolit)
| Assignee | ||
Comment 5•16 years ago
|
||
Comment on attachment 428127 [details] [diff] [review]
patch - v2
Hmm, I noticed a difference between a check in both of the files, so I thought I'd ask about it...
attachment/list.html.tmpl has:
> [%+ flag.type.name FILTER html FILTER no_break %][% flag.status %]
> [%+ IF flag.status == "?" && flag.requestee %]
while flag/list.html.tmpl has:
> [%+ type.name FILTER html FILTER no_break %][% flag.status %]
> [% IF flag.requestee %]
Why is there not a check for |flag.status == "?"| here?
If I had some more time, I could probably read the code more closely and figure it out, but I'm in a hurry tonight, and you'll probably be able to answer quicker.
Comment 6•16 years ago
|
||
(In reply to comment #5)
> Why is there not a check for |flag.status == "?"| here?
Because this is useless. If there is a requestee, then the status is "?" for sure. I added these lines in flag/list.html.tmpl in Bugzilla 3.4, while the code from attachment/list.html.tmpl with the useless check is from Bugzilla 2.18.
Comment 7•15 years ago
|
||
Comment on attachment 428127 [details] [diff] [review]
patch - v2
r=LpSolit
Attachment #428127 -
Flags: review?(LpSolit) → review+
Updated•15 years ago
|
Flags: approval+
| Assignee | ||
Comment 8•15 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/
modified template/en/default/attachment/list.html.tmpl
modified template/en/default/flag/list.html.tmpl
Committed revision 7080.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•