1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/component/changeRequest
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
..
ChangeRequest chore(AI): crDiffView flag cleanup (#10487) 2025-08-21 12:33:19 +02:00
ChangeRequestConfirmDialog
ChangeRequestOverview Update stateTransitions property in UI to match new API prop (#10438) 2025-07-30 12:13:19 +02:00
ChangeRequestSidebar fix: move update approvers after cr change state (#10490) 2025-08-12 09:16:07 +02:00
ChangeRequestStatusBadge refactor: strategy draggable item is now proj/env agnostic (#9411) 2025-03-05 10:34:55 +01:00
ModifiedInChangeRequestStatusBadge
ProjectChangeRequests feat: add truncation and tooltips (#10498) 2025-08-18 13:16:52 +02:00
ChangeRequest.test.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
changeRequest.types.ts Update stateTransitions property in UI to match new API prop (#10438) 2025-07-30 12:13:19 +02:00
ChangeRequestContext.tsx
ChangeRequestPermissions.test.tsx chore!: removing userId strategy for new installations of Unleash (#9800) 2025-06-04 09:30:13 +02:00
changesCount.ts
UpdateCount.test.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
UpdateCount.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00