UX refactor for the headers sections
Categories
(DevTools :: Netmonitor, enhancement, P2)
Tracking
(firefox78 fixed)
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: bomsy, Assigned: bomsy)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
Refactor the Response and Request Headers
See UX Design
https://www.figma.com/file/rTeLZ1cmvHbgfJt91AloNi/DevTools-Network-Details-Pane-(V)?node-id=171%3A93
- New smaller “Raw” toggle
- New colors
We shouldn’t use an input box for header values when selected. Let’s do what Chrome does. - Show learn more, copy, icons on hover
Questions:
Not showing if there is a text selection?
Overlapping the text or not?
Only the warning icons is visible all the time
We don’t have warnings in MVP
Assignee | ||
Comment 1•5 years ago
|
||
Dropping related suggestions from @fvsh here
Some possible improvements to the Headers accordion:
- In my tests, clicking the <label> element does not toggle the input, not sure why. Do we need an explicit for="input-id" attribute?
- We can make the checkbox (toggle) element take up less space by resetting its margin to e.g.: margin: 0; margin-inline-start: 4px;
- We can make the toggle smaller by setting its font-size to 12px instead of 16px, it looks like it renders well at this size and it fits Victoria's suggestion of smaller toggles in the header.
Assignee | ||
Comment 2•5 years ago
|
||
Included in this patch
- Reduced the size of the raw header toggles from 16px to 12px
- The raw header toggles when the "Raw" label is clicked
- The label has changed for "Raw headers" to "Raw" as recommende by the UX designs
- Changed the Title text color of the headers accordion to make it lighter
- Disabled the input boxes when property values are selected
- Changed the color of the property values
Todo (in a different patch)
- Show learn more and copy icons on hover
- No warning icons
Updated•5 years ago
|
Comment 4•5 years ago
|
||
bugherder |
![]() |
||
Updated•5 years ago
|
![]() |
||
Comment 5•5 years ago
|
||
I noticed that there are no longer info icons linking to MDN from the status codes. Is this intentional?
![]() |
||
Comment 6•5 years ago
|
||
Are you sure? They are on the left side of each header, just as before. In the future, we want to show them only on hover though.
![]() |
||
Comment 7•5 years ago
|
||
They're still there for the headers, but not for the status codes.
Compare Fx77: https://www.screencast.com/t/73ebPOZV
with Fx78: https://www.screencast.com/t/kbyWuyWJvddL
If it's there on hover, I haven't discovered what to hover over to get it.
![]() |
||
Comment 8•5 years ago
|
||
I guess this observation more properly belongs in bug 1631295. Adding it there.
![]() |
||
Comment 9•5 years ago
|
||
Updated screenshots for the Request headers and Response headers. Added description of the Raw toggle.
Description
•