1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-03 01:18:43 +02: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 chore: show new change request diagram for users who are exposed to scheduled CRs (#5777) 2024-01-08 09:49:13 +05:30
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 feat: make maintenance-related 503s more intuitive (#5018) 2023-10-16 09:27:29 +01:00
contexts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
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 chore: update orval schemas (#5858) 2024-01-11 18:18:44 +05:30
themes Feat/disabled strategies (#5930) 2024-01-17 13:20:39 +01:00
types chore(deps): update dependency @biomejs/biome to v1.4.1 (#5709) 2024-01-10 09:11:49 +00:00
utils Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
index.tsx refactor: move plausible context on top of feedback (#5824) 2024-01-10 11:31:41 +02:00
setupTests.ts feat: add new sticky component to handle stacked stickies (#5088) 2023-10-19 15:50:37 +01:00
vite-env.d.ts