feat(snooze): request longer snooze #5862
Merged
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.
This pull request introduces the ability to request a longer snooze period for signals within the Slack integration.
Key changes:
snooze_extension_oncall_service_id
to theproject
table to associate an on-call service with snooze extension requests.extension_request_checkbox
) in the snooze creation modal to allow users to request a longer snooze.handle_snooze_submission_event
) to process this request.post_snooze_message
) to indicate if an extension was requested and notifies the on-call user.get_user_id_from_oncall_service
to get the slack user id from the oncall service.snooze_extension_oncall_service
relationship to theProject
model.snooze_extension_oncall_service_id
toProjectBase
,ProjectCreate
, andProjectUpdate
models.ServiceSelect
component to theNewEditSheet.vue
to allow project admins to select the oncall service for snooze extensions.Benefits:
Screen shots:
