platform icon indicating copy to clipboard operation
platform copied to clipboard

Bug: @ mentions become unlinked when message is translated

Open AbigailDawson opened this issue 1 year ago • 7 comments

Summary

When you click to translate a message, any @ mentions become unlinked (including mentions of people, documents, issues etc.)

Steps to reproduce:

  1. Send a message including a mention
  2. 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.

Screenshot 2025-01-22 at 6.12.27 AM.png

Screenshot 2025-01-22 at 6.12.32 AM.png

AbigailDawson avatar Jan 22 '25 12:01 AbigailDawson

Connected to Huly®: UBERF-9235

huly-github-staging avatar Jan 22 '25 12:01 huly-github-staging

Abigail Dawson I do not think it could be easy to fix, since we just show output from openai.

haiodo avatar Jan 22 '25 12:01 haiodo

Kristina Fefelova need your opinion

haiodo avatar Jan 22 '25 12:01 haiodo

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

AbigailDawson avatar Jan 22 '25 12:01 AbigailDawson

Abigail Dawson yes, this make seance. Thanks.

haiodo avatar Jan 22 '25 12:01 haiodo

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

kristina-fefelova avatar Jan 22 '25 12:01 kristina-fefelova

also I think maybe we shouldn’t translate mentions at all

kristina-fefelova avatar Jan 22 '25 12:01 kristina-fefelova