From 535fa3e39a54495afa983e533130d1da03fdd447 Mon Sep 17 00:00:00 2001 From: Martijn <91195020+tw-martijn@users.noreply.github.com> Date: Wed, 9 Apr 2025 09:33:28 +0200 Subject: [PATCH] Update _index.md.erb Expand on the options for infobox --- .../includes/partners/webhook_config/_index.md.erb | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/source/includes/partners/webhook_config/_index.md.erb b/source/includes/partners/webhook_config/_index.md.erb index da58398..2c79711 100644 --- a/source/includes/partners/webhook_config/_index.md.erb +++ b/source/includes/partners/webhook_config/_index.md.erb @@ -130,7 +130,7 @@ When using the `file` type, we upload the files to a private folder on S3, and s This URL is valid for 24 hours, so make sure to download the file when the webhook is sent to you. #### Infobox -Renders a box with the icon of following types: 'info', 'error', 'warning', 'success', 'default' +Renders a box with styling based on one of the following types: 'info', 'error', 'warning', 'success', 'default' ```json { @@ -140,6 +140,18 @@ Renders a box with the icon of following types: 'info', 'error', 'warning', 'suc } ``` +By providing an attribute `required` it is possible to block a trigger from being configured: + + +```json +{ + "type": "infobox", + "content": "Trigger cannot be configured at this time", + "icon": "error", + "required": true +} +``` + ### Assessment Criteria Object Attribute | Type | Description