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

feat: add info banner to admin form builder when webhooks are enabled #4551

Merged
merged 4 commits into from
Aug 18, 2022

Conversation

karrui
Copy link
Contributor

@karrui karrui commented Aug 11, 2022

Problem

Closes #3954

@wanlingt wanlingt self-requested a review August 12, 2022 08:21
Copy link
Contributor

@wanlingt wanlingt left a comment

Choose a reason for hiding this comment

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

lgtm!

@karrui karrui marked this pull request as draft August 15, 2022 08:49
@karrui
Copy link
Contributor Author

karrui commented Aug 15, 2022

will wait for #4525 to go in first before I reopen this... if not rebase hell again

@karrui karrui linked an issue Aug 16, 2022 that may be closed by this pull request
@karrui karrui force-pushed the form-v2/fix-issue-3954 branch from 0b182b8 to ea922f0 Compare August 16, 2022 02:35
Comment on lines 60 to 65
{settings?.webhook?.url ? (
<Banner showCloseButton={false}>
Webhooks are enabled on this form. Please ensure the webhook server is
able to handle any field changes.
</Banner>
) : null}
Copy link
Contributor Author

@karrui karrui Aug 16, 2022

Choose a reason for hiding this comment

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

added new box and the banner here. all other layout stayed the same

@karrui karrui marked this pull request as ready for review August 16, 2022 02:42
@wanlingt wanlingt self-requested a review August 16, 2022 03:02
Copy link
Contributor

@wanlingt wanlingt left a comment

Choose a reason for hiding this comment

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

looks good!

@karrui karrui merged commit f25601a into form-v2/develop Aug 18, 2022
@karrui karrui deleted the form-v2/fix-issue-3954 branch August 18, 2022 02:03
@justynoh justynoh mentioned this pull request Oct 5, 2022
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.

[React] Add warning when webhooks are enabled
2 participants