Add configuration options for notification urgency #49
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Builds upon and replaces #24
Gives the user access to 2 configuration options that affect what urgency is used for the notification.
AUTO_NOTIFY_URGENCY_ON_SUCCESS
AUTO_NOTIFY_URGENCY_ON_ERROR
I've also added a test case for the
ON_SUCCESS
urgency option. I was unfortunately not able to figure out how to add a test case for theON_ERROR
option without modifying unrelated parts of the code quite heavily.I've also added a section in the README, but I'm unfamiliar with the formatting, and my VS Code extension is not rendering it properly, so I just copied the style and hope it works :)