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

Webhooks 2 Release #1830

Merged
merged 15 commits into from
Jul 13, 2023
Merged

Webhooks 2 Release #1830

merged 15 commits into from
Jul 13, 2023

Conversation

mderynck
Copy link
Contributor

@mderynck mderynck commented Apr 26, 2023

  • Enables new webhooks functionality.
  • Database migration will automatically convert existing webhooks to new ones. Note: Converted webhooks are considered "legacy" they will continue to work as part of your escalation chain but will no longer be editable. To make changes use the Make a copy action and edit that one, after you can delete your legacy webhook. Remember to connect your escalation chain with your newly copied webhook!

@mderynck mderynck added pr:no changelog pr:no public docs Added to a PR that does not require public documentation updates labels Apr 26, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2023

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the Stale label Jun 7, 2023
@Matvey-Kuk Matvey-Kuk removed the Stale label Jun 13, 2023
@mderynck mderynck marked this pull request as ready for review July 12, 2023 01:29
@mderynck mderynck requested a review from a team July 12, 2023 01:29
@mderynck mderynck requested a review from a team July 12, 2023 20:17
@mderynck mderynck changed the title Webhooks 2 UI display on feature flag Webhooks 2 Release Jul 12, 2023
Copy link
Contributor

@joeyorlando joeyorlando left a comment

Choose a reason for hiding this comment

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

LGTM 👍 frontend changes seem fine as well but may be worthwhile getting a 2nd 👍 from someone on @grafana/grafana-oncall-frontend.

You might want to checkout this frontend function, it makes a reference to outgoing_webhooks vs outgoing_webhooks_2. Seems related w/ determining which filters to fetch from the backend to render.

@@ -2,7 +2,6 @@ export const getApiPathByPage = (page: string) => {
return (
{
outgoing_webhooks: 'custom_buttons',
outgoing_webhooks_2: 'webhooks',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Turns out we don't pass outgoing_webhooks_2 into this and rely on the fallback, webhooks is being passed in and returned.

@mderynck mderynck merged commit 961a9e5 into dev Jul 13, 2023
@mderynck mderynck deleted the mderynck/webhooks-2-ui-unification branch July 13, 2023 19:53
brojd pushed a commit that referenced this pull request Sep 18, 2024
- Enables new webhooks functionality.
- Database migration will automatically convert existing webhooks to new
ones. Note: Converted webhooks are considered "legacy" they will
continue to work as part of your escalation chain but will no longer be
editable. To make changes use the `Make a copy` action and edit that
one, after you can delete your legacy webhook. Remember to connect your
escalation chain with your newly copied webhook!

---------

Co-authored-by: Maxim <maxim.mordasov@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants