Closed
Bug 1362951
Opened 8 years ago
Closed 6 years ago
CC list implies there's a drop-down menu, but clicking the dropdown button treats it as send email
Categories
(bugzilla.mozilla.org :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: standard8, Unassigned, NeedInfo)
References
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
On the general bug view, if I expand the CC list to show it, the people's details are formatted in exactly the same way as for other fields, e.g. reporter, assignee etc.
It has the underline and the drop-down arrow at the end.
However, if I click one of the CC list items, it always tries to send email rather than showing me the drop-down menu so that I can see their profile/activity etc.
Updated•8 years ago
|
Assignee: nobody → dylan
Component: Bug Creation/Editing → User Interface: Modal
Comment 1•8 years ago
|
||
Basically a result of how we hook up the event to the show_usermenu links.
Depends on: bmo_csp_modal
Keywords: regression
Comment 2•8 years ago
|
||
Notes from IRC:
17:07 <dylan> so the user menu happens because of this code: https://github.com/mozilla-bteam/bmo/blob/master/extensions/BMO/web/js/edituser_menu.js#L48
17:08 <dylan> but the CC list is generated after the page is loaded
17:09 <CGI683> I'll take a look at it looks easy
17:10 <dylan> and here is where the cc list is updated:
17:10 <dylan> https://github.com/mozilla-bteam/bmo/blob/master/extensions/BugModal/web/bug_modal.js#L222
17:10 <dylan> so I think you'll want to hook up a click() event to that, which just calls show_usermenu($this.data('user-id'), $this.data('user-email'), $this.data('show-edit'));
Assignee: dylan → bitout.cecelia
Comment 3•8 years ago
|
||
Attachment #8867389 -
Flags: review?(dylan)
Comment 4•8 years ago
|
||
Thank you and congratulations on your first patch to BMO
It is hard to review a single file, so I used the file you attached to generate a diff:
cp bug_modal.js ./extensions/BugModal/web/bug_modal.js
git diff > 1362951_1.patch
I will now review this diff.
It seems you might have had some trouble getting generating a pull request --
I'd be happy to take some time to go over that; we can chat about it in #bmo on irc.mozilla.org if you like.
Attachment #8867389 -
Attachment is obsolete: true
Attachment #8867389 -
Flags: review?(dylan)
Flags: needinfo?(bitout.cecelia)
Comment 6•6 years ago
|
||
Looks like bitout.cecelia is inactive for the past 2 years so I gave it a shot.
Assignee: bitout.cecelia → kohei.yoshino
Status: NEW → ASSIGNED
Updated•6 years ago
|
Attachment #8867802 -
Attachment is obsolete: true
Comment 7•6 years ago
|
||
Merged to master.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: User Interface: Modal → User Interface
Updated•5 years ago
|
Assignee: kohei.yoshino → nobody
You need to log in
before you can comment on or make changes to this bug.
Description
•