Support for multiple panels in left side bar
Categories
(DevTools :: Netmonitor, enhancement, P3)
Tracking
(firefox71 verified)
Tracking | Status | |
---|---|---|
firefox71 | --- | verified |
People
(Reporter: Honza, Assigned: davidwalsh)
References
Details
(Whiteboard: [debugger-mvp])
Attachments
(1 file)
The UI for blocking specific resources manually from DevTools Network panel will be part of the left side bar (not the right side bar for HTTP request details)
This left side bar already exists and is used for Search across all HTTP requests (resources).
This bug is about:
- Implementing support for multiple side panels in the left side bar (using tab bar)
- Convert the current Search panel into a tab in the side bar
Honza
Reporter | ||
Comment 1•5 years ago
•
|
||
Some pointers to the code base:
- The Search panel is rendered here
https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/devtools/client/netmonitor/src/components/MonitorPanel.js#180
In this place we need to render the new side bar NetworkActionBar
not just one panel.
The SearchPanel is implemented here:
https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/devtools/client/netmonitor/src/components/search/SearchPanel.js#37
- The existing right side bar is represented by
NetworkDetailsPanel
(should be renamed toNetworkDetailsBar
in another bug) and rendered here:
https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/devtools/client/netmonitor/src/components/MonitorPanel.js#226
... and implemented here:
https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/devtools/client/netmonitor/src/components/NetworkDetailsPanel.js#29
- The new
NetworkActionBar
should be implemented exactly the same way asNetworkDetailsPanel
. Based onTabbar
require("devtools/client/shared/components/tabs/TabBar")
NetworkDetailsPanel
is using helper TabboxPanel
, but it looks like it isn't needed for NetworkActionBar
. Let's try to simplify it here.
- Here is an example of adding a new panel into the
TabBar
https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/devtools/client/netmonitor/src/components/TabboxPanel.js#124-137
We need to append the existing SearchPanel
.
Honza
Assignee | ||
Comment 2•5 years ago
|
||
Creates a left sidebar panel for both search and request blocking.
Comment 5•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Marking as verified for 71.0b9.
Description
•