Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Air Quality Index: Overtake About #2579

Closed
yegg opened this issue Mar 14, 2016 · 3 comments
Closed

Air Quality Index: Overtake About #2579

yegg opened this issue Mar 14, 2016 · 3 comments

Comments

@yegg
Copy link
Member

yegg commented Mar 14, 2016

I think this may need internal help, but it seems like it makes sense for when you just type in 'air quality' it would overtake the About tab, and show you your local air quality (like weather does).


IA Page: http://duck.co/ia/view/aqi
Maintainer: @schluchc

@moollaza
Copy link
Member

when you just type in 'air quality' it would ... show you your local air quality (like weather does).

@yegg it should work that way now? That's how it's implemented: https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Aqi.pm#L27. This API is US only though so it only works with US Zip Codes

We should be able to force it to replace the About tab by adding signal: "high" to the top-level object

@yegg
Copy link
Member Author

yegg commented Mar 14, 2016

Yeah I saw that and it is cool. I meant it would be better if it showed automatically. Trying a high signal in that case seems like a good idea.

@moollaza
Copy link
Member

I've adjusted the priority on the IA Page. This should take effect shortly.

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

Successfully merging a pull request may close this issue.

3 participants