Add user mentions to card descriptions

Open
#8,283 1 comment 3 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript

Research direction

Start by tracing how mentions and notifications work in Deck card comments, then inspect the card description editor's Person option and Smart Picker behavior. The work is done when descriptions recognize selected users as mentions, notify them, provide a link back to the card, and distinguish mentions visually as requested.

Written by the indexing model from the issue text.

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
Currently, users can be mentioned in comments on Deck cards, but there is no equivalent mention functionality for the card description.

This would be especially useful for longer card descriptions containing tasks, notes, or responsibilities, for example:

  • @alice please review this section
  • @bob please provide the required information

The Deck description editor already provides the Person option through the / command / Smart Picker. However, inserting a person into the description does not behave like an actual mention and does not notify the mentioned user.

Describe the solution you'd like
It would be great if Deck supported real user mentions inside card descriptions, similar to mentions in comments.

Ideally:

  1. Typing @ in a card description should allow searching for and selecting Nextcloud users.
  2. Alternatively, selecting / → Person should insert the selected user as a mention.
  3. The mentioned user should receive a Nextcloud notification such as:
    Alice mentioned you in the description of card "Example card".
  4. Clicking the notification should open the corresponding Deck card.
  5. Mentions should be visually distinguishable from normal text and link to the mentioned user where appropriate.

Current behavior

Mentions and corresponding notifications are currently supported in Deck comments.

In card descriptions, the editor exposes person-related functionality, but Deck does not appear to treat inserted users as mentions that trigger notifications.

Expected behavior

Users mentioned in a card description should be recognized by Deck and receive a notification, similar to mentions in card comments.

Dominant language
JavaScript
Stars
1.4k
Forks
380
Avg merge
1d 17h
Merged PRs (30d)
72

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/deck

All issues in nextcloud/deck

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.