Content
View differences
Updated by Henriette Darge over 1 year ago
Copied from https://community.openproject.org/projects/design-system/work\_packages/60356/activity#activity-2
> I updated the documentation for the Danger Confirmation Dialog(now called "Danger Dialog") so that it has two variants:
>
> * Danger Confirmation
>
> * Danger Warning
>
### Acceptance criteria
**UX**
* The DangerConfirmationDialog has two variants
* Danger Confirmation requires an addition interaction from the user (i.e, checking a checkbox) in addition to a visual and text warning before they are able to confirm the action
* Danger Warning simply presents the user with a visual and text warning before they confirm the action
<br>
**Technical**
* Ideally, these are not two components, but rather some kind of flag inside the existing DangerConfirmationDialog
* Document that changes in the lookbook TBD
> I updated the documentation for the Danger Confirmation Dialog(now called "Danger Dialog") so that it has two variants:
>
> * Danger Confirmation
>
> * Danger Warning
>
### Acceptance criteria
**UX**
* The DangerConfirmationDialog has two variants
* Danger Confirmation requires an addition interaction from the user (i.e, checking a checkbox) in addition to a visual and text warning before they are able to confirm the action
* Danger Warning simply presents the user with a visual and text warning before they confirm the action
<br>
**Technical**
* Ideally, these are not two components, but rather some kind of flag inside the existing DangerConfirmationDialog
* Document that changes in the lookbook