[CORL-965] Experimental Notice on Webhooks (#2880)

* fix: added experimental callout message to webhooks

* fix: copy/design review
This commit is contained in:
Wyatt Johnson
2020-03-12 17:03:27 +00:00
committed by GitHub
parent 2057b750f3
commit 2b2ff7b9c4
8 changed files with 216 additions and 6 deletions
@@ -5,6 +5,42 @@ exports[`displays a list of webhook endpoints that have been configured 1`] = `
className="Box-root HorizontalGutter-root HorizontalGutter-double"
data-testid="webhooks-container"
>
<div
className="CallOut-root CallOut-colorPrimary CallOut-fullWidth"
>
<div
className="CallOut-inner"
>
<div
className="Box-root Flex-root Flex-flex"
>
<i
aria-hidden="true"
className="Icon-root Icon-md ExperimentalCallOut-icon"
>
new_releases
</i>
<span
className="ExperimentalCallOut-title"
>
Experimental Feature
</span>
</div>
<span>
The webhook feature is currently in active development. Events may be
added or removed. Please
<a
className="ExternalLink-root"
href="https://coralproject.net/contact/"
rel="noopener noreferrer"
target="_blank"
>
contact us with any feedback or requests
</a>
.
</span>
</div>
</div>
<div
className="Box-root ConfigBox-root"
>
@@ -35,7 +71,7 @@ Coral. These events will be JSON encoded and signed. To learn more
about webhook signing, visit our
<a
className="ExternalLink-root"
href="https://docs.coralproject.net/coral/v5/integrating/webhooks/"
href="https://github.com/coralproject/talk/blob/master/WEBHOOKS.md"
rel="noopener noreferrer"
target="_blank"
>
@@ -206,6 +242,42 @@ exports[`goes to add new webhook endpoint when clicking add 1`] = `
className="Box-root HorizontalGutter-root HorizontalGutter-double"
data-testid="webhooks-container"
>
<div
className="CallOut-root CallOut-colorPrimary CallOut-fullWidth"
>
<div
className="CallOut-inner"
>
<div
className="Box-root Flex-root Flex-flex"
>
<i
aria-hidden="true"
className="Icon-root Icon-md ExperimentalCallOut-icon"
>
new_releases
</i>
<span
className="ExperimentalCallOut-title"
>
Experimental Feature
</span>
</div>
<span>
The webhook feature is currently in active development. Events may be
added or removed. Please
<a
className="ExternalLink-root"
href="https://coralproject.net/contact/"
rel="noopener noreferrer"
target="_blank"
>
contact us with any feedback or requests
</a>
.
</span>
</div>
</div>
<div
className="Box-root ConfigBox-root"
>
@@ -236,7 +308,7 @@ Coral. These events will be JSON encoded and signed. To learn more
about webhook signing, visit our
<a
className="ExternalLink-root"
href="https://docs.coralproject.net/coral/v5/integrating/webhooks/"
href="https://github.com/coralproject/talk/blob/master/WEBHOOKS.md"
rel="noopener noreferrer"
target="_blank"
>
@@ -291,6 +363,42 @@ exports[`goes to the webhook endpoint configuration page when selected 1`] = `
className="Box-root HorizontalGutter-root HorizontalGutter-double"
data-testid="webhooks-container"
>
<div
className="CallOut-root CallOut-colorPrimary CallOut-fullWidth"
>
<div
className="CallOut-inner"
>
<div
className="Box-root Flex-root Flex-flex"
>
<i
aria-hidden="true"
className="Icon-root Icon-md ExperimentalCallOut-icon"
>
new_releases
</i>
<span
className="ExperimentalCallOut-title"
>
Experimental Feature
</span>
</div>
<span>
The webhook feature is currently in active development. Events may be
added or removed. Please
<a
className="ExternalLink-root"
href="https://coralproject.net/contact/"
rel="noopener noreferrer"
target="_blank"
>
contact us with any feedback or requests
</a>
.
</span>
</div>
</div>
<div
className="Box-root ConfigBox-root"
>
@@ -321,7 +429,7 @@ Coral. These events will be JSON encoded and signed. To learn more
about webhook signing, visit our
<a
className="ExternalLink-root"
href="https://docs.coralproject.net/coral/v5/integrating/webhooks/"
href="https://github.com/coralproject/talk/blob/master/WEBHOOKS.md"
rel="noopener noreferrer"
target="_blank"
>
@@ -444,6 +552,42 @@ exports[`renders webhooks 1`] = `
className="Box-root HorizontalGutter-root HorizontalGutter-double"
data-testid="webhooks-container"
>
<div
className="CallOut-root CallOut-colorPrimary CallOut-fullWidth"
>
<div
className="CallOut-inner"
>
<div
className="Box-root Flex-root Flex-flex"
>
<i
aria-hidden="true"
className="Icon-root Icon-md ExperimentalCallOut-icon"
>
new_releases
</i>
<span
className="ExperimentalCallOut-title"
>
Experimental Feature
</span>
</div>
<span>
The webhook feature is currently in active development. Events may be
added or removed. Please
<a
className="ExternalLink-root"
href="https://coralproject.net/contact/"
rel="noopener noreferrer"
target="_blank"
>
contact us with any feedback or requests
</a>
.
</span>
</div>
</div>
<div
className="Box-root ConfigBox-root"
>
@@ -474,7 +618,7 @@ Coral. These events will be JSON encoded and signed. To learn more
about webhook signing, visit our
<a
className="ExternalLink-root"
href="https://docs.coralproject.net/coral/v5/integrating/webhooks/"
href="https://github.com/coralproject/talk/blob/master/WEBHOOKS.md"
rel="noopener noreferrer"
target="_blank"
>