Confusing chat channel order when name starts with emoji

AI-generated summary

A user, simon_tomes, was experiencing issues with the order of chat channels, which started with emojis in their titles. mcwumbly suggested ordering channels by their slug instead of name, to which simon_tomes agreed. A commit was made by joffreyjaffeux to implement this change, with channels now ordered by slug. simon_tomes confirmed the fix worked, and joffreyjaffeux was glad to hear the update was successful.

I’ve used an emoji at the start of each channel title. Perhaps that’s why the version I see isn’t one that appears to be in a logical/alphabetical order.

6 Likes

Yep, I think you’re right.

I wonder if we should order channels by the slug instead of the name?

6 Likes

Thanks, @mcwumbly.

I reckon that would do it. :+1:

6 Likes

A post was split to a new topic: Ability to customize the order of tags in sidebar

I just pushed a change which will now use the slug for ordering instead of the name:

https://github.com/discourse/discourse/commit/f4b56ea4552b3f104ab85c7749a876ad82308971

You might need to update your slugs as they might contain the text version of the emoji.

8 Likes

Thanks for the fix, @j.jaffeux.

Looking good from this side.

3 Likes

Great to hear, thanks for update!

2 Likes

This topic was automatically closed after 5 days. New replies are no longer allowed.