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

New webhook modal design. #2756

Merged
merged 2 commits into from
Jul 18, 2024
Merged

New webhook modal design. #2756

merged 2 commits into from
Jul 18, 2024

Conversation

romain-growthbook
Copy link
Contributor

This PR implements the new UI/UX for webhook create/edit modal as outlined at: https://www.figma.com/design/lJ5VnBNTwIP4VGgeBEU2bM/Experiment-Notifications?node-id=60-9869&t=AxMWenhwBLswO95Y-0

The only part that is left is the new modal to test the webhood before saving.

Screenshots

Raw webhook

Screenshot 2024-07-17 at 10 24 32 AM

Payload type selection

Screenshot 2024-07-17 at 10 24 36 AM

Discord webhook

Screenshot 2024-07-17 at 10 24 42 AM

Select all behavior

The checkbox is disabled when no selection has been made:

Screenshot 2024-07-17 at 10 24 57 AM

It becomes enabled again when a selection is made:

Screenshot 2024-07-17 at 10 28 00 AM

Upon checking the box, all selections are discarded and we are back at the first screenshot.

Copy link

Your preview environment pr-2756-bttf has been deployed.

Preview environment endpoints are available at:

Comment on lines -134 to -137
case "ms-teams":
// TODO: not implemented
return eventPayload;

Copy link
Collaborator

Choose a reason for hiding this comment

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

@romain-growthbook Can you share the details of the ms-teams integration - were we planning to eventually build it out, but now we'll just support it via the raw type?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is none at the moment. I think that I added this to be fancy back when. We could probably add one similar to slack and discord if they provide the same webhook workflow..

Copy link
Collaborator

@mknowlton89 mknowlton89 left a comment

Choose a reason for hiding this comment

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

Pulled it down to test locally and everything looks great.

@romain-growthbook
Copy link
Contributor Author

Pulled it down to test locally and everything looks great.

Great!

@romain-growthbook romain-growthbook merged commit d70deb1 into main Jul 18, 2024
3 checks passed
@romain-growthbook romain-growthbook deleted the romain/webhook-creation branch July 18, 2024 14:53
lukebrawleysmith pushed a commit that referenced this pull request Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants