mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
Group tools-owned feature flags (#13239)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4be290837a
commit
2c367444ff
@@ -24,8 +24,12 @@ export enum FeatureFlag {
|
|||||||
NotificationRefresh = "notification-refresh",
|
NotificationRefresh = "notification-refresh",
|
||||||
UseTreeWalkerApiForPageDetailsCollection = "use-tree-walker-api-for-page-details-collection",
|
UseTreeWalkerApiForPageDetailsCollection = "use-tree-walker-api-for-page-details-collection",
|
||||||
|
|
||||||
|
/* Tools */
|
||||||
ItemShare = "item-share",
|
ItemShare = "item-share",
|
||||||
GeneratorToolsModernization = "generator-tools-modernization",
|
GeneratorToolsModernization = "generator-tools-modernization",
|
||||||
|
CriticalApps = "pm-14466-risk-insights-critical-application",
|
||||||
|
EnableRiskInsightsNotifications = "enable-risk-insights-notifications",
|
||||||
|
|
||||||
AC1795_UpdatedSubscriptionStatusSection = "AC-1795_updated-subscription-status-section",
|
AC1795_UpdatedSubscriptionStatusSection = "AC-1795_updated-subscription-status-section",
|
||||||
ExtensionRefresh = "extension-refresh",
|
ExtensionRefresh = "extension-refresh",
|
||||||
PersistPopupView = "persist-popup-view",
|
PersistPopupView = "persist-popup-view",
|
||||||
@@ -37,7 +41,6 @@ export enum FeatureFlag {
|
|||||||
SSHAgent = "ssh-agent",
|
SSHAgent = "ssh-agent",
|
||||||
CipherKeyEncryption = "cipher-key-encryption",
|
CipherKeyEncryption = "cipher-key-encryption",
|
||||||
PM11901_RefactorSelfHostingLicenseUploader = "PM-11901-refactor-self-hosting-license-uploader",
|
PM11901_RefactorSelfHostingLicenseUploader = "PM-11901-refactor-self-hosting-license-uploader",
|
||||||
CriticalApps = "pm-14466-risk-insights-critical-application",
|
|
||||||
TrialPaymentOptional = "PM-8163-trial-payment",
|
TrialPaymentOptional = "PM-8163-trial-payment",
|
||||||
SecurityTasks = "security-tasks",
|
SecurityTasks = "security-tasks",
|
||||||
NewDeviceVerificationTemporaryDismiss = "new-device-temporary-dismiss",
|
NewDeviceVerificationTemporaryDismiss = "new-device-temporary-dismiss",
|
||||||
@@ -48,7 +51,6 @@ export enum FeatureFlag {
|
|||||||
PrivateKeyRegeneration = "pm-12241-private-key-regeneration",
|
PrivateKeyRegeneration = "pm-12241-private-key-regeneration",
|
||||||
ResellerManagedOrgAlert = "PM-15814-alert-owners-of-reseller-managed-orgs",
|
ResellerManagedOrgAlert = "PM-15814-alert-owners-of-reseller-managed-orgs",
|
||||||
NewDeviceVerification = "new-device-verification",
|
NewDeviceVerification = "new-device-verification",
|
||||||
EnableRiskInsightsNotifications = "enable-risk-insights-notifications",
|
|
||||||
PM15179_AddExistingOrgsFromProviderPortal = "PM-15179-add-existing-orgs-from-provider-portal",
|
PM15179_AddExistingOrgsFromProviderPortal = "PM-15179-add-existing-orgs-from-provider-portal",
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -84,8 +86,12 @@ export const DefaultFeatureFlagValue = {
|
|||||||
[FeatureFlag.NotificationRefresh]: FALSE,
|
[FeatureFlag.NotificationRefresh]: FALSE,
|
||||||
[FeatureFlag.UseTreeWalkerApiForPageDetailsCollection]: FALSE,
|
[FeatureFlag.UseTreeWalkerApiForPageDetailsCollection]: FALSE,
|
||||||
|
|
||||||
|
/* Tools */
|
||||||
[FeatureFlag.ItemShare]: FALSE,
|
[FeatureFlag.ItemShare]: FALSE,
|
||||||
[FeatureFlag.GeneratorToolsModernization]: FALSE,
|
[FeatureFlag.GeneratorToolsModernization]: FALSE,
|
||||||
|
[FeatureFlag.CriticalApps]: FALSE,
|
||||||
|
[FeatureFlag.EnableRiskInsightsNotifications]: FALSE,
|
||||||
|
|
||||||
[FeatureFlag.AC1795_UpdatedSubscriptionStatusSection]: FALSE,
|
[FeatureFlag.AC1795_UpdatedSubscriptionStatusSection]: FALSE,
|
||||||
[FeatureFlag.ExtensionRefresh]: FALSE,
|
[FeatureFlag.ExtensionRefresh]: FALSE,
|
||||||
[FeatureFlag.PersistPopupView]: FALSE,
|
[FeatureFlag.PersistPopupView]: FALSE,
|
||||||
@@ -97,7 +103,6 @@ export const DefaultFeatureFlagValue = {
|
|||||||
[FeatureFlag.SSHAgent]: FALSE,
|
[FeatureFlag.SSHAgent]: FALSE,
|
||||||
[FeatureFlag.CipherKeyEncryption]: FALSE,
|
[FeatureFlag.CipherKeyEncryption]: FALSE,
|
||||||
[FeatureFlag.PM11901_RefactorSelfHostingLicenseUploader]: FALSE,
|
[FeatureFlag.PM11901_RefactorSelfHostingLicenseUploader]: FALSE,
|
||||||
[FeatureFlag.CriticalApps]: FALSE,
|
|
||||||
[FeatureFlag.TrialPaymentOptional]: FALSE,
|
[FeatureFlag.TrialPaymentOptional]: FALSE,
|
||||||
[FeatureFlag.SecurityTasks]: FALSE,
|
[FeatureFlag.SecurityTasks]: FALSE,
|
||||||
[FeatureFlag.NewDeviceVerificationTemporaryDismiss]: FALSE,
|
[FeatureFlag.NewDeviceVerificationTemporaryDismiss]: FALSE,
|
||||||
@@ -108,7 +113,6 @@ export const DefaultFeatureFlagValue = {
|
|||||||
[FeatureFlag.PrivateKeyRegeneration]: FALSE,
|
[FeatureFlag.PrivateKeyRegeneration]: FALSE,
|
||||||
[FeatureFlag.ResellerManagedOrgAlert]: FALSE,
|
[FeatureFlag.ResellerManagedOrgAlert]: FALSE,
|
||||||
[FeatureFlag.NewDeviceVerification]: FALSE,
|
[FeatureFlag.NewDeviceVerification]: FALSE,
|
||||||
[FeatureFlag.EnableRiskInsightsNotifications]: FALSE,
|
|
||||||
[FeatureFlag.PM15179_AddExistingOrgsFromProviderPortal]: FALSE,
|
[FeatureFlag.PM15179_AddExistingOrgsFromProviderPortal]: FALSE,
|
||||||
} satisfies Record<FeatureFlag, AllowedFeatureFlagTypes>;
|
} satisfies Record<FeatureFlag, AllowedFeatureFlagTypes>;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user