twenty icon indicating copy to clipboard operation
twenty copied to clipboard

[Timebox] Adapt activities to new custom objects

Open lucasbordeau opened this issue 2 years ago • 0 comments
trafficstars

Scope & Context

The custom objects are now implemented but we still need to modify activity target so it can be used with custom objects.

Current behavior

Activity targets are currently pointing on either companies or people.

Expected behavior

We want activity targets to point on any custom object record.

For this we would need to implement a solution that can reference a custom object and a record id.

Check :

  • ActivityTargetInlineCellEditMode
  • useHandleCheckableActivityTargetChange
  • useFilteredSearchEntityQuery (wait for new version in https://github.com/twentyhq/twenty/issues/2730)
### Tasks
- [ ] Implement activity target on object metadata id + record id
- [ ] Refacto field context / scope on activities
- [ ] Avoid creating empty activities (see existing issue + PR)

lucasbordeau avatar Nov 06 '23 12:11 lucasbordeau