Skip to content
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

Follow-up to #27122 Add additional confirmation to end of support message dismissal #27649

Closed
rebron opened this issue Jan 4, 2023 · 6 comments · Fixed by brave/brave-core#16553

Comments

@rebron
Copy link
Collaborator

rebron commented Jan 4, 2023

Description

Update button from "Don't show again" to a check box [ ] Don't show again

When clicking on Don't show again checkbox and "x" to dismiss, show an additional confirmation dialog that reads:

"By clicking OK, you acknowledge that your installation of Brave will NOT receive critical security fixes until you update to Windows 10 or later. This warning will NOT show again."

Add two buttons "OK" and "Cancel".
Ok will dismiss the dialog and infobar and not show the message again.
Cancel will dismiss the dialog.

Reproduces how often:

Brave version (brave://version info)

Version/Channel Information:

  • Can you reproduce this issue with the current release? n/a
  • Can you reproduce this issue with the beta channel? yes
  • Can you reproduce this issue with the nightly channel? yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? n/a
  • Does the issue resolve itself when disabling Brave Rewards? n/a
  • Is the issue reproducible on the latest version of Chrome? n/a

Miscellaneous Information:

#27122

@rebron rebron added OS/Windows QA/Yes release-notes/exclude priority/P3 The next thing for us to work on. It'll ride the trains. labels Jan 4, 2023
@rebron rebron added this to In progress in General Jan 5, 2023
simonhong added a commit to brave/brave-core that referenced this issue Jan 6, 2023
fix brave/brave-browser#27649

When user closes infobar with checked state,
additional confirmation dialog is launched.
Then, obsolete system infobar will not be shown again when user clicks
OK.
simonhong added a commit to brave/brave-core that referenced this issue Jan 6, 2023
fix brave/brave-browser#27649

When user closes infobar with checked state,
additional confirmation dialog is launched.
Then, obsolete system infobar will not be shown again when user clicks
OK.
@simonhong
Copy link
Member

@rebron I realized that previous infobar change was applied to all OS not just Windows.
So, linux or macOS users also could see system obsolete infobar with Don't show again button on their old system.
I think we may also want to use this confirm dialog on all platforms not just Windows. Then, we need different sentences for each platfom. Or if we want to change chromium's infobar style only for Windows, we could do that. WDYT?

@rebron
Copy link
Collaborator Author

rebron commented Jan 6, 2023

It's ok to have this style for all OSes. As long as we're not telling Linux or macOS users to upgrade to Windows 10 or higher we should be ok.

Do you have a pointer for the text for the other platforms?
"to Windows 10 or later" could be something like "to a supported version of your OS" or "to a newer, supported version of your OS"

@simonhong
Copy link
Member

simonhong commented Jan 6, 2023

It's ok to have this style for all OSes. As long as we're not telling Linux or macOS users to upgrade to Windows 10 or higher we should be ok.

Do you have a pointer for the text for the other platforms? "to Windows 10 or later" could be something like "to a supported version of your OS" or "to a newer, supported version of your OS"

Chromium uses different strings per each os versions.
You can see them here - https://source.chromium.org/chromium/chromium/src/+/main:chrome/app/google_chrome_strings.grd;l=428

simonhong added a commit to brave/brave-core that referenced this issue Jan 9, 2023
fix brave/brave-browser#27649

When user closes infobar with checked state,
additional dialog is launched to confirm user's choice again.
Obsolete system infobar will not be shown again when user clicks OK.

BraveConfirmDialog is introduced to support checkbox to upstream confirm
dialog.
simonhong added a commit to brave/brave-core that referenced this issue Jan 10, 2023
fix brave/brave-browser#27649

When user closes infobar with checked state,
additional dialog is launched to confirm user's choice again.
Obsolete system infobar will not be shown again when user clicks OK.

BraveConfirmDialog is introduced to support checkbox to upstream confirm
dialog.
simonhong added a commit to brave/brave-core that referenced this issue Jan 10, 2023
fix brave/brave-browser#27649

When user closes infobar with checked state,
additional dialog is launched to confirm user's choice again.
Obsolete system infobar will not be shown again when user clicks OK.

BraveConfirmDialog is introduced to support checkbox to upstream confirm
dialog.
General automation moved this from In progress to Completed Jan 10, 2023
@brave-builds brave-builds added this to the 1.49.x - Nightly milestone Jan 10, 2023
@kjozwiak
Copy link
Member

kjozwiak commented Jan 19, 2023

The above requires 1.47.176 or higher for 1.47.x verification 👍 @brave/qa-team this obviously can only be verified on Win 8.1 and Win 7. I'll verify Win 8.1 and @btlechowski can verify Win 7.

@btlechowski
Copy link

btlechowski commented Jan 19, 2023

Verification passed on

Brave 1.47.177 Chromium: 109.0.5414.87 (Official Build) (64-bit)
Revision 2dc18eb511c56e012081b4abc9e38c81c885f7d4-refs/branch-heads/5414@{#1241}
OS Windows 7 x64

Verified test plan from brave/brave-core#16553

Verified inforbar is shown and that it contains the checkmark

image

Verified infobar is shown again after browser restart when the checkmark is not marked

image image

Verified additional dialog is shown when the checkmark is marked

image image

Verified inforbar is shown again after browser restart when user clicks Cancel on additional dialog

image image

Verified inforbar is shown again after browser restart when user clicks Cancel on additional dialog

image image image

Verified infobar and additional dialog were translated

image

Additional confirmation to end of support message is not translated

image

Logged #27904 for missing translations

@kjozwiak
Copy link
Member

Verification PASSED on Win 8.1 x64 using the following build(s):

Brave | 1.47.183 Chromium: 109.0.5414.119 (Official Build) (64-bit)
--- | ---
Revision | 772095164c7d5d4e73160f858efed3b5e87eca83-refs/branch-heads/5414@{#1458}
OS | Windows 8.1 (Build 9600.20778)
  • verified the STR/Cases outlined via Launched additional confirmation dialog to the end of support brave-core#16553 (comment)
  • ensured that the correct OS is being listed via the infobar
  • ensured that the Learn more link worked as expected and opened the correct support page
  • ensured that the infobar only appears once per session once it's dismissed
  • ensured that the infobar always appears after re-launch if the user hasn't checked off Don't show again
  • ensured that the infobar always appear after re-launch of the user checked off Don't show again but never confirmed
  • ensured that the infobar always appears after re-launch when user checked off Don't show again but cancelled confirmation
  • ensured that the infobar doesn't re-appear again once the user clicks on OK and confirms
  • ensured that the infobar doesn't re-appear once permanently closed via Guest, PB & Tor windows
Example Example Example Example
Screenshot 2023-01-25 at 3 35 50 AM Screenshot 2023-01-25 at 3 36 11 AM Screenshot 2023-01-25 at 3 36 53 AM Screenshot 2023-01-25 at 3 37 52 AM

Not related to this PR, but the OS is also starting to warn users as per the following:

Screenshot 2023-01-19 at 12 54 26 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants