mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-13 11:17:26 +02:00
This PR cleans up the createFlagDialogCache flag. These changes were automatically generated by AI and should be reviewed carefully. Fixes #10504 ## 🧹 AI Flag Cleanup Summary This change removes the `createFlagDialogCache` feature flag, making its functionality permanent. The create-feature-flag dialog will now always cache its state in local storage. ### 🚮 Removed - **TypeScript Definitions** - Removed `createFlagDialogCache` from `UiFlags` in `frontend/src/interfaces/uiConfig.ts`. - Removed `createFlagDialogCache` from `IFlagKey` in `src/lib/types/experimental.ts`. - **Flag Configuration** - Removed the `createFlagDialogCache` flag definition from `src/lib/types/experimental.ts`. - **Conditional Logic** - Removed the `useUiFlag` hook and conditional logic for caching in `frontend/src/component/project/Project/PaginatedProjectFeatureToggles/ProjectFe atureTogglesHeader/CreateFeatureDialog.tsx`. ### 🛠 Kept - **Feature Functionality** - The feature of caching the create-flag dialog's form state in local storage is now always enabled. ### 📝 Why The `createFlagDialogCache` feature has been successfully rolled out and is now considered stable. This cleanup removes the obsolete feature flag and hardcodes the enabled behavior, simplifying the codebase. Co-authored-by: unleash-bot <194219037+unleash-bot[bot]@users.noreply.github.com> Co-authored-by: Thomas Heartman <thomas@getunleash.io> |
||
---|---|---|
.. | ||
action.ts | ||
application.ts | ||
banner.ts | ||
connectedEdge.ts | ||
context.ts | ||
environments.ts | ||
featureToggle.ts | ||
featureTypes.ts | ||
group.ts | ||
instance.ts | ||
integrationEvent.ts | ||
invoice.ts | ||
loginEvent.ts | ||
permissions.ts | ||
personalAPIToken.ts | ||
project.ts | ||
publicSignupTokens.ts | ||
releasePlans.ts | ||
role.ts | ||
route.ts | ||
segment.ts | ||
service-account.ts | ||
signal.ts | ||
strategy.ts | ||
tags.ts | ||
toast.ts | ||
token.ts | ||
trafficBundles.ts | ||
uiConfig.ts | ||
user.ts | ||
userProjectRoles.ts |