zulip / zulip-mobile

Zulip mobile apps for Android and iOS.
https://zulip.com/apps/
Apache License 2.0
1.3k stars 656 forks source link

Recognize "channel" as operator in narrow links #5860

Closed chrisbobbe closed 7 months ago

chrisbobbe commented 7 months ago

In https://github.com/zulip/zulip/issues/28468, we plan to rename "stream" to "channel" in the Zulip UI.

We should start to recognize narrow links with a "channel" operator, while continuing to recognize the "stream" operator (because links with the old operator will be present in existing messages). So, for example, the app should parse both of these URLs:

https://chat.zulip.org/#narrow/stream/378-api-design/topic/URLs.20for.20stream.20to.20channel.20rename https://chat.zulip.org/#narrow/channel/378-api-design/topic/URLs.20for.20stream.20to.20channel.20rename

Discussion: https://chat.zulip.org/#narrow/stream/378-api-design/topic/URLs.20for.20stream.20to.20channel.20rename/near/1784294

Related issues: