From b5480c6bedc29005fec6ec7b0fd7a0ec5264c109 Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Wed, 22 Jan 2025 17:55:41 +0100 Subject: [PATCH 1/2] Update critical banner dismiss section Update critical banner dismiss section --- content/components/banner.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/components/banner.mdx b/content/components/banner.mdx index 2dcbbae50..163305b61 100644 --- a/content/components/banner.mdx +++ b/content/components/banner.mdx @@ -200,7 +200,7 @@ Use the following as a guideline: >
- Critical banners can't be dismissable. They are mostly used for errors which need to be resolved. As a result you can only get rid of a critical banner by resolving the error. If used to warn about destructive actions, the banner should also not be dismissable. + You should try to avoid dismissable critical banners. They are mostly used for errors which need to be resolved. As a result, the user resolving the error to get rid of the critical banner. If used to warn about destructive actions, the banner should also not be dismissable. If the error must be resolved on a different page, use an action that directs the user to the page where the error can be resolved. From a3d54951a12db42722bbd00967a262e29617bd71 Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Thu, 23 Jan 2025 08:55:13 +0100 Subject: [PATCH 2/2] Update content/components/banner.mdx Co-authored-by: Josh Black --- content/components/banner.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/components/banner.mdx b/content/components/banner.mdx index 163305b61..d9be444dc 100644 --- a/content/components/banner.mdx +++ b/content/components/banner.mdx @@ -200,7 +200,7 @@ Use the following as a guideline: >
- You should try to avoid dismissable critical banners. They are mostly used for errors which need to be resolved. As a result, the user resolving the error to get rid of the critical banner. If used to warn about destructive actions, the banner should also not be dismissable. + Critical banners communicate an error which the user must resolve in order for the banner to disappear. In certain cases, the banner may be dismissible when notifying the user of a failed action. If used to warn about destructive actions, the banner should also not be dismissible. If the error must be resolved on a different page, use an action that directs the user to the page where the error can be resolved.