Skip to content

Action factory registry #55345

@streamich

Description

@streamich
  • Add action factory registry to ui_actions e145241 Drilldown factory #59823
    • Action factories should implement Presentable interface
  • Add .revive() (or .createAction) method to UiActionsService, which constructs an instance of an action from its serialized form. "revive" was added to DynamicActionManager instead. Drilldown events 3 #59854

"Destinations registry" is a virtual registry, in reality we will re-use actions registry to store all drilldown destinations. UI actions that have type set to {type: 'destination'} are said to be "destinations" and subset of all actions in actions registry with {type: 'destination'} is "destinations registry". Those actions will also be of type IDynamicActionFactory.

Any plugin can register any number of possible destinations. This destination list is presented to the user when configuring a drilldown.

  • Extend ui_actions plugin to allow filtering actions by type.
  • Make sure type is used correctly in all existing action implementations. (for example, that nobody uses destination type or in some other incorrect way.)

Parent issue: #55349

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions