Closed
Bug 1350235
Opened 7 years ago
Closed 7 years ago
Support Copy submenu in the Context menu
Categories
(DevTools :: Netmonitor, enhancement, P1)
DevTools
Netmonitor
Tracking
(firefox55 verified)
Tracking | Status | |
---|---|---|
firefox55 | --- | verified |
People
(Reporter: gasolin, Assigned: brennan.brisad, Mentored)
References
Details
(Keywords: dev-doc-needed, Whiteboard: [netmonitor-reserve])
Attachments
(2 files, 3 obsolete files)
We'd like moving all copy related menus into a `Copy` sub-menu
Reporter | ||
Updated•7 years ago
|
Mentor: gasolin
Priority: -- → P3
Whiteboard: [netmonitor]
Assignee | ||
Comment 1•7 years ago
|
||
Hi, I'd like to work on this bug
Updated•7 years ago
|
Flags: qe-verify?
Priority: P3 → P2
Updated•7 years ago
|
Flags: qe-verify? → qe-verify+
QA Contact: ciprian.georgiu
Comment 2•7 years ago
|
||
(In reply to Michael Brennan from comment #1) > Hi, I'd like to work on this bug Sounds great, assigning to you ;-) Fred is mentor for this bug, so don't hesitate to ask questions! Honza
Assignee: nobody → brennan.brisad
Reporter | ||
Comment 3•7 years ago
|
||
Michael, welcome! If its the first time you try gecko, you could check https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build to build a workable firefox. When you look at request-list-context-menu, you will see all right click menu items when you right click above the netmonitor's entry http://searchfox.org/mozilla-central/source/devtools/client/netmonitor/request-list-context-menu.js You can take a look how framework/menu and framework/menu-item works with submenu. Put copy related menu-item into the submenu and append back to the menu in the right place. We'd like to put `har` related items into a submenu as well, but its fine to do it in a separate bug. If you have any question, you can need info me in bugzilla, ping me on irc #devtools channel, or via devtools-html slack #netmonitor channel https://devtools-html.slack.com
Assignee | ||
Comment 4•7 years ago
|
||
Thanks Fred for the info! I'm attaching a patch for feedback. I put the `copyAllAsHar` menu item into the new sub-menu but also left it on the main menu. I'm thinking that that menu item might belong to both the copy and HAR sub-menus.
Attachment #8852424 -
Flags: feedback?(gasolin)
Updated•7 years ago
|
Status: NEW → ASSIGNED
Priority: P2 → P3
Whiteboard: [netmonitor] → [netmonitor-reserve]
Reporter | ||
Comment 5•7 years ago
|
||
Comment on attachment 8852424 [details] [diff] [review] bug1350235.patch Thanks Michael! The patch looks good to me, here are some nits need to be addressed before send the review: * current netmonitor sources are restructured, so you need rebase (or better create a new branch to port your change into there) * You can just put `Copy All as HAR` into the submenu and remove the one outside. At the end it will looks like Copy URL Copy URL Parameters Copy as cURL --- Copy Request Headers Copy Response Headers Copy Response --- Copy All as HAR
Attachment #8852424 -
Flags: feedback?(gasolin) → feedback+
Reporter | ||
Comment 6•7 years ago
|
||
Honza, I also saw the submenu doesn't have any visual difference from the normal menu item. (see as attachment) I think we should not ship this issue until we fix the submenu visual issue.
Flags: needinfo?(odvarko)
Reporter | ||
Comment 7•7 years ago
|
||
Ooh I found even in normal page's right click menu, their submenu doesn't have any visual hint as well. So never mind, we can land this :)
Flags: needinfo?(odvarko)
Assignee | ||
Comment 8•7 years ago
|
||
Thanks for the feedback! Here's an updated patch. Btw, I do have a small arrow on my system. I'm on Linux running Xfce.
Attachment #8852424 -
Attachment is obsolete: true
Attachment #8852818 -
Flags: review?(gasolin)
Assignee | ||
Comment 9•7 years ago
|
||
(In reply to Michael Brennan from comment #8) > Created attachment 8852818 [details] [diff] [review] > bug1350235.patch > > Thanks for the feedback! > > Here's an updated patch. Btw, I do have a small arrow on my system. I'm on > Linux running Xfce. Oops, I see I actually missed to commit the `Copy All as HAR` change. I'll put up a new patch in a bit.
Assignee | ||
Updated•7 years ago
|
Attachment #8852818 -
Attachment is obsolete: true
Attachment #8852818 -
Flags: review?(gasolin)
Assignee | ||
Comment 10•7 years ago
|
||
Attachment #8852866 -
Flags: review?(gasolin)
Reporter | ||
Comment 11•7 years ago
|
||
Comment on attachment 8852866 [details] [diff] [review] bug1350235.patch Looks good to me, thanks!
Attachment #8852866 -
Flags: review?(odvarko)
Attachment #8852866 -
Flags: review?(gasolin)
Attachment #8852866 -
Flags: review+
Comment 12•7 years ago
|
||
Comment on attachment 8852866 [details] [diff] [review] bug1350235.patch Review of attachment 8852866 [details] [diff] [review]: ----------------------------------------------------------------- Nice work here! Looks good and works as expected, R+ Honza
Attachment #8852866 -
Flags: review?(odvarko) → review+
Comment hidden (mozreview-request) |
Reporter | ||
Comment 14•7 years ago
|
||
Thanks Michael, I create a PR to do the auto test on our try server, if tests all passed, we can land your patch
Reporter | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 15•7 years ago
|
||
This doesn't have sufficient reviews set in MozReview for autoland to push it.
Keywords: checkin-needed
Reporter | ||
Updated•7 years ago
|
Attachment #8854710 -
Attachment is obsolete: true
Comment 17•7 years ago
|
||
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/27dcd50df857 Move copy related menus into a sub-menu in netmonitor. r=gasolin, r=Honza
Keywords: checkin-needed
Comment 18•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/27dcd50df857
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•7 years ago
|
Iteration: --- → 55.3 - Apr 17
Priority: P3 → P1
Comment 19•7 years ago
|
||
I’ve reproduced the issue described in comment 0 using old Firefox 55.0a1 (Build Id:20170324030205) and verified that the issue is not reproducible anymore using Firefox 55.0a1 (Build Id:20170409123541) on Windows 10 64bit.
Reporter | ||
Comment 20•7 years ago
|
||
all copy menu is now live within submenu, we should update MDN accordingly https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor#Context_menu
Keywords: dev-doc-needed
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•