-
Notifications
You must be signed in to change notification settings - Fork 525
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
Conversation
Your preview environment pr-2756-bttf has been deployed. Preview environment endpoints are available at: |
case "ms-teams": | ||
// TODO: not implemented | ||
return eventPayload; | ||
|
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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..
There was a problem hiding this 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.
Great! |
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
Payload type selection
Discord webhook
Select all behavior
The checkbox is disabled when no selection has been made:
It becomes enabled again when a selection is made:
Upon checking the box, all selections are discarded and we are back at the first screenshot.