nextcloud / nextcloud/deck

Notification/Activity "added a description to card" triggered when nothing was changed

Open
#8,327 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

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.

Describe the bug
When opening and closing a card, it often times triggers an entry in the Activity App "You have added a description to card ..." - no matter if the description was actually added or changed.

Expected behavior
The activity should only be logged when the description was actually added (so only when it was empty before and not empty after).

When the description was changed (so was not empty before and has really changed after), the Activity should be different: "You have changed the description of card ...".

Nextcloud version: 34

Deck App Version: 1.18.3

Contributor guide

Open the contributing guide

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.

Research direction

No file or test is named. Start by tracing the card description update and Activity App logging paths in Deck, then reproduce opening and closing a card with an empty and a non-empty description. Done means unchanged descriptions create no activity, first-time descriptions use “added,” and real changes use “changed.”

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.