Routing problems with Discourse tagging plugin

AI-generated summary

The thread discusses routing issues within the Discourse tagging plugin. tgxworld reported two bugs: first, navigating from a tag back to the category feed redirects incorrectly instead of going back; second, selecting a tag in a child category and then unsetting the category causes a crash. The issue was likely introduced by a specific commit. While neil initially fixed the first bug and confirmed the route and query issues, tgxworld clarified that the second bug regarding the dropdown state persists. neil acknowledged the second issue, noting it is a complex state management challenge. Due to the lack of a quick fix for the persistent state problem, sam closed the ticket as stale.

Bug 1

  1. Go to https://meta.discourse.org/c/bug
  2. Click on a tag
  3. Hit back
  4. Note how you get redirected instead of going back to https://meta.discourse.org/c/bug


Bug 2

  1. Enabled filter tag by drop down
  2. In a child category, select a tag from the dropdown
  3. Set child category drop down to “none”
  4. Boom :bomb:

Most likely caused by FIX: changing category dropdown shouldn't change tag filter dropdown · discourse/discourse-tagging@b92ae7e · GitHub but I’m don’t have time (:school: :book:) right now to dig further.

8개의 좋아요

Maybe something @neil can look at tomorrow.

I fixed this in the tagging plugin, so it should get deployed soonish.

3개의 좋아요

I don’t think the fix would fix the second bug where the filter by tag drop down site setting is enabled. :smiley:

@tgxworld is this still an issue? can it be fixed easily?

1개의 좋아요

Bug 2 is still a problem. I put it on my list. :pencil: :kiss:

5개의 좋아요

The route and query are fixed. The state of those dropdowns is my recurring nightmare though.

6개의 좋아요

I am closing this as … stale… no point leaving this open forever.

3개의 좋아요