1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 04:03:29 +00:00

Final generic => basic.

This commit is contained in:
Miles Blackwood
2025-06-05 12:05:26 -04:00
parent 83f43fe0f5
commit def877dd42
4 changed files with 6 additions and 6 deletions

View File

@@ -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
>;

View File

@@ -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,

View File

@@ -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,

View File

@@ -3,7 +3,7 @@ const NotificationQueueMessageType = {
ChangePassword: "change",
UnlockVault: "unlock",
AtRiskPassword: "at-risk-password",
Generic: "generic",
Basic: "basic",
} as const;
type NotificationQueueMessageTypes =