hackforla / brigade-project-index-statusboard

A "statusboard" web app that is designed to display ongoing realtime information about each brigade's project-indexing opportunities.
https://projects.brigade.network
Apache License 2.0
4 stars 15 forks source link

Connect topic tags to relevant Discourse posts #8

Open nikolajbaer opened 4 years ago

nikolajbaer commented 4 years ago

Provide connectivity from topic tags to Discourse tags to help users provide context/discussion in understanding the topic.

nikolajbaer commented 4 years ago

URL pattern for Discourse is:

https://discourse.codeforamerica.org/c/

Maybe as a UX starting point, if you are on a topic-detail, you see a link at the top saying "View posts tagged on Discourse >>"

themightychris commented 4 years ago

@nikolajbaer /c/ is for categories, which are a hierarchical sectioning off of the forum

What we want to use here are tags, e.g. https://discourse.codeforamerica.org/tag/covid-19

The page when you link to a non-existent tag is pretty gross: https://discourse.codeforamerica.org/tag/aoeu

Discourse has a really solid API though

This works without authentication: https://discourse.codeforamerica.org/tags.json

Statusboard could cache a list of Discourse's tags for a period, and offer a link/button only when a tag exists in Discourse

nikolajbaer commented 4 years ago

The first version of this is now on the dev site ( http://brigade-project-index-dev.herokuapp.com/#/topics ). It is interesting to see how little alignment there is between Discourse tags and github tags. Room for improvement!