-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use same labels on Shields global settings and panel #2149
Conversation
b18ed63
to
ef78833
Compare
3ff2ca7
to
32dd5eb
Compare
app/brave_generated_resources.grd
Outdated
<message name="IDS_SETTINGS_BRAVE_SHIELDS_HTTPS_EVERYWHERE_CONTROL_LABEL" desc="Default Brave HTTPS Everywhere control setting label"> | ||
HTTPS Everywhere | ||
<message name="IDS_SETTINGS_BRAVE_SHIELDS_HTTPS_EVERYWHERE_CONTROL_LABEL" desc="Default Brave upgrade connections to HTTPS control setting label"> | ||
Upgrade connections to HTTPS | ||
</message> | ||
<message name="IDS_SETTINGS_BRAVE_SHIELDS_NO_SCRIPT_CONTROL_LABEL" desc="Default Brave script blocking control setting label"> | ||
Script blocking |
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.
According to the spec, this should be "Block scripts"?
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.
thanks, updated!
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.
Codes itself LGTM, please help make sure CI passes and get sign off from product/design for texts, thanks!
app/brave_generated_resources.grd
Outdated
</message> | ||
<message name="IDS_SETTINGS_BRAVE_SHIELDS_DEFAULTS_DESCRIPTION" desc="The description for Brave shields Defaults sub-section in settings"> | ||
Your current per-site settings will be retained. | ||
These are the default Shields settings for new sites. Changing these won't affect your existing per-site settings. |
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.
@tomlowenthal should we be using the word 'website' instead of 'site'? Also is it clear enough to say 'new sites'? It doesn't infer visiting that site explicitly and clearly. If you want suggestions, then how about something like "These are the default Shields settings when visiting websites. Changing these won't...."?
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.
How about:
"These are the default Shields settings. They apply to all websites unless you change something in the Shields panel on a particular site. Changing these won't affect your existing per-site settings."
76051ef
to
24f3d1d
Compare
@tomlowenthal can you review the text content? I updated the screenshot |
@cezaraugusto Could you add this explanatory text?
|
24f3d1d
to
fecaa45
Compare
updated |
fecaa45
to
cef54be
Compare
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.
++ if CI passes
cef54be
to
76e3310
Compare
cef54be
to
92381fb
Compare
92381fb
to
4e3763e
Compare
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.
CI running looked good, except for lint. I went ahead and added a commit cleaning up the lint 😄 Let's let this run and I think we'll be in good shape!
Verified lint issues are fixed; however, seeing browser test failures on macOS: Going to pull down the code locally to verify... |
Getting failures testing locally... going to try replaying the browser test using CI (which will do a fresh init, etc): |
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.
Everything passed! 👍
close brave/brave-browser#3589
close brave/brave-browser#3027
Test plan (extracted from :brave/brave-browser#3589 (comment))
In brave://settings/shields, text should be as follows:
In Shields Panel
In Settings