Problem/Motivation

In #2709887: [META] Data model: Decide how to handle Households we identified the need to have custom business logic available to activity entities. Example of such a logic would be interaction with the display of the activity, overriding label, altering entity after it was created, ...

Proposed resolution

- Create plugin type
- create default plugin
- add plugins to the activity type bundles
- use them in the activity entity flow

Comments

slashrsm created an issue. See original summary.

mbovan’s picture

Status: Active » Needs review

Seems that all child issues were fixed. Is there something missing that prevents this Meta issue to be fixed/closed?

miro_dietiker’s picture

At inmail, we have created mock-ups for mail processing and activity display of mail - also to use in context of a contact.
#2804587: Create mail display mock-ups
Note that on click, the full mail should be displayed and we even consider detecting mail threads so that the user can see a whole conversation.

Inmail offers a mail display render element that can offer a teaser rendering that would perfectly fit for the activity output.
The message should be referenced by the activity and the plugin should be consulted on the fly to create the rich summary. We could store some plaintext version for filter reasons, but first we need activity and plugins for the most important record types we need.

mbovan’s picture

grahl’s picture

Version: 8.x-1.x-dev » 8.x-3.x-dev
Status: Needs review » Active
grahl’s picture

Status: Active » Closed (outdated)

Closing this in favor of #2928770: Activities: Finish plugin architecture to finish this.