Weekly Update 84: New Documentation and Platform Features
If you haven't seen it yet, we have our all-new and updated documentation hosted on docs.duckduckhack.com. It includes a lot of new illustrations and videos that will guide you at every step of the way. If you have questions about anything, you can always get in touch!
New Instant Answers
Try out some of the newly released Instant Answers this week!
Instant Answer Ideas
Color Contrast Checker
We had an idea sent in by @MichielBijl and @stommepoes to create a color contrast checker, useful when designing for people with low vision or screens viewed in bright sunlight. If you've never seen one before, check out Colour Contrast Check.
Fixing issues is a great way to get involved in the community and contribute while learning. These are some of the easier issues to get you started.
Currently the CSS classes target
.tile--c which will modify all Instant Answers tiles that are displaying. The CSS rules must be prefaced with
.tile--wikinews so it only affects this IA's tiles.
When no results are found, a message should be displayed saying something like "To the best of our knowledge, email@example.com has not been compromised".
It'd be nice if InTheaters also reacted to queries like "currently in theatres". Also, queries like "new movies/films" and "latest movies/films" could be added. Also "currently in cinemas".
If you're up for a challenge, these are some of the tougher issues that need to be fixed. Check them out!
It currently needs "geometry" or "formula" or "calc" to trigger this Instant Answer. Figure out a way to trigger it with just "area of a square" and other similar queries.
We're using several identical regular expressions here that are each being compiled separately. They should all be stored in variables so they're only compiled once which should give a small performance boost.
The code may also need a refactor/reorganizing.
Help us figure out why the tile icons have alignment issues in the CSS!
Have a good weekend!
- The DuckDuckGo Staff