1
0
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:
Mateusz Kwasniewski 2025-06-03 13:13:51 +02:00 committed by GitHub
parent 6002c5894d
commit 280c9c3f64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 13 deletions

View File

@ -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 ? (

View File

@ -87,7 +87,6 @@ export type UiFlags = {
consumptionModel?: boolean;
edgeObservability?: boolean;
addEditStrategy?: boolean;
cleanupReminder?: boolean;
registerFrontendClient?: boolean;
featureLinks?: boolean;
projectLinkTemplates?: boolean;

View File

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

View File

@ -51,7 +51,6 @@ process.nextTick(async () => {
deltaApi: true,
uniqueSdkTracking: true,
addEditStrategy: true,
cleanupReminder: true,
strictSchemaValidation: true,
registerFrontendClient: true,
featureLinks: true,