Skip to content

Sort leading emoji first in channel names to match web #1202

@gnprice

Description

@gnprice

On the subscriptions / channels page, a user reported that names starting with an emoji are being sorted to the end, while they appear at the beginning in Zulip web.

We should match web's behavior in this respect.

(Eventually we should agree with Zulip web on the full ordering of all channel names. That's #1165 and is out of scope for this issue.)

Implementation

The name isn't the only key that the subscriptions / channels list is sorted by; it's also sorted by the channel's status as pinned and/or muted. The role of pinning and muting should remain unchanged.

This issue applies to everywhere a list of channels appears. That means:

Related issues

This is a scoped-down version of:

The full issue will require work upstream before we have a reasonable way to implement it. This issue is a smaller version that we can do sooner and will help some use cases.

Metadata

Metadata

Assignees

Labels

a-homeThe home screens of the app; finding and starting conversationsa-i18nTranslation, localization, internationalizationbeta feedbackThings beta users have specifically asked for

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions