New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 617311 link

Starred by 5 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature
Team-Security-UX


Show other hotlists

Hotlists containing this issue:
EnamelAndFriendsFixIt


Sign in to add a comment

Material UI for DevTools Security Panel

Project Member Reported by lgar...@chromium.org, Jun 3 2016

Issue description

Here is how a "simple" replacement of the existing images looks. Concerns:

- The info icon doesn't make sense here.
- The info icon lines look too thick in the overview spectrum.
- The shapes no longer match up between the main page security icons and the individual property icons (bullet points in the overview, as well as in the sidebar):
  - good:    lock        (page) /   circle (property)
  - neutral: info circle (page) / triangle (property)
  - neutral: triangle    (page) /        X (property)

I will grind my teeth a little, but I think it's okay to use the new shapes for property icons (leaving out the "!" from the triangle). However, the (i) info circle really doesn't make sense.

Max, do you have an alternative?
insecure-focused-backgrounded.png
181 KB View Download
insecure-focused.png
202 KB View Download
insecure-non-focused.png
229 KB View Download
neutral-focused-backgrounded.png
118 KB View Download
neutral-focused.png
136 KB View Download
neutral-non-focused.png
146 KB View Download
secure-focused-backgrounded.png
201 KB View Download
secure-focused.png
223 KB View Download
secure-non-focuesd.png
266 KB View Download
Cc: emilyschechter@chromium.org

Comment 3 by f...@chromium.org, Jun 5 2016

Cc: shrike@chromium.org
 Issue 617438  has been merged into this issue.

Comment 4 by f...@chromium.org, Jun 30 2016

Labels: -Type-Bug Type-Feature
I think we should use the new shapes for the property icons.

I think the (i) could be fine if we explain the intention, I think it would be more confusing to leave as-is with the page icon.

What if we change the string in the yellow box to:
"This page not secure. Click (i) in the URL bar to learn more."

Max LGTY?
Project Member

Comment 6 by sheriffbot@chromium.org, Jul 7 2016

Labels: -M-53 M-54 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Spec available here: https://goo.gl/cbqtD9.
Max, thanks for those assets and mocks! They were a delight to work with. In all, I only spent about 3 hours on the first pass adapting DevTools to the icons, although I didn't finish until now.

I've swapped out all the icons (and adjusted some of the spacing to compensate) in a standalone CL: https://codereview.chromium.org/2229443005
Screenshots for the CL attached.

The inactive security state icons are implemented using {opacity: 0.3; -webkit-filter: grayscale(100%);}, which I think is a good compromise for avoiding a bunch of extra icon files. Let me know if you're not okay with that (or want a more exact value like opacity 0.29 to match your mocks more precisely).

I will make a separate CL to get rid of the colored overview box and adjust the other other details.
Screen Shot 2016-08-09 at 00.56.06.png
319 KB View Download
Screen Shot 2016-08-09 at 00.56.19.png
207 KB View Download
Screen Shot 2016-08-09 at 00.55.46.png
816 KB View Download
Yay - thanks, Lucas! Using opacity/filter for inactive icons sounds good to me.
Max, when I align the security property icons with the text baseline in the sidebar, I can either keep the text span centered like it is right now and move down the icon (text-centered.png) or center the icon and move up the text (icon-centered.png). Which do you prefer?
text-centered.png
23.3 KB View Download
icon-centered.png
23.3 KB View Download
Some more examples for last comment.
text-centered-unknown.png
8.5 KB View Download
text-centered-triangle.png
15.4 KB View Download
text-centered-dot.png
15.3 KB View Download
icon-centered-dot.png
9.6 KB View Download
icon-centered-triangle.png
9.2 KB View Download
icon-centered-unknown.png
8.6 KB View Download
Icon-centered looks more balanced to me. Thanks for having an eye for the details!
Sidebar screenshots for https://codereview.chromium.org/2231383003 (icon-centered).
Screen Shot 2016-08-12 at 16.59.07.png
165 KB View Download
Screen Shot 2016-08-12 at 17.01.20.png
235 KB View Download
Overview screenshots for https://crrev.com/2237393002
Screen Shot 2016-08-12 at 17.08.32.png
180 KB View Download
Screen Shot 2016-08-12 at 17.08.35.png
223 KB View Download
Screen Shot 2016-08-12 at 17.08.56.png
134 KB View Download
Origin view screenshots for https://codereview.chromium.org/2244593002
Screen Shot 2016-08-12 at 18.16.41.png
150 KB View Download
Screen Shot 2016-08-12 at 18.16.21.png
269 KB View Download
Cc: mmccoy@chromium.org
 Issue 594850  has been merged into this issue.
Project Member

Comment 17 by bugdroid1@chromium.org, Aug 13 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b15aca6d0fc70b2a00beed368137e9aa90bfe7b7

commit b15aca6d0fc70b2a00beed368137e9aa90bfe7b7
Author: lgarron <lgarron@chromium.org>
Date: Sat Aug 13 03:01:18 2016

DevTools Security Panel: Use the new security indicators.

This is an initial change that updates the icons to match the specs, along with minimal CSS tweaks to accommodate the icons. Additional layout tweaks
will be in a followup CL.

BUG= 617311 
TEST=Open DevTools to the Security panel, and navigate to the following sites:
1) https://very.badssl.com - under "Security Overview", a gray lock icon and info icon should show up to the left of a red triangle-with-exclamation-mark-inside. The bullet points below should include a red triangle and a red circle, as should the side bar (under "Non-Secure Origins").
2) https://www.washingtonpost.com - under "Security Overview", a green lock icon should show up next to a gray info icon and a gray triangle-with-exclamation-mark-inside. There should be three green *rounded square* bullet points below and a long list of "Secure Origins" in the sidebar with the same bullet points.
3) http://www.nytimes.com/ - under "Security Overview", a black info icon should show up between a gray lock icon and a gray triangle-with-exclamation-mark-inside. There should be no bullet points below, but the sidebar should show long lists of red circular bullets ("Non-Secure Origins") and green rounded square bullets ("Secure Origins").
4) https://very.badssl.com/ - under "Security Overview", below the main bullets there should be a bullet for "Blocked mixed content" - a gray rounded square with an i inside.
5) https://mixed.badssl.com/test/canceled-image/ - in the sidebar there should be a section titled "Unknown/Canceled" with "https://google.com" to the right of a gray rounded square icon with a question mark inside.
See  https://crbug.com/617311  for reference screenshots (note that details other than the icons will change soon).

Review-Url: https://codereview.chromium.org/2229443005
Cr-Commit-Position: refs/heads/master@{#411866}

[modify] https://crrev.com/b15aca6d0fc70b2a00beed368137e9aa90bfe7b7/third_party/WebKit/Source/devtools/devtools.gypi
[add] https://crrev.com/b15aca6d0fc70b2a00beed368137e9aa90bfe7b7/third_party/WebKit/Source/devtools/front_end/Images/securityIcons.png
[add] https://crrev.com/b15aca6d0fc70b2a00beed368137e9aa90bfe7b7/third_party/WebKit/Source/devtools/front_end/Images/securityIcons_2x.png
[delete] https://crrev.com/bf8b26608b67a274cf7b5ca99446043e9e197394/third_party/WebKit/Source/devtools/front_end/Images/securityPropertyInfo.svg
[delete] https://crrev.com/bf8b26608b67a274cf7b5ca99446043e9e197394/third_party/WebKit/Source/devtools/front_end/Images/securityPropertyInsecure.svg
[delete] https://crrev.com/bf8b26608b67a274cf7b5ca99446043e9e197394/third_party/WebKit/Source/devtools/front_end/Images/securityPropertySecure.svg
[delete] https://crrev.com/bf8b26608b67a274cf7b5ca99446043e9e197394/third_party/WebKit/Source/devtools/front_end/Images/securityPropertyUnknown.svg
[delete] https://crrev.com/bf8b26608b67a274cf7b5ca99446043e9e197394/third_party/WebKit/Source/devtools/front_end/Images/securityPropertyWarning.svg
[delete] https://crrev.com/bf8b26608b67a274cf7b5ca99446043e9e197394/third_party/WebKit/Source/devtools/front_end/Images/securityStateInsecure.svg
[delete] https://crrev.com/bf8b26608b67a274cf7b5ca99446043e9e197394/third_party/WebKit/Source/devtools/front_end/Images/securityStateNeutral.svg
[delete] https://crrev.com/bf8b26608b67a274cf7b5ca99446043e9e197394/third_party/WebKit/Source/devtools/front_end/Images/securityStateSecure.svg
[add] https://crrev.com/b15aca6d0fc70b2a00beed368137e9aa90bfe7b7/third_party/WebKit/Source/devtools/front_end/Images/src/securityIcons.svg
[modify] https://crrev.com/b15aca6d0fc70b2a00beed368137e9aa90bfe7b7/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
[modify] https://crrev.com/b15aca6d0fc70b2a00beed368137e9aa90bfe7b7/third_party/WebKit/Source/devtools/front_end/security/lockIcon.css
[modify] https://crrev.com/b15aca6d0fc70b2a00beed368137e9aa90bfe7b7/third_party/WebKit/Source/devtools/front_end/security/mainView.css
[modify] https://crrev.com/b15aca6d0fc70b2a00beed368137e9aa90bfe7b7/third_party/WebKit/Source/devtools/front_end/security/sidebar.css

Cc: pfeldman@chromium.org
The icons have been updated, and I broke up the other CSS tweaks into three CLs:

[crrev.com/2231383003](https://crrev.com/2231383003) DevTools Security panel: Update the sidebar to match new Material specs.
[crrev.com/2244593002](https://crrev.com/2244593002) DevTools Security panel: Update the origin view to match the latest Material specs.
[crrev.com/2237393002](https://crrev.com/2237393002) DevTools Security panel: Update the security overview to match the new Material specs.

pfeldman@, you not LGTMed the first CL, saying we should fix bugs other before updating to the new specs.
You mentioned that you're worried about breaking something, but these are very conservative layout changes.

What are you looking for before we land these CLs?
pfeldman@: ping

If you're still against landing the layout adjustment CLs; I'd like to understand more about why.
We should focus on fixing priority bugs before updating the UI w/ cosmetics.
This was reasonably high priority. We had a bug for redlining the Security panel [1] for a long time, and it was important to update the icons for M54 as part of a large security UI effort.

Those three additional changes only contain additional cosmetic changes from Max's mocks that took very little time to implement. These fixes will *obviate* the need to spend time fixing cosmetic details in the future, and I've already completely finished them.
(The mocks also had some changes that involved updates to the strings sent via the DevTools protocol, which I agreed with Max not to implement yet.)

[1]  Issue 594850 

Comment 22 by palmer@google.com, Sep 13 2016

Cc: -palmer@chromium.org
Components: -Security>UX
Summary: Material UI for DevTools Security Panel (was: Material design security icons in DevTools Security Panel)
Cc: lgar...@chromium.org
Owner: spqc...@chromium.org
Status: Assigned (was: Started)
Cc: -maxwalker@chromium.org dgozman@chromium.org
Is there any work left here?
Yes, all of it.
Labels: Hotlist-EnamelAndFriendsFixIt
Status: Started (was: Assigned)
Project Member

Comment 30 by bugdroid1@chromium.org, Dec 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4be828be3c4ba2ad7a334da35582d65dfa2cc55a

commit 4be828be3c4ba2ad7a334da35582d65dfa2cc55a
Author: spqchan <spqchan@chromium.org>
Date: Mon Dec 11 23:37:46 2017

[DevTools] Highlight the URLs on the Security Panel sidebar

Highlight the URLs on the sidebar according to the Security
Panel MD specs.

Screenshot:
https://screenshot.googleplex.com/baLGTsSAe8B

Updated the sidebar tests so it will test for the new
changes.

Bug:  523589 ,  617311 
Change-Id: I35c14aded5530cfad2b58f18e9270250fa2e7ed1
Reviewed-on: https://chromium-review.googlesource.com/795171
Commit-Queue: Sarah Chan <spqchan@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Eric Lawrence <elawrence@chromium.org>
Cr-Commit-Position: refs/heads/master@{#523253}
[modify] https://crrev.com/4be828be3c4ba2ad7a334da35582d65dfa2cc55a/third_party/WebKit/LayoutTests/http/tests/devtools/security/blank-origins-not-shown-expected.txt
[modify] https://crrev.com/4be828be3c4ba2ad7a334da35582d65dfa2cc55a/third_party/WebKit/LayoutTests/http/tests/devtools/security/failed-request-expected.txt
[modify] https://crrev.com/4be828be3c4ba2ad7a334da35582d65dfa2cc55a/third_party/WebKit/LayoutTests/http/tests/devtools/security/interstitial-sidebar-expected.txt
[modify] https://crrev.com/4be828be3c4ba2ad7a334da35582d65dfa2cc55a/third_party/WebKit/LayoutTests/http/tests/devtools/security/main-origin-assigned-despite-request-missing-expected.txt
[modify] https://crrev.com/4be828be3c4ba2ad7a334da35582d65dfa2cc55a/third_party/WebKit/LayoutTests/http/tests/devtools/security/security-details-updated-with-security-state-expected.txt
[modify] https://crrev.com/4be828be3c4ba2ad7a334da35582d65dfa2cc55a/third_party/WebKit/LayoutTests/http/tests/devtools/security/security-unknown-resource-expected.txt
[modify] https://crrev.com/4be828be3c4ba2ad7a334da35582d65dfa2cc55a/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
[modify] https://crrev.com/4be828be3c4ba2ad7a334da35582d65dfa2cc55a/third_party/WebKit/Source/devtools/front_end/security/lockIcon.css
[modify] https://crrev.com/4be828be3c4ba2ad7a334da35582d65dfa2cc55a/third_party/WebKit/Source/devtools/front_end/security_test_runner/SecurityTestRunner.js

Project Member

Comment 31 by bugdroid1@chromium.org, Dec 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/990e8c057fc85f8ca7cb0e63c97eab532423799c

commit 990e8c057fc85f8ca7cb0e63c97eab532423799c
Author: spqchan <spqchan@chromium.org>
Date: Thu Dec 14 18:25:52 2017

[DevTools] Updating the Security Overview Panel

Update the Security Overview Page in DevTools to MD.
Modified the strings and introduced a title value to
SecurityStyleExplanation. Updated tests to reflect
this change.

Screenshot: https://screenshot.googleplex.com/Qqjc0TmkaS5.png

Bug:  617311 
Change-Id: If7893e2fd795c53e6a9fed0542f84bbe7006f59b
Reviewed-on: https://chromium-review.googlesource.com/772002
Reviewed-by: Emily Stark <estark@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Eric Lawrence <elawrence@chromium.org>
Commit-Queue: Sarah Chan <spqchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524118}
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/chrome/browser/ssl/security_state_tab_helper_browsertest.cc
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/components/security_state/content/content_utils.cc
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/components/security_state/content/content_utils_unittest.cc
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/components/security_state_strings.grdp
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/content/browser/devtools/protocol/devtools_protocol_browsertest.cc
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/content/browser/devtools/protocol/security_handler.cc
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/content/public/browser/security_style_explanation.cc
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/content/public/browser/security_style_explanation.h
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/third_party/WebKit/LayoutTests/http/tests/devtools/security/origin-view-then-interstitial-expected.txt
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/third_party/WebKit/Source/core/inspector/browser_protocol.json
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/third_party/WebKit/Source/core/inspector/browser_protocol.pdl
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
[modify] https://crrev.com/990e8c057fc85f8ca7cb0e63c97eab532423799c/third_party/WebKit/Source/devtools/front_end/security/mainView.css

Status: Fixed (was: Started)

Sign in to add a comment