deck icon indicating copy to clipboard operation
deck copied to clipboard

Activity log with card description

Open joesch2 opened this issue 8 months ago • 5 comments

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 After changing a card's description, the Activity app displays also the entire description (see screenshot).

To Reproduce Steps to reproduce the behavior:

  1. edit card
  2. close card
  3. see activity-log

Expected behavior In my opinion, it should only show the entry "xy updated the card's description" and not the entire content. This unnecessarily bloats the activity log.

Screenshots

Image

Client details:

  • OS: Win11
  • Browser Firefox
  • Version 138
  • Device: desktop
Server details

Server configuration

Apache (fpm-fcgi)

Database: mysql 10.11.10

PHP version: 8.3.14

Nextcloud version: 30.0.4 List of activated apps Enabled: - activity: 4.0.0 - admin_audit: 1.21.0 - app_api: 5.0.2 - approval: 2.2.0 - bruteforcesettings: 4.0.0 - calendar: 5.3.1 - circles: 31.0.0 - collectives: 2.17.1 - comments: 1.21.0 - contacts: 7.1.3 - contactsinteraction: 1.12.0 - dashboard: 7.11.0 - deck: 1.15.1 - eidlogin: 1.0.18 - federation: 1.21.0 - files_automatedtagging: 2.0.0 - files_confidential: 3.2.0 - files_downloadlimit: 4.0.0 - files_lock: 31.0.2 - files_pdfviewer: 4.0.0 - files_reminders: 1.4.0 - files_retention: 2.0.1 - files_sharing: 1.23.1 - files_trashbin: 1.21.0 - files_versions: 1.24.0 - fileslibreofficeedit: 2.0.1 - forms: 5.1.0 - groupfolders: 19.1.0 - guests: 4.2.0 - logreader: 4.0.0 - mail: 5.1.2 - nextcloud_announcements: 3.0.0 - notifications: 4.0.0 - password_policy: 3.0.0 - passwords: 2025.5.21 - passwords_handbook: 2025.5.21 - polls: 7.4.3 - recommendations: 4.0.0 - related_resources: 2.0.0 - serverinfo: 3.0.0 - sharebymail: 1.21.0 - support: 3.0.0 - survey_client: 3.0.0 - systemtags: 1.21.1 - tables: 0.9.3 - text: 5.0.0 - text_templates: 1.2.0 - twofactor_nextcloud_notification: 5.0.0 - twofactor_totp: 13.0.0-dev.0 - updatenotification: 1.21.0 - webhook_listeners: 1.2.0 Disabled: - encryption: 2.19.0 - files_external - firstrunwizard: 4.0.0 - photos: 4.0.0-dev.1 - privacy: 3.0.0 - suspicious_login - tasks: 0.16.1 - user_ldap - user_status: 1.11.0 - weather_status: 1.11.0

joesch2 avatar Jun 09 '25 10:06 joesch2

NB from our tests this is true for every comment added not just description edits i.e. every time a comment is added, 2 entries appear in the activity tab, one being the comment "user.name has commented on card blah blah (card.u.r.l, and above that an entry "user.name has added a description to card blah blah (card.u.r.l) in list bleh (card.u.r.l) on board bleh blah (board.u.r.l.) and the description in full, which hasn't changed since the version the line below but one, when someone else commented and so on ad nauseum

putt1ck avatar Jun 09 '25 10:06 putt1ck

And having written the above comment have tried to narrow down when it starts - and it seems that the following is also true:

if you create a card and description and then add comments, just the comments appear in the activity tab; but after the next activity notification email is sent a "user has updated description" message is added; so if you only add comments because someone else has (and you got notified), it looks like it's for every comment, but actually it's the email notification

Image

putt1ck avatar Jun 09 '25 11:06 putt1ck

Please excuse my description if it was inaccurate. I meant the entries in the Nextcloud activity log (not the card's own).

Image

joesch2 avatar Jun 09 '25 11:06 joesch2

Essentially the same content in both, just less detail in the main activity log; so the same conditions seem to hold, adding a comment results (when the activity email notification job runs) in messages regarding the card's description

Image

putt1ck avatar Jun 09 '25 11:06 putt1ck

Moreover... Actually changing the description in our tests doesn't add an activity item, either in the card or the NC overview. Kinda hard to screenshot a "it didn't happen" event but I'm guessing the item will appear only after the email notification job runs. Waiting...

putt1ck avatar Jun 09 '25 11:06 putt1ck