question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crop URLs in network panel

See original GitHub issue

As URLs can be very long in the network panel the idea was to crop them.

Possible options:

  1. The URL is cropped and shows the file. If there is just the domain, just the domain is displayed. Profile e.g. file.css, file,js?param=123, https://domain.xyz

  2. @past mentioned middle cropping, which is a function in XUL. So we would replace everything between the domain and the file & params with ... e.g. https://domain.xyz/file.css, https://domain.xyz/.../file,js?param=123, https://domain.xyz

Optional: removing the protocol https://domain.xyz -> domain.xyz

Please note:

  • URLs are fully displayed in the tooltip / later in the sidebar
  • URLs will be able to be copied with a right-click and / or from the sidebar

Thoughts? @past @digitarald @mstange @gregtatum @julienw @jesup

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:19 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
julienwcommented, Sep 18, 2018

I like Harald’s implementation too. Except currently we “draw” the URL using canvas’ commands, if I’m not mistaken. So either we would convert this in HTML or we’ll need to implement this differently.

Eventually depends on splitting the URL to generate the DOM, which could be done by regexp or URL library.

Or using new URL which is standard 😃

0reactions
zoepagecommented, Dec 19, 2018

done in #1339

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome Dev Tools: Networking and the Console - Code
The Network panel gives us a view into the resources that are requested and downloaded over the network in real-time.
Read more >
Network features reference - Chrome Developers
A comprehensive reference of Chrome DevTools Network panel features. ... Data URLs are small files embedded into other documents.
Read more >
Network request list — Firefox Source Docs documentation
URL. Use the Filter URLs box in the toolbar. You can focus it by clicking in the filter box, or by pressing Ctrl...
Read more >
CroP – Coordinated Panels Visualization - CDV Lab
CroP is a data visualization tool that utilizes multiple coordinated views to portray complex networks and multivariate data, in particular time-series.
Read more >
Optimize images with Thumbor - web.dev
Like all origins, the origin of a Thumbor URL is composed of three parts: a ... If you open the Network panel of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found