1
0
mirror of https://github.com/bitwarden/web synced 2026-01-07 02:53:15 +00:00

[feature] Refine content of the organization delete request confirmation warning (#1508)

This commit updates the organization delete request confirmation warning based on new copy from the product team.

Changes are as follows:
* Add a load toggle to the organization delete modal, as we now have data to collect.
* Adjust how the families for enterprise error state for invalid sponserships connects with the organization delete component. Previously it just sent in a localization key to use for the description, but this commit adds a union type for identifying different delete flows and moves the FOE description localization key into the template with a condition.
* Move the callout on the organization delete component to above the description text.
* Adjust content of the typical organization delete request description based on copy from the product team.
  * This includes a list of item types in use by the organization that will be deleted and the amount of each type that exist in the organization.
This commit is contained in:
Addison Beck
2022-03-04 09:03:48 -05:00
committed by GitHub
parent 8242989b9d
commit e103ddf02f
4 changed files with 146 additions and 11 deletions

View File

@@ -300,6 +300,18 @@
"typeSecureNote": {
"message": "Secure Note"
},
"typeLoginPlural": {
"message": "Logins"
},
"typeCardPlural": {
"message": "Cards"
},
"typeIdentityPlural": {
"message": "Identities"
},
"typeSecureNotePlural": {
"message": "Secure Notes"
},
"folders": {
"message": "Folders"
},
@@ -2782,11 +2794,26 @@
"deleteOrganization": {
"message": "Delete Organization"
},
"deleteOrganizationDesc": {
"message": "Proceed below to delete this organization and all associated data. Individual user accounts will remain, though they will not be associated to this organization anymore. "
"deletingOrganizationContentWarning": {
"message": "Enter the master password to confirm deletion of $ORGANIZATION$ and all associated data. Vault data in $ORGANIZATION$ includes:",
"placeholders": {
"organization": {
"content": "$1",
"example": "My Org Name"
}
}
},
"deleteOrganizationWarning": {
"message": "Deleting the organization is permanent. It cannot be undone."
"deletingOrganizationActiveUserAccountsWarning": {
"message": "User accounts will remain active after deletion but will no longer be associated to this organization."
},
"deletingOrganizationIsPermanentWarning": {
"message": "Deleting $ORGANIZATION$ is permanent and irreversible.",
"placeholders": {
"organization": {
"content": "$1",
"example": "My Org Name"
}
}
},
"organizationDeleted": {
"message": "Organization Deleted"