-
Notifications
You must be signed in to change notification settings - Fork 191
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
New channel wildcard mentions are rendered as "unimplemented" #1064
Comments
Hmm! Interesting, thanks for the report. Can you link to an example message with this format? Or is it not currently possible to generate on chat.zulip.org for some reason? Using the survey tool from #190, I don't see any examples of this in public messages on chat.zulip.org. See e.g. the output copied in the description of #921. |
I couldn't find any such message on chat.zulip.org and because I don't have permission to use
I am not sure, but maybe that's because there are no new messages with such mentions. Here are the screenshots (of my organization) both from the web and mobile: WebMobile |
Aha, that'd do it. Yeah, we have this permission set:
so in most channels, nobody can use @-all and the like except admins and moderators, and I guess in practice we never do. @rajveermalviya would you put this issue on your queue? Looks like probably a small one. For making an example message to point to in the test, you can send to an ad-hoc testing channel with few users — see the help page linked in the quote above. It seems like this was an earlier case of the same process failure that caused #1046 to arise suddenly a couple of weeks ago. But this one was back in August, before that discussion. |
By the way, here's the link to a CZO message with channel wildcard mentions: |
Sure! Please go ahead. |
For channel wildcard mentions, the class in the corresponding HTML used to be the same as the user mentions (class="user-mention"), but now there's an additional class added. Now it looks like the following: class="user-mention channel-wildcard-mention". Fixes: zulip#1064
While working on #889, I realized that the channel wildcard mentions (
@all
,@everyone
,@channel
,@stream
) are rendered as "unimplemented". This behavior is only for newer messages (after #31075 is merged in zulip), the older messages with these wildcard mentions are rendered correctly. This is how the HTML text for older and newer messages looks like:There seems to have been an additional class (
channel-wildcard-mention
) added. So, I think we have to support both the previous format and the current one.The text was updated successfully, but these errors were encountered: