Continuing the discussion from Updating how categories are organized on Meta:
This is something that is bugging me a lot in my own community category structure, fwiw.
It was added last year
https://github.com/discourse/discourse/pull/31188
And while I donāt really like it I understand how it help to distinguish subcategories with identical names like Documentation > Self-Hosting and Support > Self-hosting

are they fond memories at least? ![]()
maybe we could only clarify with the full path if thereās an actual case of matching names across subcategories? is that too expensive of a lookup?
Or maybe itās an opt-in customization instead? My personal use case for these mentions is usually meant in a āclick there to go thereā reference, a link to the full place rather than a map of how to get there. If Iām unsure of which category is being referenced, the click to find out doesnāt cost me anything.
Checking in to see if we have anything for this now?
Wonder if something like this would be too annoying @awesomerobot ?
It has a bit of a delay on expand/collapse so it wonāt keep happening if you roll over the link by accident. Also itās a hand pointer for the cursor IRL, screen studio just replaces the cursor.
maybe better to have a DToolip on focus & hover that shows the full path? text reflow could make the whole page taller temporarily, cause repaints, etc
I know thereās probably a good reason for this, but I find that in these times, it can be re-analyzed:
Community Building looks good! But Community Building > Praise not so much.
In the age of AI and Social Media, users want simple and direct links to what they are looking for.
The excess information for a subcategory is not technically necessary, and in that case, it will be shown when entering it from the top navigation bar that Discourse keeps in almost all its places.
I understand that it would be productive to simplify this UX detail and that subcategories look simply linked like categories, without extending the space they occupy and without offering more information than the direct link does.
Opinions and comments are always welcome, as workarounds. But I think this could be good to have for everyone.
Removing this might create issues.
For example: if you have products as categories, and each product uses similar subcategories like āinstallationā, āsupportā, etc.
You would not be able to tell one subcategory apart from the other.
Another example:
I agree we should make this nicer: Can we make inline links to subcategories more concise?
I would love to have horizontally scrollable tabs.
Maybe for tags as well.
Note: moderator combined previous 4 replies with this topic as per topicās author as they were duplicate subject
Makes sense, will try a demo of that.
I wonder if something like a āuser cardā for categories would make sense (we have something similar for groups).
We could include things like:
- full name
- full mention
- description
- who has access
- recent activity metrics
A click on a category badge would pop that up, and then a click on the card itself would take you through to the category.
Then, we could use the shorter name unconditionally for the inline mention.
I could see doing the same for tags.
Maybe overkill? But maybe not? Perhaps worth an experiment to see how it feels?
Oh yeah thatās a cool idea actually! Iāll give that a shot instead. This could be done for other things on the hashtags too like chat channels etc but category feels like the most impactful.
Iāve made a very rough draft PR here, @awesomerobot can you please maybe work on it with what you think would be some nice UI elements? I basically just set up the very basic skeleton for it to work, and to not show for private categories if the user has no access:
In the first screenshot, I would expect Fiction > Horror in the post to just read as Horror, and then when I click to see Fiction > Horror in the card that opens.
That way, we get more concise inline mentions, with a place to add as much context as we want on click.
Yes for sure, didnāt do any changes to the hashtags themselves yet, just got the hover card working.


