1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-04 11:17:02 +02:00
unleash.unleash/frontend/src
Thomas Heartman 5e35a0fa22
chore: Set up the basis of the new constraint editing component. (#9701)
This PR creates/steals the logic and basic components that we need for
the new constraint editing design and shows it instead of the old one if
the flag is on.

The interface needs a lot of work, but this essentially wires everything
up so that it works with the API on direct editing:

<img width="781" alt="image"
src="https://github.com/user-attachments/assets/97489a08-5f12-47ee-98b3-aefc0b840a2b"
/>

Additionally the code here will need a lot of refactoring. This is a
first draft where I've yanked all the constraint editing logic out of a
nested hierarchy of components that handle validation and lots more. I
expect to clean this up significantly before finishing it up, so please
excuse the mess it's currently in. It turns out to have been lots and
lots more logic than I had anticipated.

This is just a PR to get started, so that the next one will be easier to
work on.
2025-04-07 14:50:42 +02:00
..
__mocks__
assets chore: swap release template instruction svgs for pngs (#9642) 2025-03-28 10:47:36 +02:00
component chore: Set up the basis of the new constraint editing component. (#9701) 2025-04-07 14:50:42 +02:00
constants chore: feedback link on feature strategy (#9633) 2025-03-27 15:19:14 +02:00
contexts
hooks feat: added network traffic bundle (#9691) 2025-04-03 14:37:07 +02:00
interfaces chore: Add flag for add/edit strategies (#9699) 2025-04-04 10:18:05 +02:00
openapi Feat/tag type frontend display (#9630) 2025-03-31 11:55:49 +02:00
themes refactor: variant colors (#9586) 2025-03-20 14:44:33 +01:00
types
utils Feat/tag type frontend display (#9630) 2025-03-31 11:55:49 +02:00
index.tsx
setupTests.ts
vite-env.d.ts