Nextcloud-deck: 馃挰 Allow mention users in the comments

Created on 1 Sep 2020  路  9Comments  路  Source: stefan-niedermann/nextcloud-deck

In the browser the @ sign shows up a list of users to mention.
This function would be nice to have here, too.

enhancement 馃枼 server

Most helpful comment

Will be shipped in 1.10.0

All 9 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mithodin picture mithodin  路  7Comments

ilippert picture ilippert  路  7Comments

lachmanfrantisek picture lachmanfrantisek  路  7Comments

stefan-niedermann picture stefan-niedermann  路  7Comments

riweckr picture riweckr  路  6Comments