1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

SM-281: Secrets Manager Trash (#4730)

* SM-281: Initial commit with trash component setup

* SM-281: Customize secrets list component, add ability to hard delete secrets

* SM-281: Add support for restoring secrets in SM

* SM-281: restoreSecret emit values as an array

* SM-281: Fix bug caused by mistake when doing merge conflict resolution

* SM-281: Clean up TrashService and move more functionality to TrashApiService

* Cleanup responses

* Merge TrashService and SecretService

* Remove tw-text-sm from dialogs

* Split delete into two components

* Change secrets table to have a single boolean for trash

* SM-281: Rename component to secret-hard-delete

* Remove unused organizationId

* Remove duplicate buttons

---------

Co-authored-by: Hinton <hinton@users.noreply.github.com>
This commit is contained in:
Colton Hurst
2023-02-21 10:03:37 -05:00
committed by GitHub
parent 208be8dfbf
commit d11f03cb78
16 changed files with 356 additions and 26 deletions

View File

@@ -5734,6 +5734,12 @@
"deleteSecrets":{
"message": "Delete secrets"
},
"hardDeleteSecret":{
"message": "Permanently delete secret"
},
"hardDeleteSecrets":{
"message": "Permanently delete secrets"
},
"secretProjectAssociationDescription" :{
"message": "Select projects that the secret will be associated with. Only organization users with access to these projects will be able to see the secret."
},
@@ -5788,6 +5794,9 @@
"secretsNoItemsMessage":{
"message": "To get started, add a new secret or import secrets."
},
"secretsTrashNoItemsMessage":{
"message": "There are no secrets in the trash."
},
"serviceAccountsNoItemsTitle":{
"message":"Nothing to show yet"
},
@@ -5833,6 +5842,15 @@
"softDeletesSuccessToast":{
"message":"Secrets sent to trash"
},
"hardDeleteSecretConfirmation": {
"message": "Are you sure you want to permanently delete this secret?"
},
"hardDeleteSecretsConfirmation": {
"message": "Are you sure you want to permanently delete these secrets?"
},
"hardDeletesSuccessToast":{
"message":"Secrets permanently deleted"
},
"serviceAccountCreated":{
"message":"Service account created"
},
@@ -5911,6 +5929,9 @@
"softDeleteSuccessToast":{
"message":"Secret sent to trash"
},
"hardDeleteSuccessToast":{
"message":"Secret permanently deleted"
},
"searchProjects":{
"message":"Search projects"
},
@@ -6399,6 +6420,24 @@
"errorReadingImportFile": {
"message": "An error occurred when trying to read the import file"
},
"restoreSecret": {
"message": "Restore secret"
},
"restoreSecrets": {
"message": "Restore secrets"
},
"restoreSecretPrompt": {
"message": "Are you sure you want to restore this secret?"
},
"restoreSecretsPrompt": {
"message": "Are you sure you want to restore these secrets?"
},
"secretRestoredSuccessToast": {
"message": "Secret restored"
},
"secretsRestoredSuccessToast": {
"message": "Secrets restored"
},
"selectionIsRequired": {
"message": "Selection is required."
}