mirror of
https://github.com/bitwarden/browser
synced 2026-02-07 04:03:29 +00:00
Final generic => basic.
This commit is contained in:
@@ -13,7 +13,7 @@ const StandardNotificationType = {
|
||||
ChangePassword: "change",
|
||||
UnlockVault: "unlock",
|
||||
AtRiskPassword: "at-risk-password",
|
||||
Generic: "generic",
|
||||
Basic: "basic",
|
||||
} as const;
|
||||
|
||||
type StandardNotificationTypes =
|
||||
@@ -66,7 +66,7 @@ export type BasicNotificationData = {
|
||||
};
|
||||
|
||||
export type BasicNotificationQueueMessage = TempNotificationQueueMessage<
|
||||
typeof StandardNotificationType.Generic,
|
||||
typeof StandardNotificationType.Basic,
|
||||
BasicNotificationData
|
||||
>;
|
||||
|
||||
|
||||
@@ -394,7 +394,7 @@ export default class NotificationBackground {
|
||||
}
|
||||
|
||||
/**
|
||||
* Open the generic notification
|
||||
* Open the basic notification
|
||||
*
|
||||
* @param message NotificationBackgroundExtensionMessage
|
||||
* @param sender chrome.runtime.MessageSender
|
||||
@@ -410,7 +410,7 @@ export default class NotificationBackground {
|
||||
|
||||
const queueMessage: BasicNotificationQueueMessage = {
|
||||
domain: Utils.getDomain(sender.tab.url),
|
||||
type: StandardNotificationType.Generic,
|
||||
type: StandardNotificationType.Basic,
|
||||
tab: sender.tab,
|
||||
launchTimestamp,
|
||||
wasVaultLocked,
|
||||
|
||||
@@ -21,7 +21,7 @@ export default {
|
||||
theme: { control: "select", options: [...Object.values(ThemeTypes)] },
|
||||
},
|
||||
args: {
|
||||
title: "Generic Alert",
|
||||
title: "Basic Notification",
|
||||
message: "Notifications are happening, more or less constantly.",
|
||||
footer: ExampleComponent({ message: "Plain" }),
|
||||
theme: ThemeTypes.Light,
|
||||
|
||||
@@ -3,7 +3,7 @@ const NotificationQueueMessageType = {
|
||||
ChangePassword: "change",
|
||||
UnlockVault: "unlock",
|
||||
AtRiskPassword: "at-risk-password",
|
||||
Generic: "generic",
|
||||
Basic: "basic",
|
||||
} as const;
|
||||
|
||||
type NotificationQueueMessageTypes =
|
||||
|
||||
Reference in New Issue
Block a user