1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-24 17:51:14 +02:00
unleash.unleash/frontend/src
Thomas Heartman 73c4c62ea3
chore: track metrics for how many CRs are moved into next state with conflicts (#6109)
Use React's context to track how many CRs are moved into their next
state with conflicts present.

This PR wraps environment change requests and change request overviews
in a change request plausible context that contains a
`willOverwriteStrategyChanges` property. This property is updated by the
diff calculation if there are any conflicts and then read by the
`changeState` function in the `useChangeRequestApi` hook.

As long as at least one of the strategies in the CR contain conflicts,
it will be marked as overwriting changes.
2024-02-05 18:27:11 +09: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 chore: track metrics for how many CRs are moved into next state with conflicts (#6109) 2024-02-05 18:27:11 +09:00
constants
contexts
hooks chore: track metrics for how many CRs are moved into next state with conflicts (#6109) 2024-02-05 18:27:11 +09:00
interfaces feat: add posted feedback table (#6113) 2024-02-02 15:39:29 +02:00
openapi feat: add project flags component (#6070) 2024-01-31 08:48:10 +01:00
themes feat: new user widget (#6037) 2024-01-25 14:43:59 +01:00
types chore(deps): update dependency @biomejs/biome to v1.4.1 (#5709) 2024-01-10 09:11:49 +00:00
utils chore: add metrics for conflict creation detection (#6022) 2024-01-31 18:56:56 +09:00
index.tsx refactor: move plausible context on top of feedback (#5824) 2024-01-10 11:31:41 +02:00
setupTests.ts
vite-env.d.ts