Element-web: Tab completing @username mentions

Created on 25 Jun 2018  路  10Comments  路  Source: vector-im/element-web

People are used to mention people with @username from all the other services (telegram, discord, gitter, slack), so the tab completion should probably try to ignore a leading "@" during completion.

feature p2 autocomplete

Most helpful comment

to be fair, for consistency with other autocompletes, @ should complete on both name and MXID, like room and community completers do

All 10 comments

the difficulty there is then what if I want to explicitly autocomplete by someone's MXID?

Maybe try both and join the list of results?

That is what I presumed you were suggesting, but thats not

explicitly by someone's MXID

That's by MXID/Displayname

Oh I see what you mean... Well what about selecting the mxid entry from that list then? That should work, right?

well I mean in the end they always get completed to a pill which has both MXID and Displayname (only the latter actually shown)
its just force of habit that I tend to autocomplete using people's MXIDs rather than their Displaynames

well you could also build in a thing where for explicitly doing mxid's is \@localpar<tab> if you really need that

to be fair, for consistency with other autocompletes, @ should complete on both name and MXID, like room and community completers do

This sounds like a duplicate of https://github.com/vector-im/riot-web/issues/6782 (which is still a question?)

@turt2live yes, it is a duplicate, I had not found that. Thanks!

(Forgot to close this yesterday)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nvbln picture nvbln  路  3Comments

bagage picture bagage  路  3Comments

richvdh picture richvdh  路  3Comments

lukebarnard1 picture lukebarnard1  路  3Comments

niedzielski picture niedzielski  路  3Comments