monica icon indicating copy to clipboard operation
monica copied to clipboard

"Activity Feed" updates contain current value for contact information

Open slifty opened this issue 11 months ago • 0 comments

⚠️ This issue respects the following points: ⚠️

  • [X] This is a bug, not a question or a configuration/webserver/proxy issue.
  • [X] This issue is not already reported on Github (I've searched it).
  • [X] I agree to follow Monica's Code of Conduct.

Bug description

When updating a piece of contact information (e.g. a phone number) each update gets a separate entry in the contact's activity feed, however each entry shows the latest value rather than the value relevant to that specific action.

Steps to reproduce

  1. Create a contact in Monica 5.x
  2. Add contact information
  3. Edit the contact information and specify a different value
  4. View the contact's "Activity feed"

You will see two entries for contact information (one for adding, one for updating). BOTH will reflect the updated value.

Expected behavior

Each activity feed item should have the data that was entered for the action -- e.g. if I enter "123-123-1234" for a phone number and update it to "345-345-3456" then one entry should say the "123" version and the second should say the "345" version

Environment

Your own self-hosted instance (v5 a.k.a chandler version or main branch)

Version of Monica

5.0-beta3

Installation method

Docker image

Web server

Nginx

Database engine version

PostgreSQL

Additional info

No response

slifty avatar Feb 27 '24 20:02 slifty