mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
[PM-10079] Add keyboard shortcut to autofill identity and credit cards (#10254)
* [BEEEP] Autofill Identity and Card Ciphers From Keyboard Shortcut * [PM-10079] Add keyboard shortcut to autofill identity and credit card ciphers * [PM-10079] Fixing jest tests * [PM-10079] Added an enum for the autofill commands, and adjusted how we filter out cipher types before sorting them by last used when calling for ID and card ciphers * [PM-10079] Updating copywriting for the autofill settings revolving around keyboard shortcuts * [PM-10079] Setting a method within CipherService as private
This commit is contained in:
@@ -85,3 +85,17 @@ export const DisablePasswordManagerUris = {
|
||||
Vivaldi: "vivaldi://settings/autofill",
|
||||
Unknown: "https://bitwarden.com/help/disable-browser-autofill/",
|
||||
} as const;
|
||||
|
||||
export const ExtensionCommand = {
|
||||
AutofillCommand: "autofill_cmd",
|
||||
AutofillCard: "autofill_card",
|
||||
AutofillIdentity: "autofill_identity",
|
||||
AutofillLogin: "autofill_login",
|
||||
OpenAutofillOverlay: "open_autofill_overlay",
|
||||
GeneratePassword: "generate_password",
|
||||
OpenPopup: "open_popup",
|
||||
LockVault: "lock_vault",
|
||||
NoopCommand: "noop",
|
||||
} as const;
|
||||
|
||||
export type ExtensionCommandType = (typeof ExtensionCommand)[keyof typeof ExtensionCommand];
|
||||
|
||||
Reference in New Issue
Block a user