-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort leading emoji first in channel names to match web #1202
Labels
a-home
The home screens of the app; finding and starting conversations
a-i18n
Translation, localization, internationalization
beta feedback
Things beta users have specifically asked for
Milestone
Comments
gnprice
added
a-i18n
Translation, localization, internationalization
a-home
The home screens of the app; finding and starting conversations
beta feedback
Things beta users have specifically asked for
labels
Dec 23, 2024
Thanks! That sounds like a good direction. Please open a PR when your work is ready for review.
We can ignore this distinction until we get to #1101, which is planned for a later milestone than this issue. |
lakshya1goel
added a commit
to lakshya1goel/zulip-flutter
that referenced
this issue
Dec 29, 2024
Update the channel sorting logic to ensure streams with leading emojis in their names are listed above those without emojis. The updated sorting respects pinned, muted, and unmuted streams while handling emoji precedence and maintaining alphabetical order for ties. Fixes: zulip#1202
Hello, I have raised a PR for this issue. Please have a look on it. Let me know if anything else is required. |
lakshya1goel
added a commit
to lakshya1goel/zulip-flutter
that referenced
this issue
Dec 31, 2024
Update the channel sorting logic to ensure streams with leading emojis in their names are listed above those without emojis. The updated sorting respects pinned, muted, and unmuted streams while handling emoji precedence and maintaining alphabetical order for ties. Fixes: zulip#1202
lakshya1goel
added a commit
to lakshya1goel/zulip-flutter
that referenced
this issue
Jan 18, 2025
Update the channel sorting logic to match the channels order of web by putting emoji-prefixed channels first. Fixes: zulip#1202
lakshya1goel
added a commit
to lakshya1goel/zulip-flutter
that referenced
this issue
Jan 18, 2025
Update the channel sorting logic to match the channels order of web by putting emoji-prefixed channels first. Fixes: zulip#1202
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a-home
The home screens of the app; finding and starting conversations
a-i18n
Translation, localization, internationalization
beta feedback
Things beta users have specifically asked for
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.
The text was updated successfully, but these errors were encountered: