Disabled Uncategorized shows in category dropdowns

Is this back in it’s latest form? It’s disabled and all:

But shows in various category dropdowns. Probably not such an issue on the backend, but it’s also suggested in search:

1 Like

I have no repro of this on main.

@joffreyjaffeux I am able to reproduce it on try.discourse.org. I can tell that the “Allow uncategorized topics” setting is disabled on that forum because “Uncategorized” is not present in the “category…” menu of the topic composer.

Advanced Search Menu

“Uncategorized” is present in the “Categorized” menu of the advanced search on the search page.

  1. Click the following link to open the advanced search page of the Discourse Demo forum in your web browser:
    https://try.discourse.org/search
  2. Click “Advanced filters”.
    The “Advanced filters” section of the page will expand.
  3. Click on the “All categories” menu.
    The menu will open.

:bug: An “Uncategorized” item is present in the menu.

Search Autocomplete

  1. Click the following link to open the Discourse Demo forum in your web browser:
    https://try.discourse.org/
  2. Click the magnifying glass icon (“Search”) at the top right corner of the page.
    The search interface will open.
  3. Type #u in the “Search” field.
    The category filter autocomplete menu will appear.

:bug: An “Uncategorized” item is present in the category filter autocomplete menu.

Post Composer Autocomplete

  1. If you don’t already have one, create an account on try.discourse.org.
  2. Log into your account on try.discourse.org.
  3. Click the following link to open the Discourse Demo forum in your web browser:
    https://try.discourse.org/
  4. Click the “New Topic” button at the top right corner of the page.
    The topic composer will open.
  5. Click on the post body field in the topic composer.
  6. Type #u in the “Search” field.
    The category filter autocomplete menu will appear.

:bug: An “uncategorized” item is present in the category filter autocomplete menu.

Reorder Categories

I am also able to reproduce the presence of the “Uncategorized” category in the “Reorder Categories” dialog. I reproduce that on a forum in which I am an admin, and where the “Allow uncategorized topics” setting is disabled (obviously I can’t test it on try.discourse.org). That forum is using Discourse version d8c855e55978d00fc63021b31ecd00a4bee9d922.

  1. Log into an admin account on a forum where the “Allow uncategorized topics” setting is disabled.
  2. Open the “Categories” page (/categories).
  3. Click the wrench icon (“Manage categories”) near the top right corner of the page.
    The “Reorder Categories” dialog will open.

:bug: An “Uncategorized” item is present in the dialog.

I agree with @nolo that the presence in this dialog is less serious than the presence in the user facing interfaces, but thought I should mention it as you are apparently not even able to reproduce that fault.

3 Likes

@hugh I am not even sure we want to carry this “uncategorized” snake pit long term.

Over the years I tried hard to get rid of as much of it as I could, but new edge cases keep popping up.

Imo we should get rid of the settings and just allow people to pick a default category. A theme component can hide a particular category badge for the rare cases where we people don’t want to show it on “General” or similar.

1 Like