CollaboraOnline / online

Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
https://collaboraonline.com
Other
1.78k stars 681 forks source link

Support mentioning of contacts in comments #1529

Open thkoch2001 opened 3 years ago

thkoch2001 commented 3 years ago

Is your feature request related to a problem? Please describe. I asked in Nextcloud for Google Docs-like features of mentioning users in comments: https://github.com/nextcloud/richdocuments/issues/1380

This feature request is for CollaboraOnline to provide the necessary APIs.

Describe the solution you'd like

When a certain symbol gets entered in a comment, e.g. "+" or "@", CollaboraOnline offers an autocomplete of usernames. CO needs to call into the hosting application to get the list of autocompletions.

Once the comment gets posted, CO instructs the hosting application to notify a set of users about the new comment.

thkoch2001 commented 3 years ago

I believe issue #1673 is related to this one. I want automatic sharing of comments with mentioned users. #1673 is about getting a link that can be shared manually.

nikslor commented 3 years ago

I'd love to have this feature as well.

Nextcloud/ownCloud usually already provide the functionality to send mails (through PHP). Through the "richdocuments" integration CooL should be able to get the usernames and mail addresses of the users who have access on a document. So highlighting the users in a comment could trigger an API request from CooL to Nextcloud/ownCloud "sendMailNotification()".

I could actually help on the PHP side :)

juliushaertl commented 2 years ago

After discussing this with @kendy we'd need to have an implementation of this in core first to properly persist the mentions among with the user metadata within the document files

Requirements for a "Mention" element that users would add through the UI:

To give a more concrete example, integrating with a Nextcloud instance on cloud.example.com if a user would type @Julius the interface would fetch the user metadata from Nextcloud and persist that to the file:

One additional thing to consider would be that depending on the integrator the userid might not work as a cross reference, between different integrators, for that it would be required to have some way to differentiate:

Open questions:

Leaving this up to @kendy for further evaluation of the technical details on the core/cool side as discussed.

rriemann commented 1 year ago

Dears,

this is a super feature and Nextcloud implementation is on hold pending progress from CollaboraOnline!

juliushaertl commented 1 year ago

First parts were already done for in document mentions which is waiting for the next major Nextcloud release. Mentions in comments are still up for discussion though.

rriemann commented 1 year ago

Now we have Nextcloud 25.0.2. So you mean we need to wait for 26.0?

juliushaertl commented 1 year ago

Yes

Hoeze commented 11 months ago

NC26 was released in July, what is the state of this issue today?

dorkmaneuver commented 7 months ago

+1, I think this is a very useful collaborative feature and users often stress that this is better in Google docs... can we put this forward also with Collabora?

botsarenthuman commented 1 month ago

A user also asked about this today, specifically related to mail-merge and Nextcloud