In the browser the @ sign shows up a list of users to mention.
This function would be nice to have here, too.
I think we need support in the server app before we can implement it. The description property includes more meta data about the mentions, we need this stuff for the comments, too.
^ This is all bullshit, ignore it.
cc @juliushaertl
Forget it, i didn't read the issue correctly. I am dumb. We don't need anything from the server, sorry for the noise. 馃槼
@desperateCoder i need some regex magic for if <anything-or-empty>@<anything-except-whitespaces-or-enter-or-space> then true
As a small hint, mentions also might be like @"User Name" if the uid in Nextcloud contains spaces.
Great hint @juliushaertl, thanks! Additionally we wondered, what exactly is valid for a uid. Are -, _ or any other special characters allowed?
@stefan-niedermann have a look. Also see CommentsUtilTest and add, whatever you can imagine.
https://github.com/nextcloud/server/blob/cb057829f72c70e819f456edfadbb29d72dba832/lib/private/Comments/Comment.php#L231 might help ;)
Will be shipped in 1.10.0
Most helpful comment
Will be shipped in
1.10.0