From a4db5279b776e34fe1f65d44beae3cf79938d40b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 16 Dec 2024 16:10:32 -0500 Subject: [PATCH] [PM-16097] Separate copy buttons appearance setting (#12428) --------- Co-authored-by: William Martin --- apps/browser/src/_locales/en/messages.json | 3 + .../item-copy-actions.component.html | 162 ++++++++++++------ .../item-copy-actions.component.ts | 6 +- .../vault-popup-copy-buttons.service.ts | 39 +++++ .../settings/appearance-v2.component.html | 5 + .../settings/appearance-v2.component.spec.ts | 11 ++ .../popup/settings/appearance-v2.component.ts | 17 ++ .../src/platform/state/state-definitions.ts | 1 + 8 files changed, 194 insertions(+), 50 deletions(-) create mode 100644 apps/browser/src/vault/popup/services/vault-popup-copy-buttons.service.ts diff --git a/apps/browser/src/_locales/en/messages.json b/apps/browser/src/_locales/en/messages.json index f4a498f3e0..8eb2aecaf6 100644 --- a/apps/browser/src/_locales/en/messages.json +++ b/apps/browser/src/_locales/en/messages.json @@ -4679,6 +4679,9 @@ "showNumberOfAutofillSuggestions": { "message": "Show number of login autofill suggestions on extension icon" }, + "showQuickCopyActions": { + "message": "Show quick copy actions on Vault" + }, "systemDefault": { "message": "System default" }, diff --git a/apps/browser/src/vault/popup/components/vault-v2/item-copy-action/item-copy-actions.component.html b/apps/browser/src/vault/popup/components/vault-v2/item-copy-action/item-copy-actions.component.html index 973b1f9f1a..fbfebe8eff 100644 --- a/apps/browser/src/vault/popup/components/vault-v2/item-copy-action/item-copy-actions.component.html +++ b/apps/browser/src/vault/popup/components/vault-v2/item-copy-action/item-copy-actions.component.html @@ -1,53 +1,117 @@ - - - - - - - - + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +