mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
[PM-8338] New Autofill Settings Components (#10184)
* add v2 autofill settings component * add and update entries in message catalog for new autofill settings view * add confirmation dialogs ahead of new tabs for browser settings from autofill settings * fix autofill on page load warning styling and improper concatenation * code cleanup
This commit is contained in:
@@ -61,3 +61,27 @@ export const AutofillOverlayVisibility = {
|
||||
OnButtonClick: 1,
|
||||
OnFieldFocus: 2,
|
||||
} as const;
|
||||
|
||||
export const BrowserClientVendors = {
|
||||
Chrome: "Chrome",
|
||||
Opera: "Opera",
|
||||
Edge: "Edge",
|
||||
Vivaldi: "Vivaldi",
|
||||
Unknown: "Unknown",
|
||||
} as const;
|
||||
|
||||
export const BrowserShortcutsUris = {
|
||||
Chrome: "chrome://extensions/shortcuts",
|
||||
Opera: "opera://extensions/shortcuts",
|
||||
Edge: "edge://extensions/shortcuts",
|
||||
Vivaldi: "vivaldi://extensions/shortcuts",
|
||||
Unknown: "https://bitwarden.com/help/keyboard-shortcuts",
|
||||
} as const;
|
||||
|
||||
export const DisablePasswordManagerUris = {
|
||||
Chrome: "chrome://settings/autofill",
|
||||
Opera: "opera://settings/autofill",
|
||||
Edge: "edge://settings/passwords",
|
||||
Vivaldi: "vivaldi://settings/autofill",
|
||||
Unknown: "https://bitwarden.com/help/disable-browser-autofill/",
|
||||
} as const;
|
||||
|
||||
@@ -1,7 +1,18 @@
|
||||
import { ClearClipboardDelay, AutofillOverlayVisibility } from "../constants";
|
||||
import {
|
||||
AutofillOverlayVisibility,
|
||||
BrowserClientVendors,
|
||||
BrowserShortcutsUris,
|
||||
ClearClipboardDelay,
|
||||
DisablePasswordManagerUris,
|
||||
} from "../constants";
|
||||
|
||||
export type ClearClipboardDelaySetting =
|
||||
(typeof ClearClipboardDelay)[keyof typeof ClearClipboardDelay];
|
||||
|
||||
export type InlineMenuVisibilitySetting =
|
||||
(typeof AutofillOverlayVisibility)[keyof typeof AutofillOverlayVisibility];
|
||||
|
||||
export type BrowserClientVendor = (typeof BrowserClientVendors)[keyof typeof BrowserClientVendors];
|
||||
export type BrowserShortcutsUri = (typeof BrowserShortcutsUris)[keyof typeof BrowserShortcutsUris];
|
||||
export type DisablePasswordManagerUri =
|
||||
(typeof DisablePasswordManagerUris)[keyof typeof DisablePasswordManagerUris];
|
||||
|
||||
Reference in New Issue
Block a user