-
Notifications
You must be signed in to change notification settings - Fork 893
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
Enabled diagnostic reporting by default #16208
Conversation
A Storybook has been deployed to preview UI for the latest push |
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.
I'm a bit confused. The PR is for changing the P3A default, but the linked issue is for changing the crash reporting default.
Which setting is this PR meant to change?
488681d
to
081fb01
Compare
Good catch, looks like the callbacks were swapped. Just to confirm, the first checkbox handles metrics reporting, and the second checkbox handles P3A. The PR is intended to change the metrics reporting default. Both options should now be checked by default and also should call the correct callbacks. |
A Storybook has been deployed to preview UI for the latest push |
I was confused about this initially, but @nullhook cleared it up for me in a Slack DM: "metrics reporting" refers to automatic crash reporting This PR does two things:
|
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.
The part of the changes which corrects the naming of the variables looks great.
I'll put my review on hold because of the second part of this change (changing the crash reporting default) until the security review is complete.
…o checkboxes on help improve screen
081fb01
to
df10540
Compare
A Storybook has been deployed to preview UI for the latest push |
Enabled diagnostic reporting by default and swapped handles of the two checkboxes on help improve screen
Verification PASSED on
|
Example |
Example |
---|---|
Test Case #2
- brave/brave-browser#27253
Using the STR/Cases outlined via brave/brave-browser#27253 (comment), ensured that Allow privacy-preserving product analytics (P3A)
is enabled via brave://settings/privacy
as per the following:
Example |
Example |
---|---|
Enabled diagnostic reporting by default and swapped handles of the two checkboxes on help improve screen
@@ -34,8 +34,8 @@ function InputCheckbox (props: InputCheckboxProps) { | |||
} | |||
|
|||
function HelpImprove () { | |||
const [isP3AEnabled, setP3AEnabled] = React.useState(false) |
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 old version was wrong because it should be true for nightly and beta, but the new version is also implemented incorrectly. If we want to default to true, we should change the default pref value, not the UI
Resolves brave/brave-browser#27126
Resolves brave/brave-browser#27253
Security review: https://github.com/brave/security/issues/1132
We enable diagnostic reporting by default on the new Welcome UI
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
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: