Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Allow use of slugs in category and tag routes
Currently, we pass an ID in urls for the category and tag routes. For instance, the Q&A category on this meta site has an ID of 3.
In the long term, this makes it harder for people to access content. For instance, a user can't navigate to (Codidact meta)/categories/3/tags/status-completed to see posts that have the status-completed tag, but instead have to look up the tag in search, know its id is 377 and substitute that in.
Could we please consider including one or more of the below features in QPixel?:
- Add an option in category settings to allow setting a "slug" for that category, and let people access a category with its corresponding "slug". Potentially add the "slug" automatically for the currently seeded categories per site.
- Allow users to access tag routes in a category by their name, or a properly escaped version of it (example in my paragraph above).
I'm also happy to hear your thoughts on how we could allow lookups of things using relevant text directly for routes, instead of enforcing an ID for every lookup.