Skip to content

[TRI-1879] From an event page, if it's scheduled but not delivered you should be able to cancel it. #852

@matt-aitken

Description

@matt-aitken

Events can be scheduled for the future using deliverAt or deliverAfter (see options in the docs: https://trigger.dev/docs/sdk/io/sendevent).

You can programatically cancel these using cancelEvent(): https://trigger.dev/docs/sdk/triggerclient/instancemethods/cancel-event

We should add a Cancel button to the top-right of an Event page, if that event has not been delivered yet.

This event hasn't been delivered yet.

CleanShot 2024-01-17 at 10 35 44@2x

Position of cancel button

CleanShot 2024-01-17 at 10 35 52@2x

From SyncLinear.com | TRI-1879

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions