tooltip: Change tooltip info for default topic menu option.

Earlier tooltip info for the default topic menu notification option
had static string to display.

This commit changes the string info and includes channel name and its
corresponding privacy icon to display in the tooltip.
This commit is contained in:
Pratik Chanda
2024-07-23 00:03:36 +05:30
committed by Tim Abbott
parent 4ef7394df4
commit 1ccf5e3ac3
8 changed files with 60 additions and 12 deletions

View File

@@ -436,6 +436,7 @@ function format_topic(
is_topic: true,
stream_id,
topic_name: topic,
stream_name: stream_data.get_stream_name_from_id(stream_id),
unread_count: topic_unread_count,
conversation_key: get_topic_key(stream_id, topic),
topic_url: hash_util.by_stream_topic_url(stream_id, topic),