oecd-opsi / meta-toolkit

Web resources to connect government practitioners with innovation tools, methods, and tactics
0 stars 1 forks source link

Tags #10

Open innovativeangela opened 6 years ago

innovativeangela commented 6 years ago

Add a section in "About this Resource" on toolkit detail pages for tags. This will pull from the "Innovation Tags" set used by Case Studies. Logged in users will also be able to suggest tags but these will need to be reviewed by administrators before they appear.

marcochiesi commented 6 years ago

Unfortunately, WordPress doesn't have a status for tags, so it won't be possible to store a tag but not publishing it (there's no a "draft" status as the one we have for posts). For this reason, the approval workflow is more complex.

A simple implementation could be to have a simple form for the users to suggest new tags. These suggestions are delivered via email to administrators that will manually add the suggested tags to the toolkit.

A much more complex implementation would be to store the suggestions in a custom table that can be managed by administrators in the WordPress backend. When an administrator approves the suggestion, a script will process it and it will add the tag to the proper toolkit, and at the same time, it will delete the suggestion from the queue.

innovativeangela commented 6 years ago

I think the simple implementation is best at this point. It will allow us to see if is a feature that users actually use before investing more into it. Could the form have an autocomplete function that draws from the list of existing tags as well? If it is an existing tag, users would be able to add it without admin approval. This would reduce duplicates and allow users to help with tag management.

marcochiesi commented 6 years ago

For the sake of completeness, I'd like to recap how this feature is going to be implemented: