Commit Graph

4 Commits

Author SHA1 Message Date
Kislay Verma
2a120d2717 topic_link_util: Support message links in backend.
This commit adds support for message link
(#**stream>topic@message_id**) syntax in the
backend `topic_link_util` module.
2025-06-18 13:03:56 -07:00
Kislay Verma
43bf15f0fa topic_link_util: Add support for empty topics in the backend.
Fallback links with empty topics now have correct
url and text for the "general chat" topic.
2025-06-18 13:03:56 -07:00
Tim Abbott
6b26b828b3 test_topic_link_util: Remove unused import. 2025-05-13 16:04:42 -07:00
Kislay Verma
ff27c568c5 topic_link_util: Add module to generate working topic links.
Similar to the frontend `web/src/topic_link_util.ts`, we
introduce a backend module to avoid generating broken
channe/topic links.

Fixes part of #34608
2025-05-13 15:56:46 -07:00