Closed Bug 1932626 Opened 1 year ago Closed 11 months ago

Full path column in network devtools

Categories

(DevTools :: Netmonitor, enhancement, P3)

Firefox 132
enhancement

Tracking

(relnote-firefox 138+, firefox138 fixed)

RESOLVED FIXED
138 Branch
Tracking Status
relnote-firefox --- 138+
firefox138 --- fixed

People

(Reporter: egil, Assigned: m.abdelaziz1993, Mentored)

References

Details

(Keywords: dev-doc-needed, Whiteboard: [lang=js])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0

Steps to reproduce:

  • Open my app.
  • App calls /api/loan/list
  • App calls /api/loan/archived/list

Actual results:

Both show up as "list" in the devtools (file column).

Expected results:

Should have a column in which I can distinguish such calls.

Other typical REST calls could include:
/api/reader/138?_dc=1732196947775
In which case it should be distinguishable from:
/api/holdings/138?_dc=1732196947775

So full path would for most REST apps I think. Or maybe even a relative url (everything that comes after the domain).

The Bugbug bot thinks this bug should belong to the 'Fenix::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → General
Product: Firefox → Fenix

Moving this back to Desktop

Component: General → Untriaged
Product: Fenix → Firefox

Thank you for the enhancement suggestion.
Setting as NEW so the developing team can have a look.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Not completely sure if this is about NetMonitor.

Component: Untriaged → Netmonitor
Product: Firefox → DevTools

Thanks for the suggestion! This would make sense, probably not too complicated to add. I can mentor this in case someone is interested.

Chrome has such a column.

Mentor: jdescottes
Priority: -- → P3
Whiteboard: [lang=js]

Hi there, I would like to work on this ticket

Flags: needinfo?(jdescottes)

Thanks I will assign the bug to you.! Note that this is not flagged as a good first bug, so while it shouldn't be too challenging it's not a trivial change either. But if you're ready to dive into the Firefox codebase, it should be fine.

For starters, take a look at our getting started documentation at https://firefox-source-docs.mozilla.org/setup/index.html
It should have everything you need to setup your development environment.

Specifically the code for the network monitor can be found under devtools/client/netmonitor/src. The panel is built with React, and you will find many components related to the various columns we have in the components/request-list folder.

I think a good way to get started would also be to look at a patch which added another column, here the priority column. You can expect part of the work to be similar.

That should be enough to get you started, so please take a look and ping me if you have any question!

Assignee: nobody → m.abdelaziz1993
Status: NEW → ASSIGNED
Flags: needinfo?(jdescottes)

Thanks for assigning me this bug. I am aware that it is not flagged as good first bug. However, I would like to dive into the codebase and do whatever necessary to accomplish it. I've used Firefox as my primary browser for years and I am willing to start contributing and pay back some of the debt we owe the great team behind it. I've already setup Firefox development environment few weeks ago and started reading devtools source code and somewhat undertood the overall folder structure and components architecture. I really appreciate the link of patches you gave me. I will carefully read them and get started on it and will let you know if I need further assistance.

(In reply to Abdelaziz Mokhnache from comment #8)

Thanks for assigning me this bug. I am aware that it is not flagged as good first bug. However, I would like to dive into the codebase and do whatever necessary to accomplish it. I've used Firefox as my primary browser for years and I am willing to start contributing and pay back some of the debt we owe the great team behind it. I've already setup Firefox development environment few weeks ago and started reading devtools source code and somewhat undertood the overall folder structure and components architecture. I really appreciate the link of patches you gave me. I will carefully read them and get started on it and will let you know if I need further assistance.

That's great to hear! Don't hesitate to join our channel on Matrix if you want to ask questions directly to the team as well :) https://chat.mozilla.org/#/room/#devtools:mozilla.org

Hey there, I made some advancement in this ticket, and would like to ask about two things:

  1. Do we need to show the slow request icon (turtle icon) in this column like in File column or not?
  2. When hovering over this column what should be shown, the original url (like in File column) or the column content (full path)?

Any feedback is appreciated, Thanks

Hey there, I made some advancement in this ticket, and would like to ask about two things:

  1. Do we need to show the slow request icon (turtle icon) in this column like in File column or not?
  2. When hovering over this column what should be shown, the original url (like in File column) or the column content (full path)?

Any feedback is appreciated, Thanks

(In reply to Abdelaziz Mokhnache from comment #11)

Hey there, I made some advancement in this ticket, and would like to ask about two things:

  1. Do we need to show the slow request icon (turtle icon) in this column like in File column or not?

No need to show the slow request icon here, we can keep it only in the File column.

  1. When hovering over this column what should be shown, the original url (like in File column) or the column content (full path)?

For consistency, let's show the URL.

Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/37da133f85ed Add a column displaying the full path of the request url r=jdescottes,devtools-reviewers
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Regressions: 1957554

This change is worth to be mentioned in the developer release notes for Firefox 138 and possibly also in the general release notes.

Release Note Request (optional, but appreciated)
[Why is this notable]: Makes it easier for developers to see the full path of a network request.
[Affects Firefox for Android]: no
[Suggested wording]: A new column was added to the Network panel showing the full path of the request URL.
[Links (documentation, blog post, etc)]: n/a

Sebastian

relnote-firefox: --- → ?
Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: