-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Update Web Discovery Project promo to use infobar instead of dialog #26576
Comments
Verification
Steps:
Case 1: WDP infobar UI -
|
step 2 | step3-4 | step 5-6 | step7-8 | step9-10 | step 11 |
---|---|---|---|---|---|
Dark mode | Light mode | Wide layout with narrow horizontal padding | Narrow layout |
---|---|---|---|
Case 2: Opt-in to WDP - PASSED
- continue from Case 1
WDP infobar is shown with textHelp improve Brave Search by sending anonymouse usage data
- click
OK
button - confirmed infobar dismissed
- confirmed
Web Discovery Project
is enabled
step 1-2 | step 3 | step 4 |
---|---|---|
Case 3: Dismiss (x
) the infobar - PASSED
- new profile
- open
brave://settings/search
- select
Google
as a non-Brave Search as a default search engine forNormal Window
entry - set
Brave
as a default search engine - visit https://search.brave.com/
- confirmed WDP infobar is shown with text
Help improve Brave Search by sending anonymouse usage data
- click x to dismiss the infobar
- confirmed WDP infobar is hidden
step 2-3 | step 4 | step 6 | step 8 |
---|---|---|---|
Case 4: Show Infobar again once dismissed - PASSED
Pre-req: Dismiss (x
) the Infobar from Case 3
- Close Brave
- Open
Preferences
file in the profile folder - navigate to following and delete the last digit to simulate a day passed
web_discovery":{"cta_state":{"count":1,"dismissed":false,"id":"v1","last_displayed":"13314922424094719
- changed the last digit - from
9
to1
- relaunch Brave
Confirmed InfoBar is shown
pre-req | step 3 | step 4 | result |
---|---|---|---|
Case 5: Dismiss the Infobar (No thanks
) - PASSED
- New profile
- launch brave
- open
brave://settings/search
- select
Google
as a non-Brave Search as a default search engine forNormal Window
entry - return to
brave://settings/search
and setBrave
as a default search engine - visit https://search.brave.com
- click
No thanks
on the Infobar - close and relaunch Brave
- reload https://search.brave.com
Confirmed InfoBar is NOT shown
step 7 | result |
---|---|
Case 6: InfoBar is shown once per day if it's not dismissed - PASSED
- New profile
- launch brave
- open
brave://settings/search
- select
Google
as a non-Brave Search as a default search engine forNormal Window
entry - return to
brave://settings/search and set
Brave` as a default search engine - visit https://search.brave.com/search?q=Brave&source=web
- confirmed the WDP infobar displayed
- do not click
x
to dismiss the Infobar - close Brave
- advance system date by 1 day ( Windows-->Settings-->Time & Language-->Date & Time (Dec 7))
- refresh the page https://search.brave.com/search?q=Brave&source=web
Confirmed InfoBar is shown
step 7 | step10 | result |
---|---|---|
Case 7: Edit CTA id in the preferences file once Infobar is dismissed - PASSED
- continue Case 5:
- close Brave
- open
Preferences
file in the profile folder - navigate to following and delete the last digit to simulate a day passed
web_discovery":{"cta_state":{"count":1,"dismissed":false,"id":"v1","last_displayed":"13314829675178426
- changed the
id
- fomv1
tog1
- relaunch Brave
- reload
search.brave.com
Confirmed Infobar is shown
step 4 | step 5 | result |
---|---|---|
Case 8: InfoBar is shown 5 times at most for a profile if the infobar is not dismissed - PASSED
- New profile
- launch brave
- open
brave://settings/search
in new-tab - select
Google
as a non-Brave Search as a default search engine forNormal Window
entry - switch to
Brave
as a default search engine in `brave://settings/search - visit https://search.brave.com and
WDP
infobar is shown - open
Preferences
file and navigate to following and confirm"count": 1
web_discovery":{"cta_state":{"count":1,"dismissed":false,"id":"v1","last_displayed":"13314992203567416
- close Brave
- advance system date by 1 day ( Windows-->Settings-->Time & Language-->Date & Time (Dec 8-Dec 9))
- relaunch Brave and confirmed the
infobar
is shown onsearch.brave.com
page - navigate to following and confirm count increased by 1
web_discovery":{"cta_state":{"count":2,"dismissed":false,"id":"v1","last_displayed":"13315078925875786"
- confirmed
"count": 2
- repeat step 9 - 11 till 3 more times till the
"count": 5
- repeat steps 9-11 for
Day 6
/Run 6
- relaunch Brave
confirmed the infobar
is not shown on search.brave.com
page
open Preferences
file and confirmed the count remained 5 in "count": 5
step 4 | step 5 | step 6 | step 7 |
---|---|---|---|
Day 2 - count 2
step 9 | step 10 | step 12 |
---|---|---|
Day 3 - count 3
Ex1 | Ex2 | Ex3 |
---|---|---|
Day 4 - count 4
Ex1 | Ex2 | Ex3 |
---|---|---|
Day 5 - count 5
Ex1 | Ex2 | Ex3 |
---|---|---|
Day 6 - count 6
ex1 | ex2 | ex3 |
---|---|---|
Testing is complete however, as per @rebron this may be |
Got the OK to keep going from @rebron 👌 |
Verification
|
Brave | 1.47.125 Chromium: 108.0.5359.99 (Official Build) beta (x86_64) |
---|---|
Revision | 410951fc34bb4b2cbf182231f9f779efaafaf682-refs/branch-heads/5359_71@{#9} |
OS | macOS Version 11.7.1 (Build 20G918) |
Case 1: WDP infobar UI - PASSED
- opened
brave://settings/search
- selected
Google
as the non-Brave Search default engine orNormal Window
entry - visited
https://search.brave.com/?q=Brave&source=web
- confirmed WDP infobar wasn't shown
- enabled
Web Discovery Project
viabrave://settings/?search=web+discovery
- set
Brave
as the default search engine forNormal Window
- reloaded
https://search.brave.com/?q=Brave&source=web
- confirmed WDP infobar wasn't shown
- disabled WDP via
brave://settings/?search=web+discovery
- reloaded
https://search.brave.com/?q=Brave&source=web
- confirmed WDP infobar is shown with text
Help improve Brave Search by sending anonymous usage data
step 2 | steps 3-4 | steps 5-6 | steps 7-8 | steps 9-10 | step 11 |
---|---|---|---|---|---|
Dark mode |
Wide |
Smallest window constraint |
---|---|---|
Case 2: Opt-in to WDP - PASSED
- continued from
Case 1
- clicked
OK
on the infobar - confirmed infobar dismissed
- opened
brave://settings/?search=web+discovery
and confirmedWeb Discovery Project
is enabled
steps 1-2 | step 3 | step 4 |
---|---|---|
Case 3: Dismiss (x
) the infobar - PASSED
- new profile
- opened
brave://settings/search
- set
Google
as the search-engine entry forNormal Window
- set
Brave
as the search-engine entry forNormal Window
- visited
https://search.brave.com
- confirmed WDP infobar was shown with text
Help improve Brave Search by sending anonymous usage data
- click
x
to dismiss the infobar - confirmed WDP infobar was hidden
steps 2-3 | step 4 | step 6 | step 8 |
---|---|---|---|
Case 4: Show infobar again, after dismissal - PASSED
Pre-req: Dismiss (x
) the infobar from Case 3
- closed Brave
- opened
Preferences
from my main profile folder, in Atom - tweaked the value of
web_discovery.last_displayed
to make it lower (longer ago, to simulate a 24 hours passing) - relaunched Brave
- confirmed I got the WDP infobar again
pre-req | step 3 | step 4 | result |
---|---|---|---|
Case 5: Dismiss the infobar (No thanks
) - PASSED
- new profile
- launched Brave
- opened
brave://settings/search
- set
Google
as the default search engine forNormal Window
- set
Brave
as the default search engine forNormal Window
- visited
https://search.brave.com
- clicked
No thanks
on the infobar - closed and relaunched Brave
- reloaded
https://search.brave.com
- confirmed the WDP infobar isn't shown
step 7 | step 10 |
---|---|
Case 6: Infobar is shown once per day if not dismissed - PASSED
- new profile
- launched Brave
- opened
brave://settings/search
- set
Google
as the default search engine for theNormal Window
entry - set
Brave
as the default search engine for theNormal Window
entry - loaded
https://search.brave.com/search?q=Brave&source=web
- confirmed the WDP infobar displayed
- did NOT click
(x
) to dismiss the infobar - closed Brave
- advanced system clock to tomorrow, Dec 13, 2022
- relaunched Brave
- confirmed I saw the WDP infobar
step 7 | step 10 | step 12 |
---|---|---|
Case 7: Edit CTA id in the Preferences
file once infobar is dismissed - PASSED
- continued from
Case 5
- closed Brave
- opened
Preferences
in Atom - changed
v1
tog1
- relaunched Brave
- reloaded
search.brave.com
- confirmed infobar was shown
step 4 | step 5 | step 7 |
---|---|---|
Case 8: Infobar is shown 5 times at most for a profile if not dismissed - PASSED
- new profile
- launched Brave
- opened
brave://settings/search
in a new tab - set
Google
as the default search engine forNormal Window
- set
Brave
as the default search engine forNormal Window
- visited
https://search.brave.com
and was shown WDP infobar - opened
Preferences
and navigated to confirm:"count": 1
- closed Brave
- advanced system clock by 1 day
- relaunched Brave and confirmed the infobar was shown on
search.brave.com
page - confirmed
"count": 2
(increased by 1) - repeated steps 9-11 3x until
"count": 5
- repeated steps 9-11 for
Day 6
/Run 6
- relaunched Brave
- confirmed the infobar is not shown on
search.brave.com
step 4 | step 5 | step 6 | step 7 |
---|---|---|---|
Days / Counts
Tue, count: 2 | Wed, count: 3 | Thu, count: 4 | Fri, count: 5 | Sat, count: 5 |
---|---|---|---|---|
WDP infobar present, counts 1-5 | WDP infobar absent, counts 6+ |
---|---|
Verification passed on
Brave | 1.47.125 Chromium: 108.0.5359.99 (Official Build) beta (x86_64) |
---|---|
Revision | 410951fc34bb4b2cbf182231f9f779efaafaf682-refs/branch-heads/5359_71@{#9} |
OS | Ubuntu 18.04 LTS |
Case 1: WDP infobar UI - PASSED
- opened
brave://settings/search
- selected
Google
as the non-Brave Search default engine orNormal Window
entry - visited
https://search.brave.com/?q=Brave&source=web
- confirmed WDP infobar wasn't shown
- enabled
Web Discovery Project
viabrave://settings/?search=web+discovery
- set
Brave
as the default search engine forNormal Window
- reloaded
https://search.brave.com/?q=Brave&source=web
- confirmed WDP infobar wasn't shown
- disabled WDP via
brave://settings/?search=web+discovery
- reloaded
https://search.brave.com/?q=Brave&source=web
- confirmed WDP infobar is shown with text
Help improve Brave Search by sending anonymous usage data
Case 2: Opt-in to WDP - PASSED
- continued from
Case 1
- clicked
OK
on the infobar - confirmed infobar dismissed
- opened
brave://settings/?search=web+discovery
and confirmedWeb Discovery Project
is enabled
Case 3: Dismiss (x
) the infobar - PASSED
- new profile
- opened
brave://settings/search
- set
Google
as the search-engine entry forNormal Window
- set
Brave
as the search-engine entry forNormal Window
- visited
https://search.brave.com
- confirmed WDP infobar was shown with text
Help improve Brave Search by sending anonymous usage data
- click
x
to dismiss the infobar - confirmed WDP infobar was hidden
Case 4: Show infobar again, after dismissal - PASSED
Pre-req: Dismiss (x
) the infobar from Case 3
- closed Brave
- opened
Preferences
from my main profile folder, in Atom - tweaked the value of
web_discovery.last_displayed
to make it lower (longer ago, to simulate a 24 hours passing) - relaunched Brave
- confirmed I got the WDP infobar again
Case 5: Dismiss the infobar (No thanks
) - PASSED
- new profile
- launched Brave
- opened
brave://settings/search
- set
Google
as the default search engine forNormal Window
- set
Brave
as the default search engine forNormal Window
- visited
https://search.brave.com
- clicked
No thanks
on the infobar - closed and relaunched Brave
- reloaded
https://search.brave.com
- confirmed the WDP infobar isn't shown
Case 6: Infobar is shown once per day if not dismissed - PASSED
- new profile
- launched Brave
- opened
brave://settings/search
- set
Google
as the default search engine for theNormal Window
entry - set
Brave
as the default search engine for theNormal Window
entry - loaded
https://search.brave.com/search?q=Brave&source=web
- confirmed the WDP infobar displayed
- did NOT click
(x
) to dismiss the infobar - closed Brave
- advanced system clock to tomorrow, Dec 13, 2022
- relaunched Brave
- confirmed I saw the WDP infobar
Case 7: Edit CTA id in the Preferences
file once infobar is dismissed - PASSED
- continued from
Case 5
- closed Brave
- opened
Preferences
in Atom - changed
v1
tog1
- relaunched Brave
- reloaded
search.brave.com
- confirmed infobar was shown
Case 8: Infobar is shown 5 times at most for a profile if not dismissed - PASSED
- new profile
- launched Brave
- opened
brave://settings/search
in a new tab - set
Google
as the default search engine forNormal Window
- set
Brave
as the default search engine forNormal Window
- visited
https://search.brave.com
and was shown WDP infobar - opened
Preferences
and navigated to confirm:"count": 1
- closed Brave
- advanced system clock by 1 day
- relaunched Brave and confirmed the infobar was shown on
search.brave.com
page - confirmed
"count": 2
(increased by 1) - repeated steps 9-11 3x until
"count": 5
- repeated steps 9-11 for
Day 6
/Run 6
- relaunched Brave
- confirmed the infobar is not shown on
search.brave.com
step 4 | step 5 | step 6 | step 7
Days / Counts
Tue, count: 2 | Wed, count: 3 | Thu, count: 4 | Fri, count: 5 | Sat, count: 5
WDP infobar present, counts 1-5 | WDP infobar absent, counts 6+
Replace WDP promotion dialog with infobar
- Design and sentences are not finalized yetThe text was updated successfully, but these errors were encountered: