Skip to content

[DxcButton] "danger" mode #1746

@AlanPadi95

Description

@AlanPadi95

Is your feature request related to a problem? Please describe.
I think we need a clear way to show a button with an action that could be dangerous to execute, for example, when you have a button that will remove something permanently from your database.

Describe the solution you'd like
The solution I have thought of is to create a new mode named danger or something like that with the lowest preference in the list of modes that will show the button on a red background.

Describe alternatives you've considered
N/A

Additional context
An example use case:
image

Add Labels
SaaSOps Automation, CSAM Applications, DxcButton.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestnon-closableThis task is exempt from becoming stale or automatically closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions