1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00
unleash.unleash/frontend/src
Thomas Heartman c69137a1ee
feat: add algorithm to detect what strategy changes would be overwritten by applying a CR (#5963)
This change adds an algorithm with tests for detecting what changes
would be overwritten by applying a CR.

Test cases:
- It compares strategies regardless of order of keys in the objects.
This ensures that two strategies with the same content but different
order of keys are compared correctly.
- It treats `undefined` or missing segments in old config as equal to
`[]` in change
- It treats `undefined` or missing strategy variants in old config and
change as equal to `[]`
- It lists changes in a sorted list with the correct values
- It ignores object order on nested objects. Similar to the first
point, this does order-insensitive comparison for nested objects (such
as params and constraints).
2024-01-19 13:08:08 +04:00
..
__mocks__
assets
component feat: add algorithm to detect what strategy changes would be overwritten by applying a CR (#5963) 2024-01-19 13:08:08 +04:00
constants
contexts
hooks test: show array param decoder (#5955) 2024-01-19 09:27:47 +01:00
interfaces Executive Dashboard page setup (#5949) 2024-01-18 12:32:25 +01:00
openapi
themes Feat/disabled strategies (#5930) 2024-01-17 13:20:39 +01:00
types
utils Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
index.tsx
setupTests.ts
vite-env.d.ts