-
Notifications
You must be signed in to change notification settings - Fork 868
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
Reorganize settings webui #20160
Reorganize settings webui #20160
Conversation
fix brave/brave-browser#32990 fix brave/brave-browser#32956 fix brave/brave-browser#32954 Moved social blocking menu as a shields' sub section. Moved new tab menu as a get started's sub section.
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.
LGTM 👍
@@ -150,3 +123,32 @@ | |||
</settings-subpage> | |||
</template> | |||
</settings-animated-pages> | |||
<div hidden="[[isAdBlockRoute_]]"> |
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.
q. I'm curious why this was added. Was it removed accidentally?
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 page is used for two screen.
- brave://settings/shields
- brave://settings/shields/filters
Above second screen is shown when we click Content filtering
option.
Then, isAdBlockRoute_
gives true and we need to hide all except filter subpage(adblck-subpage
element).
this.browserProxy_.setMetricsReportingEnabled(enabled); | ||
} | ||
|
||
setMetricsReportingPref_(metricsReporting: MetricsReporting) { |
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.
It looks like this was copied from the upstream code. It might be worth leaving comment about where it's from.
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.
Added
4320adb
to
5d1e25c
Compare
fix brave/brave-browser#32957
fix brave/brave-browser#32990
fix brave/brave-browser#32956
fix brave/brave-browser#32954
fix brave/brave-browser#32955
Resolves
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run lint
,npm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: