Closed Bug 1701557 Opened 4 years ago Closed 4 months ago

DevTools Netmonitor - Search tab - add context menu with Refresh/Reload, Block/Unblock, Copy options

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

Tracking

(firefox89 wontfix, firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox89 --- wontfix
firefox137 --- fixed

People

(Reporter: cfogel, Assigned: phigl)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(3 files)

Attached image nosearch.png

Affected versions

  • 88.0a1

Affected platforms

  • all

Steps to reproduce

  1. Launch Firefox, enable DevTools / Network tab;
  2. Access any webpage;
  3. Click to enable the Search/Blocking tab;
  4. Inside the search tab search for any keyword (example css);
  5. Right click on any listed element from the Search section;

Enhancement suggestion

  • right click on any list element from the search section could open a dropdown menu with some key options:
    a. Refresh/Reload -- to refresh the file or the whole selected category
    b. Block/Unblock -- this would be the biggest one, so that the user would not have to click on the desired css file then block it from the list on the right;
    c. Copy -- user might want to copy and paste in another file for debugging or other purposes;

Actual result

  • nothing happens;

Additional notes

  • set as S4, due to the reduced number of users that would benefit from this;
  • attached screenshot with the section to best illustrate the suggestion.
Has STR: --- → yes

Thank you Cristian, I like the idea

Honza

Priority: -- → P3
Keywords: good-first-bug

Hello! I would like to take this bug and work on it. Can you please assign it to me? Thank you!

Great!
I've assigned to you.

Thanks!

Assignee: nobody → Morgan.collado

Greetings,

I worked on this a little but I realized that I have other projects that I need to prioritize. I'm going to put this down so that someone else can work on it.

Thank you!
Morgan

No problem! Thanks for letting us know!

Assignee: Morgan.collado → nobody

Hi! This is Vaidehi, an outreachy applicant. Looking for my first bug. Would love to work on this with your assistance.
Thanks.

Thank you for helping with this, assigned to you.

You might want to read the docs first
https://firefox-source-docs.mozilla.org/devtools/

Honza

Assignee: nobody → b19208
Status: NEW → ASSIGNED

(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #8)

Thank you for helping with this, assigned to you.

You might want to read the docs first
https://firefox-source-docs.mozilla.org/devtools/

Honza

Thank you Honza. Have started working on it.

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: b19208 → nobody
Status: ASSIGNED → NEW

Hi Honza, I'm an outreachy applicant and would like to work on this bug. Can I be assigned to it?

Flags: needinfo?(odvarko)

Assigned to you, thank you for helping.

Honza

Assignee: nobody → lesore0789
Status: NEW → ASSIGNED
Flags: needinfo?(odvarko)
Whiteboard: dt-outreachy-2021

Cristian, just to make sure we understand the requirements here:

a. Refresh/Reload -- to refresh the file or the whole selected category
This means refreshing the list of search results coming from clicked file, correct?

b. Block/Unblock -- this would be the biggest one, so that the user would not have to click on the desired css file then block it from the list on the right;

This is related to "Block URL" feature that is available in the Request list context menu, correct?

c. Copy -- user might want to copy and paste in another file for debugging or other purposes;

What exactly should be copied in the clipboard here?

Honza

Flags: needinfo?(cristian.fogel)

For points [a, b] : yes, it was related to the Block URL feature.
At the time of filing the enhancement, it seemed that it would help to block domain requests or related to something a user might search in this section.

For point [c] : the idea would have been for the whole request header block to be copied (ex, in the image the whole data nested under photoswipe.css to be copied to clipboard if there would be such an option).

Flags: needinfo?(cristian.fogel)

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: lesore0789 → nobody
Status: ASSIGNED → NEW
Whiteboard: dt-outreachy-2021

Hi,
I have already created a context menu locally using Honza's suggestions and played around. If it's okay with you, I would like to work on this bug. However, the requirements are not 100% clear to me yet. For example, it says "a. Refresh/Reload -- to refresh the file or the whole selected category". I can only see files/requests in the TreeView result of the SearchPanel. What is meant by "whole selected category" here?
Thanks in advance,
Phil

(In reply to Phil [:phigl] from comment #16)

Hi,
I have already created a context menu locally using Honza's suggestions and played around. If it's okay with you, I would like to work on this bug.

Hello Phil, great to see you already have something working locally :) The bug is now assigned to you

However, the requirements are not 100% clear to me yet. For example, it says "a. Refresh/Reload -- to refresh the file or the whole selected category". I can only see files/requests in the TreeView result of the SearchPanel. What is meant by "whole selected category" here?

I'm not sure what Cristian meant with that, but we can ask him :)
Until we get an answer, you can try to work on a specific item (for example "Copy"), and push the patch to phabricator to get early feedback

Assignee: nobody → phigl.dev
Flags: needinfo?(cristian.fogel)
Attachment #9445653 - Attachment description: Bug 1701557 - reused context menu for requests from request list. r=Honza → Bug 1701557 - introduced context menu for results in SearchPanel. r=Honza

The following issues have been corrected:

  • removed delay for onClick-handler
  • moved openRequestInTab function to a common place.
  • blocked-URL filtering is now done in the RequestListContextMenu#open
  • DisplayedRequests will not be used anymore in the SearchPanel to open the ContextMenu

Redirect a needinfo that is pending on an inactive user to the triage owner.
:Honza, since the bug has recent activity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(cristian.fogel) → needinfo?(odvarko)

Removing NI

Cristian, if you are around, there is a question for you in comment #17

Flags: needinfo?(odvarko)
Attachment #9445653 - Attachment description: Bug 1701557 - introduced context menu for results in SearchPanel. r=Honza → Bug 1701557 - introduced context menu for results in SearchPanel.

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: phigl.dev → nobody
Assignee: nobody → phigl.dev
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/423234d9641f introduced context menu for results in SearchPanel. r=devtools-reviewers,ochameau
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: