-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[GH-15740] channel mentions in message attachments #6628
Conversation
I create a message with attachments in the town-square channel => This redirect to Off-Topic without reload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me @jufab thanks for your contribution!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Thank you for fixing this.
Just one small change. Could you revert the changes in package-lock.json. You are not actually changing anything there, and the changes are probably just due a difference between your npm version (or other build related tools) and the one we use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM, can you just revert the changes in package-lock.json?
No problem, it's done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
/update-branch |
@prapti Kind reminder to review for v5.29. |
/update-branch |
Testing this, but waiting on some answers from Alejandro about test steps. Will continue on Monday. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, @jufab!
I just tested this in the webapp and confirmed that:
- If the link is contained in the Pretext field, there is no longer a page refresh on webapp when navigating to the link.
- If the link is contained in the Text field, there is no longer a Not Found error when navigating to the link.
We'll duplicate the original ticket to keep track of the mobile bug as well.
Thank you again!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @jufab for working on this one! 🎉
A big thanks to @agarciamontoro for doing the peer QA review on this PR.. approving.
Test server destroyed |
Cherry pick is scheduled. |
(cherry picked from commit c970b04)
Summary
This PR fix the webapp problem with message attachements for channel and internal link.
Ticket Link
Jira ticket: https://mattermost.atlassian.net/browse/MM-28980
mattermost/mattermost#15740 => For the webapp part
Related Pull Requests
None
Screenshots
No UI change