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

[Feature] Make Openverse a browser's search engine #79

Closed
fcoveram opened this issue Sep 27, 2021 · 14 comments
Closed

[Feature] Make Openverse a browser's search engine #79

fcoveram opened this issue Sep 27, 2021 · 14 comments
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: frontend Related to the Nuxt frontend ⛔ status: blocked Blocked & therefore, not ready for work
Projects

Comments

@fcoveram
Copy link
Contributor

Description

I am a Firefox user, and I use many different search engines through shortcuts on the search bar to reach content. This feature significantly improves the experience by using personal settings to browse the web. For me, it is another touchpoint to interact with Openverse, similar to the browser extension.

browser search

Additional context

I was looking for how to add other searches, under a browser-agnostic approach, and saw that it is based on OpenSearch

@fcoveram fcoveram added 🟩 priority: low Low priority and doesn't need to be rushed 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work ✨ goal: improvement Improvement to an existing user-facing feature 💻 aspect: code Concerns the software code in the repository labels Sep 27, 2021
@dhruvkb dhruvkb added this to Backlog in Openverse Sep 27, 2021
@zackkrida
Copy link
Member

This reminds me for CC Search, there is a !cc flag for DuckDuckGo where if you search !cc dogs it will go right to CC Search.

https://duckduckgo.com/

@obulat
Copy link
Contributor

obulat commented Sep 28, 2021

Oh, that's what this file is for! I love this suggestion, @panchovm. We can also set it to have two different searches: for images and for audios, once audio is launched. I guess this will have to be added to the WP theme?

@zackkrida
Copy link
Member

I guess this will have to be added to the WP theme?

Yes, great point. We should probably actually remove the file in the frontend repo so we aren't somehow duplicating this functionality.

@AetherUnbound
Copy link
Contributor

Bump! 😄 I would SO love to see this feature!

@dhruvkb
Copy link
Member

dhruvkb commented Mar 17, 2022

I just realized that the !cc DuckDuckGo search now directs to Openverse which is very awesome.

@AetherUnbound
Copy link
Contributor

I just realized that the DuckDuckGo search now directs to Openverse which is very awesome.

Really? In what way? :O

@dhruvkb
Copy link
Member

dhruvkb commented Mar 17, 2022

Because DuckDuckGo search with !cc (I missed this condition which I believe was the reason for your surprise) redirects to CC Search, which now redirects to Openverse.

@AetherUnbound
Copy link
Contributor

I had no idea, that's so cool!

@obulat
Copy link
Contributor

obulat commented Mar 18, 2022

I just realized that the !cc DuckDuckGo search now directs to Openverse which is very awesome.

I think we need to document it somewhere. We could also add it to the text in the search guide or about us page.

@obulat obulat removed the 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work label Mar 18, 2022
@sarayourfriend
Copy link
Contributor

sarayourfriend commented Jan 9, 2023

I'm going to close this issue as won't fix. After moving out of the iframe, the application's opensearch.xml file should start working properly again, right? If I go to staging.openverse.org and right-click the search box, I get an option from Firefox to add a keyword for Openverse search.

@sarayourfriend sarayourfriend closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2023
Openverse automation moved this from Backlog to Done! Jan 9, 2023
@fcoveram
Copy link
Contributor Author

fcoveram commented Jan 10, 2023

I added the search engine in Firefox from the staging site, but it redirects me to wp.org. Here is the flow I followed.

Step Screenshot
Adding Openverse staging as search engine CleanShot 2023-01-10 at 12 12 42@2x
Assigned a keyword
Search from the browser
Landing in wp.org site CleanShot 2023-01-10 at 12 18 40@2x

@krysal krysal reopened this Jan 10, 2023
Openverse automation moved this from Done! to Backlog Jan 10, 2023
@obulat
Copy link
Contributor

obulat commented Jan 10, 2023

We'll need to update the URL in the opensearch.xml:

https://github.com/WordPress/openverse-frontend/blob/77dc0b5ea091a88116ce6b258cd2c2275d69a4fe/src/static/opensearch.xml#L9

The logo URL there will also need to be updated.

@krysal krysal added 🛠 goal: fix Bug fix 🟨 priority: medium Not blocking but should be addressed soon ⛔ status: blocked Blocked & therefore, not ready for work and removed ✨ goal: improvement Improvement to an existing user-facing feature 🟩 priority: low Low priority and doesn't need to be rushed labels Jan 10, 2023
dhruvkb added a commit that referenced this issue Feb 20, 2023
Extract generalised media models from image models
@obulat obulat added the 🧱 stack: frontend Related to the Nuxt frontend label Feb 22, 2023
@obulat
Copy link
Contributor

obulat commented Feb 22, 2023

The URL was fixed in WordPress/openverse-frontend#2166, so now you can search from your search bar in Firefox using Openverse! 🎉

@obulat obulat closed this as completed Feb 22, 2023
Openverse automation moved this from Backlog to Done! Feb 22, 2023
@AetherUnbound
Copy link
Contributor

I just tried it and it works great!!! Thank you all 🤩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: frontend Related to the Nuxt frontend ⛔ status: blocked Blocked & therefore, not ready for work
Projects
No open projects
Openverse
  
Done!
Development

No branches or pull requests

7 participants