Skip to content

Actions & Embeddables Phase II API #43299

@stacey-gammon

Description

@stacey-gammon

Terms

Parent issue: #42845


Summary

With "phase 1" of embeddables, there is a single registry for developers to implement custom action functionality in the UI by attaching Action instances to Triggers.

With "Phase 2", we would like to expose this functionality to end users (aka "Content creators"), not just developers. This would be specific for embeddables.

Implementation details

If Action A is not a singleton, and a factory for it exists, then the content creator can create multiple instances of that action, and attach them to the same trigger, for a given embeddable of the supported type.

Blank Diagram - Content Creator_ Step 1

It’s important to note that the content creator is creating these actions per embeddable instance, not embeddable type.

Blank Diagram - Content Creator_ instance not type

The system is pluggable so another developer can enter the mix and add new embeddable types, new action types, new triggers, but can also reuse existing triggers.

Blank Diagram - Page 1

Mocks

Screen Shot 2019-08-14 at 2 04 17 PM

cc @streamich

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions