1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/interfaces
unleash-bot[bot] d2452b91f2
chore(AI): crDiffView flag cleanup (#10487)
This PR cleans up the crDiffView flag. These changes were automatically
generated by AI and should be reviewed carefully.

Fixes #10484



🧹 AI Flag Cleanup Summary

This PR removes the crDiffView feature flag and its associated legacy
components
for displaying changes in a Change Request. The flag has been enabled
and the
new diff view is now permanent.

This involved removing the feature flag from the configuration and code,
deleting several legacy components, and updating the components that
used them
to only use the new versions.

🚮 Removed

• Feature Flag Logic
• All checks for the crDiffView flag.
• The flag definition in uiConfig.ts, experimental.ts, and
server-dev.ts.
• Legacy Components
• LegacyStrategyChange.tsx
• StrategyTooltipLink.tsx
• LegacyReleasePlanChange.tsx
• SegmentTooltipLink.tsx
• LegacySegmentChangeDetails.tsx
• LegacyArchiveFeatureChange from ArchiveFeatureChange.tsx
• LegacyDependencyChange from DependencyChange.tsx
• LegacyToggleStatusChange from ToggleStatusChange.tsx

🛠 Kept

• New Components
• The new change request diff view components (StrategyChange,
ReleasePlanChange, etc.) are now used directly.
• The UI for displaying changes in a Change Request now consistently
uses
the improved diff view.

📝 Why

The crDiffView feature flag was deemed complete and ready for permanent
implementation. The cleanup follows standard procedure to remove the
flag and
associated dead code, simplifying the codebase and making it easier to
maintain.
This change makes the improved diff view for change requests the only
available
view.

---------

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:33:19 +02:00
..
action.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
application.ts
banner.ts
connectedEdge.ts
context.ts
environments.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
featureToggle.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
featureTypes.ts
group.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
instance.ts
integrationEvent.ts
invoice.ts
loginEvent.ts
permissions.ts
personalAPIToken.ts
project.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
publicSignupTokens.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
releasePlans.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
role.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
route.ts
segment.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
service-account.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
signal.ts
strategy.ts chore: split standard and advanced strategy types (#10433) 2025-07-30 09:55:51 +01:00
tags.ts
toast.ts
token.ts
trafficBundles.ts feat: added network traffic bundle (#9691) 2025-04-03 14:37:07 +02:00
uiConfig.ts chore(AI): crDiffView flag cleanup (#10487) 2025-08-21 12:33:19 +02:00
user.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
userProjectRoles.ts