Closed
Bug 1458092
Opened 7 years ago
Closed 7 years ago
Netmonitor - minor visual tweaks to new toolbar
Categories
(DevTools :: Netmonitor, enhancement, P1)
DevTools
Netmonitor
Tracking
(firefox61 fixed)
RESOLVED
FIXED
Firefox 61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: victoria, Assigned: Honza)
References
Details
Attachments
(3 files, 1 obsolete file)
- Make the devtools-toolbar background color white. (Same as in the mockup https://mozilla.invisionapp.com/share/2XEEY0RYA#/screens/263401584_Network_Toolbar All panels will be moving to this style with the integrated search bar, and the white will give it a cleaner look. Console will need the same change, I can file a separate bug)
- Change margin of .requests-list-filter-buttons to `0 7px;` to give it more room
- Change .devtools-checkbox-label to lessen margin:
margin-inline-start: 2px;
margin-inline-end: 2px;
- Last .devtools-checkbox-label (Disable cache in this case) needs an extra margin-right: 7px;
HAR button would benefit from margin: 0 0 0 2px; for better spacing
I attached a screenshot that shows what the above style changes look like.
Two other changes:
- The filter input's focus ring should use the same rectangle style as Console
- Change the button styling to be as specified in this mockup
https://mozilla.invisionapp.com/share/2XEEY0RYA#/screens/263398480
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Priority: -- → P1
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•7 years ago
|
||
@Victoria: what exactly does it mean "Gray 90 10%" on the screenshot? (I am referring mainly to the percentage part)
I guess that Gray 90 equals to the existing `--grey-90` CSS variable, correct?
And the percentage means alpha?
Like e.g. the following var should be defined for it?
--grey-90-alpha-10: rgba(12, 12, 13, 0.1);
Honza
Flags: needinfo?(victoria)
Reporter | ||
Comment 3•7 years ago
|
||
Ah yes, Gray 90 is --gray-90, and I did mean alpha by the percentage part.
The variable you mentioned could make sense if we follow the existing devtools pattern:
https://searchfox.org/mozilla-central/source/devtools/client/themes/variables.css#239
However, it might make sense to instead pull the color-with-alpha variables from the main design tokens project:
https://github.com/FirefoxUX/design-tokens/blob/master/photon-colors/photon-colors.css#L75
Flags: needinfo?(victoria)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•7 years ago
|
||
(In reply to Victoria Wang [:victoria] from comment #3)
> However, it might make sense to instead pull the color-with-alpha variables
> from the main design tokens project:
Yes, agree.
Thanks!
Honza
Assignee | ||
Comment 6•7 years ago
|
||
Attaching a screenshot of the current state.
Honza
Reporter | ||
Comment 7•7 years ago
|
||
Thanks Honza, this screenshot looks great!!
Two small tweaks - the left checkbox looks like it could use 2px more left margin, and looks like the dropdown icon on Throttle might need to be updated to match the HAR one's lighter color.
Assignee | ||
Comment 8•7 years ago
|
||
@Victoria: is there a mockup for the dark theme I should use?
Honza
Flags: needinfo?(victoria)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 11•7 years ago
|
||
I tested the patch on Win and OSX; both dark and light themes. Screenshot of what I am seeing is attached.
Honza
Assignee | ||
Updated•7 years ago
|
Attachment #8972521 -
Attachment is obsolete: true
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8972290 [details]
Bug 1458092 - Netmonitor - minor visual tweaks to new toolbar;
https://reviewboard.mozilla.org/r/240946/#review247554
Looks excellent!
Attachment #8972290 -
Flags: review?(dwalsh) → review+
Assignee | ||
Comment 13•7 years ago
|
||
Thanks for the review David!
Honza
Comment 14•7 years ago
|
||
Pushed by jodvarko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1bf642a3af2a
Netmonitor - minor visual tweaks to new toolbar; r=davidwalsh
Reporter | ||
Comment 15•7 years ago
|
||
Thanks Honza, the screenshots look really good.
Some comments (can be for a separate patch later):
I don't have a mockup for the dark theme, but just looked into this and I think white on --grey-10-a20 would be a good selected item equivalent. Could you give that a try?
One issue I noticed was that there's a bit too much spacing between "No throttling" and its dropdown icon - should ideally match the HAR dropdown. (I know that throttle dropdown has some weird custom stuff going on ^_^;)
Flags: needinfo?(victoria)
Comment 16•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Assignee | ||
Comment 17•7 years ago
|
||
(In reply to Victoria Wang [:victoria] from comment #15)
> Thanks Honza, the screenshots look really good.
>
> Some comments (can be for a separate patch later):
> I don't have a mockup for the dark theme, but just looked into this and I
> think white on --grey-10-a20 would be a good selected item equivalent. Could
> you give that a try?
>
> One issue I noticed was that there's a bit too much spacing between "No
> throttling" and its dropdown icon - should ideally match the HAR dropdown.
> (I know that throttle dropdown has some weird custom stuff going on ^_^;)
Thanks for the feedback Victoria!
I created a follow up for it: bug 1459539
Honza
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•