You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can reproduce this on the community server if your MM account is connected to Jira with this post https://community.mattermost.com/core/pl/rxh5d7ieibr79q578phk5qojma. Hovering over the Jira ticket URL results in no tooltip showing. This is because this text is in the pretext of a message attachment, as opposed to a regular post message. Notice that hovering over the link in the next post below triggers the tooltip.
In order for plugin link tooltips to work correctly with the
Markdown
component, we must pass thehasPluginTooltips
prop as shown here:https://github.com/mattermost/mattermost/blob/099f704d4ff769ff40e1bced5411874dec156766/webapp/channels/src/components/post_markdown/post_markdown.tsx#L126
Here we are using the
Markdown
React component in theMessageAttachment
component, and not providing this prop:https://github.com/mattermost/mattermost/blob/099f704d4ff769ff40e1bced5411874dec156766/webapp/channels/src/components/post_view/message_attachments/message_attachment/message_attachment.tsx#L354
You can reproduce this on the community server if your MM account is connected to Jira with this post https://community.mattermost.com/core/pl/rxh5d7ieibr79q578phk5qojma. Hovering over the Jira ticket URL results in no tooltip showing. This is because this text is in the
pretext
of a message attachment, as opposed to a regular post message. Notice that hovering over the link in the next post below triggers the tooltip.If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-58189
The text was updated successfully, but these errors were encountered: