Skip to content

Handle message links (a.message-link) #1046

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

Closed
gnprice opened this issue Nov 5, 2024 · 0 comments · Fixed by #1048
Closed

Handle message links (a.message-link) #1046

gnprice opened this issue Nov 5, 2024 · 0 comments · Fixed by #1048
Assignees
Labels
a-content Parsing and rendering Zulip HTML content, notably message contents server-10 Things new in Zulip Server 10.0

Comments

@gnprice
Copy link
Member

gnprice commented Nov 5, 2024

The server now emits a new shape of content when the user links to a message:

<a class="message-link"
  href="/#narrow/channel/9-announce/topic/Zulip.20updates/near/214">
 #announce &gt; Zulip updates @ 💬
</a>

This is suddenly pretty common, too, because the web client automatically converts to the syntax for this when the user pastes such a URL.

This is newly merged today. Docs will appear here:
https://zulip.com/api/message-formatting
but for the moment can be read instead here:
zulip/zulip@77064a1

We should handle these. Currently they're showing as "unimplemented".

For this issue, to get it merged quickly, we just want basic support: treat the link like any other link. A fancier feature is to follow renames of the stream/channel; that's a separate issue (#1047) and is out of scope for this one.

@gnprice gnprice added a-content Parsing and rendering Zulip HTML content, notably message contents server-10 Things new in Zulip Server 10.0 labels Nov 5, 2024
@gnprice gnprice added this to the Beta 4: Fall 2024 milestone Nov 5, 2024
rajveermalviya added a commit to rajveermalviya/zulip-flutter that referenced this issue Nov 6, 2024
@gnprice gnprice closed this as completed in 921eacd Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-content Parsing and rendering Zulip HTML content, notably message contents server-10 Things new in Zulip Server 10.0
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants