Skip to content

Make default durations filterable  #876

@carstingaxion

Description

@carstingaxion

Is your enhancement related to a problem? Please describe.

While I really like the new duration defaults within the event date block, the suggested default durations might not fit in every use case.

I would love if one could hook into the defaults and modify the list to whatever is needed.

Bonus: If the list gets populated with more than n values, it’ll show as a NumberControl with a calculated steps attribute, based on the given durations.

Designs

As this list seems to be only relevant inside the editor, I would prefer a client side filter in JS.

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions