Closed moollaza closed 7 years ago
BTW, the Shipping Goodie are already being converted in #1150
I'll take the ones I've messed with, i.e:
I think that's the lot
@mintsoft that's awesome! Thanks :+1:
I would like to take up
Once I complete this I will take up more.
@phoenixwizard thanks a lot! We really appreciate it :+1:
@moollaza Mind posting the stuff that hasn't been tackled yet?
@javathunderman We're just ticking them off as they're done :)
@mintsoft Ah, alright.
@moollaza I've just added https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/PublicDNS.pm to this list; as it's not immediately obvious from the code, but it's definitely returning HTML
I'll tackle Dewey if no one else is working on it.
Hi @AlterationBrick. That would be great - thank you.
@mintsoft Would you mind just checking to see if any of the conversions (specifically yours) in #2767 fix these?
We've converted many Goodies that were using our "auto-templates" to use our Full Templates. Excellent job everyone! 💯 🎉
However, we still have a few Goodies remaining that return plaintext and HTML (even worse!) that need to be addressed. Some of these may have ongoing PRs that have gone stale, so ping me and I'll try to get it moving along 👍 . Some of these are also not online and in some cases should be removed. RouterPasswords is one example that should probably be moved to a FatHead as we previously ran into issues with it as a Goodie.
The various package tracking Goodies are still live, but several are slated to be replaced by an ongoing Spice PR that may need to be revived (/cc @Mailkov )
Here's a list of Goodies that don't contain structured_answer
in their Perl:
/cc @duckduckgo/duckduckhack-contributors
-_- Hold the party everyone, looks like there's more to do :sob:
I've updated the checklist above accordingly
What's the status of this issue?
Still in-progress; this list https://github.com/duckduckgo/zeroclickinfo-goodies/issues/1163#issuecomment-224946724 are goodies that are still using the old output format and need to be converted to use structured_answer
and a template
I'm attempting to improve the Sudoku app so I will first convert it to use templates.
As there hasn't been much activity on this issue for a while I will claim it.
@kirkins CrontabCheatSheet.pm was converted to a cheat sheet.
We might want to skip the PrivateNetwork Goodie and remove it completely #4257
We might want to skip the PrivateNetwork Goodie and remove it completely #4257
Well not remove it, just reduce the scope of the triggering somewhat :)
Unidecode was not part of the list, but it wasn't using templates, so I converted it on #4396
Many legacy Goodies return HTML strings for rendering. This was previously acceptable as we did not have access to the Handlebars templates used in every Spice IA.
Now that we have templates, we should convert all Goodies returning HTML into templated Goodie that ideally won't need to actually declare any HTML! We have many built-in templates and most IA's can leverage these by specifying only the data and letting our template system do the rest of the work.
In some cases the use of a Handlebars sub-template is necessary and acceptable. In rare cases a custom template is required and we now support that (but please check with us first to make sure its absolutely necessary!)
Let's cleanup our Goodies and hopefully simplify them by moving to our new templates!
Details on template usage can be seen here: https://duck.co/duckduckhack/goodie_displaying
Note: Goodies also support JS and CSS now, which means we should remove any inline scripts and styles and if necessary, move them to separate CSS and JS files.
Here's a list of the existing IA's which return HTML:
If you'd like to work on converting any of these, please post below to let us know!
Thanks guys :smile: