Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: add slack user groups to on call notifications #2932

Merged
merged 19 commits into from
May 1, 2023

Conversation

Forfold
Copy link
Contributor

@Forfold Forfold commented Apr 11, 2023

Description:
This PR introduces the ability to create an on-call notification rule that simultaneously keeps a slack user group in sync with the list of GoAlert on-call users

Which issue(s) this PR fixes:
Part of #1228
EDIT: not marking as closed until feature flag is removed

Screenshots:
Screenshot 2023-04-11 at 3 29 13 PM

Screenshot 2023-04-11 at 3 29 18 PM

Screenshot 2023-04-11 at 3 29 07 PM

@Forfold
Copy link
Contributor Author

Forfold commented Apr 11, 2023

Currently includes changes from #2926. Let's get that merged first.

@github-actions github-actions bot added size/xl and removed size/l labels Apr 12, 2023
Forfold and others added 2 commits April 20, 2023 08:51
Co-authored-by: Alaric Whitney <[email protected]>
Co-authored-by: Alaric Whitney <[email protected]>
AlaricWhitney
AlaricWhitney previously approved these changes Apr 20, 2023
Copy link
Collaborator

@AlaricWhitney AlaricWhitney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mastercactapus
Copy link
Member

mastercactapus commented Apr 20, 2023

Switching this to be a draft while blocked, #2926 has the API changes that need to be merged first.

@mastercactapus mastercactapus marked this pull request as draft April 20, 2023 20:19
@mastercactapus mastercactapus marked this pull request as ready for review April 26, 2023 21:38
Copy link
Member

@mastercactapus mastercactapus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still visible without the feature flag set, let's add a guard around that. EP step UI has an example of how to do this for webhooks.

Also, couple of layout questions:

  • Should we move the input fields below the notification option? I feel the input should follow the context. Also, we may be adding webhook support here soon, so it will help prepare for more noise.
  • Can we put a checkbox in for the user group and conditionally show the input field? I think that might reduce noise in the form while still keeping it clear how to opt-in to the new feature.

@mastercactapus mastercactapus merged commit a20e979 into master May 1, 2023
@mastercactapus mastercactapus deleted the slack-sched-rules branch May 1, 2023 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants