1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-21 13:47:39 +02:00
unleash.unleash/frontend/src/component/changeRequest/ChangeRequest/Changes
Thomas Heartman c3dda01d53
delete legacy constraint accordion (#10110)
This PR continues the cleanup after removing the addEditStrategy flag
(part 2 of ???). The primary purpose of this PR is to delete and remove
all references to the LegacyConstraintAccordion.

I've gone and updated all references to the legacy files in external
components and verified manually that they still work.

Most of the files in this PR are changing references. I've extracted two
bits into more general constants/utils:
1. Constraint IDs are a symbol. it was exported as a const from the
previous createEmptyConstraint file. I've moved it into constants.
2. formatOperatorDescription was similarly used all over the place, so
I've placed it in the shared utils directory.

In reviewing this, you can ignore any changes in the legacy constraint
accordion folder, because that's all been deleted. Instead, focus on the
changes in the other files. It's primarily just import updates, but
would be good to get a second set of eyes, anyway.
2025-06-11 12:22:55 +02:00
..
Change delete legacy constraint accordion (#10110) 2025-06-11 12:22:55 +02:00
FeatureToggleChanges.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00