Closed Bug 1409651 Opened 7 years ago Closed 7 years ago

Security side panel has different color

Categories

(DevTools :: Netmonitor, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 59

People

(Reporter: gasolin, Assigned: pradeepgangwar, Mentored)

References

Details

(Keywords: good-first-bug, Whiteboard: [good first bug][mentor-lang=zh][lang=css])

Attachments

(4 files, 1 obsolete file)

Attached image security panel
Security side panel has different color set than other panels. Should apply same photon color as other side panels (title in deep blue color + description in red/magenta color)

Could use inspector in Browser Toolbox (menu `Web Developer > Browser Toolbox`) to check the exact color code.


As the result, should add `color: var(--string-color);` style for security panel's description/value fields.
Keywords: good-first-bug
Whiteboard: [good first bug][mentor-lang=zh][lang=css]
I would be happy to work on this bug. Please assign it to me.
Flags: needinfo?(gasolin)
Great! Let me know if you need any help.
Assignee: nobody → pradeepgangwar39
Flags: needinfo?(gasolin)
:gasolin Sir, I am facing some trouble in running netmonitor in browser mode. It displays everything correctly. But on clicking reload button it does nothing. It worked for one or two times perfectly. I have posted some screenshots in #netmonitor channel in slack. Please help if it is a known issue.
Flags: needinfo?(gasolin)
Cancelling needinfo as i got requested information about problem from slack. :)
Flags: needinfo?(gasolin)
Status: NEW → ASSIGNED
Sir, This is how it looks on applying patch. However i haven't pushed to MozReview because it was not working for me. I tried to get help from IRC and slack but there was no clue. I will wait for some more time else will attache patch here.
Flags: needinfo?(gasolin)
Looks good! Provide .patch or .diff also works

For you reference, here's how I setup my environment
https://blog.gasolin.idv.tw/2016/08/08/The-newbies-workflow-on-Mozilla-Gecko-project/
Flags: needinfo?(gasolin)
Attached patch Bug 1409651.patch (obsolete) — Splinter Review
Attachment #8923826 - Flags: review?(gasolin)
Comment on attachment 8923826 [details] [diff] [review]
Bug 1409651.patch

I think we sould not modify treeview class with external `--string-color` vairable since it brings extranal dependency for treeview component.

Please try to apply the css within security panels.
Attachment #8923826 - Flags: review?(gasolin)
Note the security panel's css style place will be changed to `NetworkDetailsPanel.css` after bug 1409413, please keep that bug in mind.
See Also: → 1409413
Should i wait for the bug 1409413 to be resolved or i can continue fixing this.
Flags: needinfo?(gasolin)
I suggest waiting bug 1409413 lands. Or you can apply that patch locally and continue to fix this.
Flags: needinfo?(gasolin)
I push my commits to review through `hg push review`. It landed my patch to https://reviewboard-hg.mozilla.org/gecko/rev/3f4b3d813f1b and my terminal didn't proceed to show any other output neither changes were displayed here. Please review this.
Flags: needinfo?(gasolin)
I use git cinnabar so I'm not sure what happens as well.

Ricky, do you know why `hg push review` not send the patch to bugzilla?
Flags: needinfo?(gasolin) → needinfo?(rchien)
I can diagnose your problem because there is no output in your terminal. Could you please try to reset your Mozreview according to doc [1]? It doesn't make sense that there is no message output from console. Otherwise, I think Splinter Review (the current way you're using) is also an adequate alternative for code review if you are still unable to setup mozreview properly.

[1] http://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview/install.html
Flags: needinfo?(rchien)
s/I can/I can't/
Attachment #8923826 - Attachment is obsolete: true
Comment on attachment 8927309 [details]
Bug 1409651- Fix security side panel color in netmonitor;

https://reviewboard.mozilla.org/r/198636/#review204002

The change looks good to me,  Thanks!
We can do a little enhancement for the style consistency & readability before land.

::: devtools/client/netmonitor/src/assets/styles/NetworkDetailsPanel.css:134
(Diff revision 1)
>  .network-monitor .tree-container .treeTable .treeRow.tree-section > .treeLabelCell > .treeLabel:hover,
>  .network-monitor .tree-container .treeTable .treeRow.tree-section > .treeValueCell:not(:hover) * {
>    color: var(--theme-toolbar-color);
>  }
>  
> +.network-monitor .treeTable .treeValueCell input{

nit: for consistency with other styles, 

We can use `.network-monitor .tree-container .treeTable .treeValueCell input{`

and please put this after `.network-monitor .tree-container .treeTable .treeValueCell {` style
Attachment #8927309 - Flags: review?(gasolin)
Comment on attachment 8927309 [details]
Bug 1409651- Fix security side panel color in netmonitor;

https://reviewboard.mozilla.org/r/198636/#review204036

thanks for the update!
Attachment #8927309 - Flags: review?(gasolin) → review+
Pushed by flin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/055409746927
Fix security side panel color in netmonitor; r=gasolin
https://hg.mozilla.org/mozilla-central/rev/055409746927
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
I have reproduced this bug with Nightly 53.0a1 (2017-10-18)  in Ubuntu 12.04 LTS!

This bug's fix is verified with latest Nightly!

Build ID   : 20171114220116
User Agent : Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
QA Whiteboard: [bugday-20171115]
I have reproduced this bug with Nightly 58.0a1 (2017-10-18) on Windows 8.1 , 64 Bit ! 

This bug's fix is Verified with latest Nightly!

Build   ID    20171227100314
User Agent    Mozilla/5.0 (Windows NT 6.3; WOW64; rv:59.0) Gecko/20100101 Firefox/59.0

[bugday-20171227]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: