Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Add Yandex to search engine prefs and results #2703

Closed
bradleyrichter opened this issue Jul 25, 2016 · 8 comments
Closed

Add Yandex to search engine prefs and results #2703

bradleyrichter opened this issue Jul 25, 2016 · 8 comments

Comments

@bradleyrichter
Copy link
Contributor

Yandex offers an API that will integrate deeper into search results by providing suggestions from Yandex in real time.

image

Yandex API info for POST requests:

https://tech.yandex.com/xml/doc/dg/concepts/post-request-docpage/

API keys are private.

@bsclifton
Copy link
Member

bsclifton commented Nov 30, 2016

Per @aekeus's comment on Slack, this will need a fix to be able to handle POST:
https://github.com/brave/browser-laptop/blob/master/js/components/urlBarSuggestions.js#L431

@cndouglas
Copy link

Handling POST would also help #5235.

@bsclifton
Copy link
Member

I've implemented general search and confirmed it's working well. I created a separate issue for tracking search suggestions by Yandex which can be found here: #5963

bbondy pushed a commit that referenced this issue Dec 13, 2016
Fixes #2703

Also includes
- small refactor in js/components/urlBar.js which should make future changes easier (and opens this up to unit testing)
- removes permafail webdriver test that should have been removed with #5826 (I missed the fact CI failed on this when reviewing)

Auditors: @bbondy, @cezaraugusto

Test Plan:
1. Launch Brave and open Preferences
2. Set Yandex as your default search engine
3. Search in the omnibox, confirm it shows results on yandex.com
4. Check the URL that was created; client ID (clid=) should be:
  - 2274777 on Windows
  - 2274776 on macOS
  - 2274778 on linux
5. Try the search engine shortcut, :ya and do a search in the omnibox
@bbondy bbondy modified the milestones: 0.12.15, 0.13.0 Dec 13, 2016
@htmathias
Copy link

Where's Ecosia?

It was listed as number 3 here.

@luixxiul
Copy link
Contributor

luixxiul commented Feb 2, 2017

I think it is just a suggestion and not decided to include it

@cndouglas
Copy link

Regardless, custom search engines (#3053—1.1.0 milestone) will solve the problem.

@luixxiul
Copy link
Contributor

luixxiul commented Feb 2, 2017

Exactly!

@cndouglas
Copy link

I posted a separate issue for Ecosia at #7158.

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

No branches or pull requests

9 participants