nerkarso / directus-extensions

Collection of Directus extensions
https://nerkarso.github.io/directus-extensions/
10 stars 1 forks source link

Conditional Execution of SweetAlert Extension #2

Open Abdallah-Awwad opened 1 month ago

Abdallah-Awwad commented 1 month ago

Hello, thank you for developing this amazing extension! I have a question regarding its usage,

Is it possible to trigger the SweetAlert extension based on specific conditions or events? such as item creation or being triggered by a flow or something? I'm particularly interested to use it to throw errors/warnings from a flow instead of the default one.

default error message from a flow

What do you think? is that doable?

plasebo commented 1 month ago

Is it possible to invoke the sweetalert in the run script of flows?

nerkarso commented 2 weeks ago

Hello, thank you for developing this amazing extension! I have a question regarding its usage,

Is it possible to trigger the SweetAlert extension based on specific conditions or events? such as item creation or being triggered by a flow or something? I'm particularly interested to use it to throw errors/warnings from a flow instead of the default one. default error message from a flow

What do you think? is that doable?

No, this is currently not possible.

nerkarso commented 2 weeks ago

Is it possible to invoke the sweetalert in the run script of flows?

Also not possible.