Unanswered Filter adds a new breadcrumb dropdown that allows users to filter a topic list by unanswered (0 replies) and answered topics (more than 1 reply). Thereâs also an option to show an âunansweredâ link in the nav as an alternative to the dropdown.
Hi @awesomerobot â Iâve just tried out the [previous behavior] âUnanswered filter linkâ component and itâs almost exactly what I need. There are just a couple of things on my wishlist:
Iâd love the ability to skip topics with specified categories and tags. Some informational topics donât really call for replies; they might be in a specific category, or be tagged as âdocumentation,â etc. Pinned âWelcomeâ posts, for example, could be excluded by a tag.
I wish âUnansweredâ would behave a bit more as New and Unread do: appear only when non-zero, and display a count. Itâs not as tempting to click when it appears there are no relevant unread topics.
With those additions it would be perfectâand, Iâd argue, should be added as core Discourse functionality.
I decided to try the newer âUnanswered Filterâ component. I donât know if it was a hitch in my particular instance of Discourse, but I had some trouble getting it going. I uninstalled, reinstalled, and rebooted trying to get it to show up, and finally:
cd /var/discourse
./launcher destroy app
./launcher start app
⌠got it to take effect.
After clearing all exclusions in the component settings, it took me a sec to realize why the status filter doesnât appear on the Categories view (and, in our case, the home page, which we default to Categories): because itâs a topic filter. [smacks forehead] It obviously canât filter a list of Categories.
I still kind of wish it could exclude topics by tag, so it wouldnât list informational topics as âunanswered,â but a simple workaround is to post one reply, e.g. âThis topic is locked.â â before locking the topic.
Could it be tweaked so that posts from staff members were not shown in the list? We only care about ordinary, poor users who did not get a reply. Staff members somehow will deal with that, I hope.
Ideally, it would be awesome to have one more filter, that showed posts that were not replied to by the staff. Just in case we to make sure a post was reviewed and answered by at least one staff member and not an ordinary fella.
Is your Discourse install up-to-date (admin/upgrade)? Iâd expect an update to fix this
No plans at the moment, I donât think thereâs a straightforward way to do this⌠this theme component relies on a built-in URL parameter to get 0 replies (?max_posts=1) but I donât believe we have something to hide posts created by users from a specific group.