-
Notifications
You must be signed in to change notification settings - Fork 973
Made urlBarIconContainer clickable to display connection info. Fix #7888 #13147
Conversation
@MargarytaChepiga I updated your post to include a test plan- can you take a peek and let me know what you think? 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes work great 😄 👍 Definitely nice to have this fixed. Thanks! 🥇
Codecov Report
@@ Coverage Diff @@
## master #13147 +/- ##
==========================================
- Coverage 56.3% 56.26% -0.04%
==========================================
Files 278 278
Lines 27585 27584 -1
Branches 4497 4497
==========================================
- Hits 15531 15521 -10
- Misses 12054 12063 +9
|
Works great ++. @MargarytaChepiga would it be possible to add the separator after the lock icon for sites that do not show the EVC The reason being as per test plan it says click around edges to see view certificate modal is shown but where EVC is not shown there is no edge on the right side so having the separator would make it clickable within that area @bsclifton what do you think? |
@srirambv Good point actually. I will fix it |
@bsclifton Thank you so much! 😄 I think test plan looks great, and as already mentioned above I will fix the missing separator. |
@MargarytaChepiga there is one other issue, caught by @NejcZdovc It seems the color used by the EV elements is bleeding through- causing the lock icon on mixes HTTP/HTTPS links to show as green For your next PR, can you please take a look at this? 😄 |
@srirambv as called out in the issue you created (#13159), we should leave the separator off (at least for now) I think we just need a fix for the color bleed through for mixed content and we'll be good 😄 I updated the test plan to capture this (thanks, @NejcZdovc!) |
@@ -40,7 +40,7 @@ | |||
@settingItemSubtextFontSize: 0.95rem; | |||
@audioColor: @highlightBlue; | |||
@focusUrlbarOutline: rgba(55, 169, 253, 0.4); | |||
@siteSecureColor: @buttonColor; | |||
@siteSecureColor: green; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bsclifton this line is problematic as well, because I think that we only want EV to be green
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just replacing green
with @siteEVColor
fixes it
id='urlbar' | ||
> | ||
{urlbarIconContainer} | ||
{ | ||
this.props.titleMode | ||
? <div id='titleBar' data-test-id='titleBar'> | ||
? <div id='titleBar' data-test-id='titleBar' > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this extra space at the end is also causing the linter to fail; you can manually run this with:
npm run lint
@@ -513,13 +517,13 @@ class UrlBar extends React.Component { | |||
urlbarForm: true, | |||
[css(styles.urlbarForm_wide)]: this.props.isWideURLbarEnabled, | |||
noBorderRadius: this.props.publisherButtonVisible | |||
})} | |||
})} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lint error here
Removing milestone since this was reverted with #13168 |
Fixes #7888
Fixes #13011
Before:
After:
I also touched some css, changed few things that had a TODO. In addition to changing a little bit of styling.
Also, I am not sure if I need to update and/or add new tests for this fix. Please let me know if so :)
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
Secure connection
modal should come up (even near the edges)Reviewer Checklist:
Tests