-
Notifications
You must be signed in to change notification settings - Fork 925
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
Search engine updates #7494
Search engine updates #7494
Conversation
@deeppandya anything needed on Android to add this new option to the list? |
@bsclifton we would need new icons for ecosia for search engine onboarding in android. @jamesmudgett or @karenkliu can you help with it ? |
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.
++ Works great!
Pre-merge checklist:
|
00ca083
to
5267322
Compare
} else if (type == SEARCH_ENGINE_YANDEX) { | ||
answer = SearchEngineP3A::kYandex; | ||
} else if (type == SEARCH_ENGINE_ECOSIA) { |
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 guess we should also bump the metric id version?
n/m, now I see it is done
will need updating https://github.com/brave/brave-browser/wiki/P3A |
f355224
to
8c1efaf
Compare
@@ -553,7 +553,7 @@ const scheduleQueuePump = (hide1pContent: boolean, generichide: boolean) => { | |||
}, { timeout: maxTimeMSBeforeStart }) | |||
} | |||
|
|||
const vettedSearchEngines = ['duckduckgo', 'qwant', 'bing', 'startpage', 'yahoo', 'onesearch', 'google', 'yandex'] | |||
const vettedSearchEngines = ['duckduckgo', 'qwant', 'bing', 'startpage', 'yahoo', 'onesearch', 'google', 'yandex', 'ecosia'] |
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 think yahoo should be removed from here, right?
@SergeyZhukovsky , just a heads up to make sure the Android work you're doing stays in sync with the above changes
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.
sounds good, I added ecosia as well
@bsclifton just one small change requested, but otherwise the parts im familiar with look good to me! |
Shown in the following markets: USA (US), UK (GB), France (FR), Germany (DE), Netherlands (NL), Belgium (BE), Switzerland (CH), Sweden (SE) Fixes brave/brave-browser#13283
@bsclifton looks great! |
CI looks good and we have approvals 😄 We might have a follow up to this - but will create a separate issue/PR for that |
Verification PASSED on
|
USA |
USA |
USA |
USA |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
UK |
UK |
UK |
UK |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
France |
France |
France (Default Quant) |
France |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Note:
ensured that Qwant
was still the default search engine in France
Germany |
Germany |
Germany (Default DDG) |
Germany |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Note:
ensured that DDG
was still the default search engine in Germany
Netherlands |
Netherlands |
Netherlands |
Netherlands |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Belgium |
Belgium |
Belgium |
Belgium |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Switzerland |
Switzerland |
Switzerland |
Switzerland |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Sweden |
Sweden |
Sweden |
Sweden |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Case 2
- Verify folks w/ Yahoo set don't lose their setting
Case 1 - Canada
- downloaded
1.20.65 CR: 88.0.4324.51
and set the default SE asStartpage
- upgraded to
1.20.73 CR: 88.0.4324.79
and ensured thatStartpage
was still set as the default SE- checked both
brave://settings/search
&brave://settings/searchEngines
- checked both
- ensured that
Ecosia
wasn't being listed underbrave://settings/search
&brave://settings/searchEngines
- ensured that
Yahoo
was removed from bothbrave://settings/search
&brave://settings/searchEngines
Case 2 - USA
- downloaded
1.20.65 CR: 88.0.4324.51
and set the default SE asYahoo
- upgraded to
1.20.73 CR: 88.0.4324.79
and ensured thatYahoo
was still set as the default SE- checked both
brave://settings/search
&brave://settings/searchEngines
- checked both
- ensured that
Ecosia
was being listed underbrave://settings/search
&brave://settings/searchEngines
Case 3 - France
- downloaded
1.20.65 CR: 88.0.4324.51
and set the default SE asQwant
(Default) - upgraded to
1.20.73 CR: 88.0.4324.79
and ensured thatQwant
was still set as the default SE- checked both
brave://settings/search
&brave://settings/searchEngines
- checked both
- ensured that
Ecosia
was being listed underbrave://settings/search
&brave://settings/searchEngines
-
- ensured that
Yahoo
was removed from bothbrave://settings/search
&brave://settings/searchEngines
- ensured that
Case 3
- Verify the Ecosia referral IDs used are correct
Searched via the omnibox when Ecosia
was set as the default search engine and ensured that tt=e8eb07a6
as per https://github.com/brave/internal/wiki/Search-engine-integrations
- https://www.ecosia.org/search?tt=e8eb07a6&q={brave+software}
- https://www.ecosia.org/search?tt=e8eb07a6&q={BAT+token}
Ensured that directly going to Ecosia
and initiating a search doesn't use the referral code as per the following:
Verification PASSED on
|
USA |
USA |
USA |
USA |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
UK |
UK |
UK |
UK |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
France |
France (Default Quant) |
France (Default Quant) |
France |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Note:
ensured that Qwant
was still the default search engine in France
Belgium |
Belgium |
Belgium |
Belgium |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Switzerland |
Switzerland |
Switzerland |
Switzerland |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Sweden |
Sweden |
Sweden |
Sweden |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Case 2
- Verify folks w/ Yahoo set don't lose their setting <--- FAILED
Case 1 - Canada
- downloaded
1.20.65 CR: 88.0.4324.51
and set the following default SE'sStandard Tab
-->Startpage
Incognito Tab
-->Bing
- upgraded to
1.20.74 CR: 88.0.4324.79
and ensured that bothStartpage
&Bing
were still set as the default SE - ensured that
Ecosia
wasn't being listed under bothStandard Tab
&Incognito Tab
- ensured that
Yahoo
was removed from bothStandard Tab
&Incognito Tab
Case 2 - USA
- downloaded
1.20.65 CR: 88.0.4324.51
and set the following default SE'sStandard Tab
-->Yahoo
Incognito Tab
-->Yahoo
- upgraded to
1.20.74 CR: 88.0.4324.79
and ensured that bothYahoo
was set as the default SE - ensured that
Ecosia
was being listed under bothStandard Tab
&Incognito Tab
- ensured that
Yahoo
was removed from bothStandard Tab
&Incognito Tab
Case 3 - France
- downloaded
1.20.65 CR: 88.0.4324.51
and set the following default SE'sStandard Tab
-->Qwant
Incognito Tab
-->Qwant
- upgraded to
1.20.74 CR: 88.0.4324.79
and ensured that bothQwant
was set as the default SE - ensured that
Ecosia
was being listed under bothStandard Tab
&Incognito Tab
- ensured that
Yahoo
was removed from bothStandard Tab
&Incognito Tab
Case 3
- Verify the Ecosia referral IDs used are correct
Searched via the omnibox when Ecosia
was set as the default search engine and ensured that tt=42b8ae98
as per https://github.com/brave/internal/wiki/Search-engine-integrations
https://www.ecosia.org/search?tt=42b8ae98&q={brave+browser}
https://www.ecosia.org/search?tt=42b8ae98&q={bat+token}
Ensured that directly going to Ecosia
and initiating a search doesn't use the referral code as per the following:
@bsclifton heads up re: Germany. The onboarding modal doesn't appear on Also found brave/brave-browser#13531 while going through verifications. |
Adds Ecosia to the following markets:
USA (US), UK (GB), France (FR), Germany (DE), Netherlands (NL), Belgium (BE), Switzerland (CH), Sweden (SE)
Fixes brave/brave-browser#13283
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:
See brave/brave-browser#13283