Closed elvarb closed 7 years ago
@elvarb I don't plan on adding custom workflows at this time (though I'm happy to discuss the feature).
You can customize resolutions by modifying the Alert::$RESOLUTIONS. I'd recommend doing this via a runtime hook.
Hook::register('init.post', function() {
Alert::$RESOLUTIONS = [
// Custom resolutions here.
];
});
Doing this for states isn't possible because it's hardcoded all over the place.
Having custom resolutions is more important I think so its fantastic that there is a workaround.
Want me to close this issue or keep it open for future reference?
Closing for now, may revisit for v2.
The options are hard coded into Alert.php
To have these options stored in the sqlite database and customizable would be very valuable.