Comments (9)
I agree, that looks way better. @jagtalon what do you think?
from zeroclickinfo-spice.
@zekiel @moollaza Ah, I'll see what I can do! Thanks for the report, guys.
from zeroclickinfo-spice.
@zekiel @moollaza I'm getting there. 64d761e
from zeroclickinfo-spice.
There's this problem of having multiple definitions:
Plural form of <xref>cat</xref>.
Plural form of <xref>category</xref>.
So which definition should we load? Maybe we can do a popover when either "cat" or "category" (that's what Wordnik actually does):
from zeroclickinfo-spice.
@jagtalon I don't quite understand:
-
Why are multiple definitions a problem? We can put the first in item[0] and perhaps the rest in item[1] or do the top 3 definitions in the matching item array. Or, like the way I hide the items in HackerNews, we can have a list of the definitions which expand when clicked on. Does that make sense?
-
What word results it both those definitions? If the user searched "cats" and Wordnik returns plural of "cat" and "category" i think it makes sense, at least as a good heuristic, to just show that word that is most similar. Ie "cats" vs "cat" is only a one letter difference.
from zeroclickinfo-spice.
@moollaza totally makes sense. I'll try that one out, too. But I also tried Wordnik's method (thanks to Bootstrap):
https://jagtalon.duckduckgo.com/?q=define+cacti
https://jagtalon.duckduckgo.com/?q=define+chakras
https://jagtalon.duckduckgo.com/?q=define+immense
Might be buggy right now, but tell me what you guys think!
from zeroclickinfo-spice.
@jagtalon it certainly looks nice but i think the behaviour is unexpected and doesn't keep with how the rest of the plugins react. As I usually say, I would like to maintain uniformity across the plugins. Also I don't want users to get the idea that they can just start grabbing bits and pieces of 3rd party libraries because again that's not something we want. Bootstrap is great and although I use it personally, we haven't used it elsewhere and if we want to incorporate it, that's part of a bigger discussion. For now lets keep the user experience as similar to other plugins as possible. I think we should utilize a multi-item layout like HackerNews does.
from zeroclickinfo-spice.
@zekiel what do you think of this?
You can try it out here: https://jagtalon.duckduckgo.com/?q=define+talons, and you can compare it with this: https://duckduckgo.com/?q=define+talons
from zeroclickinfo-spice.
@jagtalon is this fix finished?
from zeroclickinfo-spice.
Related Issues (20)
- Location Sunrise/Sunset: HOT 2
- Instant answer feature not working for all stocks HOT 1
- Word definitions can't be copied HOT 1
- Translation: Instant answer doesn't work HOT 4
- Quote Of The Day: HOT 1
- BrainyQuote:
- Congress: HOT 1
- Amazon:
- Editor: doesnt show up after searching "editor" HOT 1
- Currency Conversion: HOT 3
- BBC: Access is currently only available to BBC employees HOT 1
- Actor Filmography: queries do not work HOT 1
- NFL Games: Suggestion: Add timezone info
- Actor Filmography: HOT 1
- Editor: not working HOT 3
- Translation Suggestion: Amazon Translate as upstream provider HOT 2
- Dictionary Definition:
- Currency Conversion Not Working HOT 2
- Amazon: HOT 1
- Cryptocurrency: Not rendering IA results HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zeroclickinfo-spice.