twenty/packages
Weiko 676c902731
Fix timelineActivity updated fields (#6494)
## Context
We recently introduced the new twenty ORM and used it in the update
methods in the query runner.
Initially we were using pg_graphql to fetch the record before updating
it allowing us to compare the before and the after and create a diff.
This diff is then used for the timeline activity creation. Now,
twentyORM is doing the fetch and pg_graphql is still doing the update
and their responses are not exactly the same, which means the diff is
not working as intended (e.g date types were always in the diff due to
one being in Date format and the other as a string)

This PR introduces a updatedFields property to the update event which
comes from the input. This is not ideal as this won't work for API users
that send the whole payload but will be sufficient enough for our FE
that only sends modified fields. We then compare only those fields in
the diff.
2024-08-01 18:41:28 +02:00
..
twenty-chrome-extension Updated MessageChannelSyncStatus enum: changed COMPLETED to ACTIVE (#5965) 2024-07-25 21:17:55 +02:00
twenty-docker mod: entrypoint for docker to setup db even in server with less memory (#5815) 2024-07-19 14:54:00 +02:00
twenty-emails Improve performance of demo workspace - Rename getImageAbsoluteURIOrBase64 function (#6282) 2024-07-29 14:07:21 +02:00
twenty-front Leverage workspace activationStatus to decide if a workspace is activated or not (#6497) 2024-08-01 17:05:15 +02:00
twenty-postgres Upgrade pg graphql version to 1.5.6 (#5937) 2024-06-18 17:34:16 +02:00
twenty-server Fix timelineActivity updated fields (#6494) 2024-08-01 18:41:28 +02:00
twenty-ui Adjusted empty tag style (#6465) 2024-08-01 10:29:05 +02:00
twenty-utils Fix docs build in CI (#5826) 2024-06-11 19:06:37 +02:00
twenty-website 0.23 changelog (#6472) 2024-07-31 15:04:41 +02:00
twenty-zapier [Fix] Remove usage of deprecated FieldMetadata type probability (#6279) 2024-07-16 11:36:10 +02:00