mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-04 11:17:02 +02:00
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. |
||
---|---|---|
.. | ||
__mocks__ | ||
assets | ||
component | ||
constants | ||
contexts | ||
hooks | ||
interfaces | ||
openapi | ||
themes | ||
types | ||
utils | ||
index.tsx | ||
setupTests.ts | ||
vite-env.d.ts |