Skip to content

Feature: event/action upgrades #281

@eradin

Description

@eradin

Both the events and actions systems are inadequate. As noted before, onAdd never fires for new rows, columns and fields. In addition, the data that it passes is simply the dom markup. It needs better object info like type of field (for new fields) and panel info for updated Attributes and Conditions. Field type can only be extracted from the markup which is ugly and subject to change.

In addition, the actions are not very useful as they don't have lifecycle management. All action notifications are after the fact notifications. For example, we should be able to prevent a delete action by returning false on a "clicked" action. Perhaps a full action lifecycle like beforeClick, Clicked and afterClick.

Perhaps there is current support for this and it's a documentation issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions