mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-26 13:48:33 +02:00
chore: remove flag cleanup reminder (#10074)
This commit is contained in:
parent
6002c5894d
commit
280c9c3f64
@ -11,7 +11,6 @@ import { styled } from '@mui/material';
|
||||
import { FeatureStrategyCreate } from 'component/feature/FeatureStrategy/FeatureStrategyCreate/FeatureStrategyCreate';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { useLastViewedFlags } from 'hooks/useLastViewedFlags';
|
||||
import { useUiFlag } from 'hooks/useUiFlag';
|
||||
import { FeatureOverviewEnvironments } from './FeatureOverviewEnvironments/FeatureOverviewEnvironments.tsx';
|
||||
import { useEnvironmentVisibility } from './FeatureOverviewMetaData/EnvironmentVisibilityMenu/hooks/useEnvironmentVisibility.ts';
|
||||
import useSplashApi from 'hooks/api/actions/useSplashApi/useSplashApi';
|
||||
@ -57,7 +56,6 @@ export const FeatureOverview = () => {
|
||||
projectId,
|
||||
featureId,
|
||||
);
|
||||
const cleanupReminderEnabled = useUiFlag('cleanupReminder');
|
||||
const dragTooltipSplashId = 'strategy-drag-tooltip';
|
||||
const shouldShowStrategyDragTooltip = !splash?.[dragTooltipSplashId];
|
||||
const toggleShowTooltip = (envIsOpen: boolean) => {
|
||||
@ -72,9 +70,7 @@ export const FeatureOverview = () => {
|
||||
|
||||
return (
|
||||
<div>
|
||||
{cleanupReminderEnabled ? (
|
||||
<CleanupReminder feature={feature} onChange={refetchFeature} />
|
||||
) : null}
|
||||
<CleanupReminder feature={feature} onChange={refetchFeature} />
|
||||
<StyledContainer>
|
||||
<div>
|
||||
{!loading ? (
|
||||
|
@ -87,7 +87,6 @@ export type UiFlags = {
|
||||
consumptionModel?: boolean;
|
||||
edgeObservability?: boolean;
|
||||
addEditStrategy?: boolean;
|
||||
cleanupReminder?: boolean;
|
||||
registerFrontendClient?: boolean;
|
||||
featureLinks?: boolean;
|
||||
projectLinkTemplates?: boolean;
|
||||
|
@ -57,7 +57,6 @@ export type IFlagKey =
|
||||
| 'consumptionModel'
|
||||
| 'edgeObservability'
|
||||
| 'addEditStrategy'
|
||||
| 'cleanupReminder'
|
||||
| 'removeInactiveApplications'
|
||||
| 'registerFrontendClient'
|
||||
| 'featureLinks'
|
||||
@ -276,11 +275,6 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_ADD_EDIT_STRATEGY,
|
||||
false,
|
||||
),
|
||||
|
||||
cleanupReminder: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_CLEANUP_REMINDER,
|
||||
false,
|
||||
),
|
||||
removeInactiveApplications: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_REMOVE_INACTIVE_APPLICATIONS,
|
||||
false,
|
||||
|
@ -51,7 +51,6 @@ process.nextTick(async () => {
|
||||
deltaApi: true,
|
||||
uniqueSdkTracking: true,
|
||||
addEditStrategy: true,
|
||||
cleanupReminder: true,
|
||||
strictSchemaValidation: true,
|
||||
registerFrontendClient: true,
|
||||
featureLinks: true,
|
||||
|
Loading…
Reference in New Issue
Block a user