Bug: @ mentions become unlinked when message is translated
Summary
When you click to translate a message, any @ mentions become unlinked (including mentions of people, documents, issues etc.)
Steps to reproduce:
- Send a message including a mention
- Click the translate message icon
Actual Result
Mentions become unlinked in the translated message.
Expected Result
Mentions should still be linked if the message has been translated.
Connected to Huly®: UBERF-9235
Abigail Dawson I do not think it could be easy to fix, since we just show output from openai.
Kristina Fefelova need your opinion
Andrey Sobolev I was also thinking in the future if we implement something that can translate all messages into the user’s selected language, we would want to make sure mentions remain linked. Right now I have to click translate on each message one by one, if I could have all messages translated by the system by default (and still have the option to show the original message if I want) that would be really helpful for me and I’m sure others who work internationally
Abigail Dawson yes, this make seance. Thanks.
I think that html from opneai is good, but we don’t support mentions in htmlToMarkup function, and we just need to expand htmlToMarkup
I will check it
also I think maybe we shouldn’t translate mentions at all