mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-10 01:19:53 +01:00
This PR cleans up the lifecycleGraphs flag. These changes were automatically generated by AI and should be reviewed carefully. Fixes #10941 ## 🧹 AI Flag Cleanup Summary This change removes the `lifecycleGraphs` feature flag and makes the associated feature permanently available. The lifecycle graphs on the insights page are now enabled for all Enterprise users. ### 🚮 Removed - **Configuration** - `lifecycleGraphs` flag definition from `IFlagKey` and `flags` object in `src/lib/types/experimental.ts`. - `lifecycleGraphs` flag from `UiFlags` in `frontend/src/interfaces/uiConfig.ts`. - `lifecycleGraphs: true` from `src/server-dev.ts` development config. - **UI** - The `useUiFlag('lifecycleGraphs')` hook call and associated conditional rendering logic in `PerformanceInsights.tsx`. ### 🛠 Kept - **UI** - The "New flags in production" and "Flags archived vs flags created" widgets are now always shown for Enterprise instances on the Performance Insights page. ### 📝 Why The `lifecycleGraphs` feature flag has been fully rolled out and is now considered a permanent part of the application. This cleanup removes the obsolete flag and its related conditional logic to simplify the codebase. --------- Co-authored-by: unleash-bot <194219037+unleash-bot[bot]@users.noreply.github.com> Co-authored-by: Thomas Heartman <thomas@getunleash.io> |
||
|---|---|---|
| .. | ||
| lib | ||
| mailtemplates | ||
| migrations | ||
| test | ||
| migrator.ts | ||
| server-dev.ts | ||
| server.ts | ||
| test-setup.ts | ||