CleverCloud / clever-components

Collection of Web Components by Clever Cloud
https://www.clever-cloud.com/doc/clever-components/
Apache License 2.0
215 stars 19 forks source link

cc-addon-admin: adapt danger zone texts to different contexts #1018

Closed florian-sanders-cc closed 2 months ago

florian-sanders-cc commented 2 months ago

Context

The "Danger zone" section of the cc-addon-admin component contains generic text that is not always relevant depending on cases. For instance, there are no backups for a Configuration provider addon so the sentence "Backups will be kept according to the retention policy." is irrelevant.

We need a new prop to toggle between two texts for this zone.