docs icon indicating copy to clipboard operation
docs copied to clipboard

Mention users in doc and comments

Open robin-lecomte opened this issue 6 months ago • 7 comments

Image

Ability to mention users (1) in comments and (2) inline within the text.
For inline mentions, I suggest reusing the same system as interlinking, combining both options when typing "@".

FIGMA

robin-lecomte avatar May 26 '26 13:05 robin-lecomte

@robin-lecomte discussed with Antho, creating a thread from the side panel is quite complex. A couple question we need to solve with this feature:

  • I suggest we expose only members and link_trace users (later we will deal with mentioning users that don't have access which will trigger a sharing flow)
  • The @ operator is used for interlinking as well, we probably want user to mention a page in the comments, so we need to redesign the dropdown to expose 2 sections : users and subdocs
  • I suggest, that at first we use an email notification when a user is mentionned

virgile-dev avatar Jun 01 '26 08:06 virgile-dev

Image

Updated the mockups accordingly. @virgile-dev, I’ll let you mark as design approved if that works for you.

FIGMA

robin-lecomte avatar Jun 04 '26 12:06 robin-lecomte

Thanks. As stated on the figma, I'd keep a single @mention command to keep it simple. (It's all blocknote, comment and editor BTW). FYI @AntoLC since you're working on this.

virgile-dev avatar Oct 09 '26 09:10 virgile-dev

Todo:

  • [x] https://github.com/suitenumerique/docs/pull/2806
  • [ ] https://github.com/suitenumerique/docs/pull/2980

AntoLC avatar Oct 09 '26 10:10 AntoLC

Hello! We self-host Docs 6.0 (BEAM CUBE, France) and are very much looking forward to user mentions in comments: our main use case is pinging a teammate — or a service account that answers automatically — from a comment thread. Today users type "@name" as plain text, no mention is created, and nobody is notified. Happy to test the comment part as soon as a PR is available. Thanks for the great work!

SamsGuamejy avatar Oct 14 '26 11:10 SamsGuamejy

@AntoLC @virgile-dev If it helps, we'd be glad to take on the "Mention users in a comment" part once #2806 is merged, building on its user-mention components. Let us know if that works for you or if you'd rather handle it yourselves — we can also just test.

SamsGuamejy avatar Oct 14 '26 12:10 SamsGuamejy

Happy to hear you're self-hosting Docs!

Larger features are usually handled internally, as they require quite a bit of back-and-forth coordination between the design, product, frontend, and backend teams.

We already have a plan in place for implementing user mentions in comments, but we really appreciate your offer to contribute!

That said, contributions are always welcome, especially on smaller, well-scoped issues. And we'd be happy to have your feedback and testing once the feature is ready!

AntoLC avatar Oct 20 '26 11:10 AntoLC