1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src
unleash-bot[bot] 02ee94c38f
chore(AI): createFlagDialogCache flag cleanup (#10509)
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>
2025-08-21 12:43:43 +00:00
..
__mocks__
assets feat: GitHub auth (#10406) 2025-07-24 15:25:25 +01:00
component chore(AI): createFlagDialogCache flag cleanup (#10509) 2025-08-21 12:43:43 +00:00
constants delete legacy constraint accordion (#10110) 2025-06-11 12:22:55 +02:00
contexts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
hooks chore: release template resource limits (#10514) 2025-08-21 11:52:09 +01:00
interfaces chore(AI): createFlagDialogCache flag cleanup (#10509) 2025-08-21 12:43:43 +00:00
openapi chore: release template resource limits (#10514) 2025-08-21 11:52:09 +01:00
themes Feat: impact metrics grid layout (#10253) 2025-07-03 09:09:03 +00:00
types
utils feat: Display example date for date formatting reasons (#10444) 2025-07-31 11:07:32 +02:00
index.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
setupTests.ts
vite-env.d.ts