mirror of https://github.com/zulip/zulip.git
0891f9f65a
This commit adds a boolean field `mentions_topic_wildcard` to the `MessageRenderingResult` dataclass. The field is set to true only if message rendering determines the message has an actual topic wildcard mention in it (and not, e.g., topic wildcard mention syntax inside a code block). The rendered content for topic wildcard mention is '<span class="topic-mention">{wildcard}</span>'. The 'topic-mention' class is the identifier for the wildcard mention being a topic wildcard mention. We don't use 'data-user-id="*"' and "user-mention" class for topic wildcard mentions and eventually plan to remove them for stream wildcard mentions too in a separate mini-project. |
||
---|---|---|
.. | ||
e2e-tests | ||
generated | ||
html | ||
images | ||
shared | ||
src | ||
styles | ||
templates | ||
tests | ||
third | ||
.browserslistrc | ||
.gitignore | ||
babel.config.js | ||
debug-require-webpack-plugin.ts | ||
debug-require.js | ||
postcss.config.js | ||
webpack.assets.json | ||
webpack.config.ts | ||
webpack.dev-assets.json |