-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Mentions TODO #4640
Comments
Some more thoughts:
|
|
it seems like seequ means that rooms which were not known by the recipient were not made into pills |
|
One possible way to do that is to wrap the disambiguation in a span with a special class (e.g. |
other options could be to make it an attribute on the pre-existing node, or to just throw it into the event content (although that might be a bit dirty?) |
To prevent abuse, we should be replacing the text content of the mentions with the actual display name or room alias of the resource linked anyway. It would be at that point where we would consider not inserting the disambiguation. In terms of the implementation,
would be done at the point we insert the disambiguation (after the message has been received) so perhaps we could just not insert it (and make that conditional on a user setting perhaps?) Not to mention allowing certain
the receiving client has enough information to do the disambiguation itself so this feels redundant (although it's possible the client doesn't know about mentions (see next comment)). And yes, quite dirty 😛 |
SGTM, and we will be replacing the pill text anyway to prevent abuse. |
Does it matter if there's no avatar? Currently there's no API for mapping #alias -> avatar |
it's not a huge problem; bit of a shame though. |
I have another problem, but I'm not sure if it's covered (search didn't help): If you mention people in the composer, then enter another key, the I'm relatively sure browsers don't do an identity check on old and new Would anyone like me to take a look at this? |
Closing as the last item in the issue description todo list is covered by #16981 @resynth1943 Please create a new separate issue if you're still seeing problem ⏩ |
So far, mentions look like this:
There are a few things left to do on them before we release:
/commands
Completions when composing commands #4762body
when quoting matrix-org/matrix-react-sdk#1279/join #alias
doesn't work if the operand is tab-completed Cannot /join an auto-completed room alias #4676 Fix /join #alias command in markdown mode matrix-org/matrix-react-sdk#1254(#someroom)[https://matrix.to/...]
(Pills should not display the completions inserted, but rather the actual room alias / user display name) Insert MD links when autocompleting in MD mode matrix-org/matrix-react-sdk#1238/profile
API (Get user pill profile remote data and show unrecognised rooms as links matrix-org/matrix-react-sdk#1246)body
of sent messages matrix-org/matrix-react-sdk#1242)The text was updated successfully, but these errors were encountered: