1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00
unleash.unleash/frontend/src
Thomas Heartman 7cab19d9d2
#4209: add 'add to draft' button for segments. (#4400)
Note: it doesn't work yet! It just throws an error.

This PR adds some logic to conditionally display "Add to draft" button
for segments if the segment is part of a project that has change
requests enabled and the flag is enabled.

Also adds a flag (`segmentChangeRequests`) to the frontend.

Holding off on actually adding the change to a draft until the API/orval
has been updated with the most recent changes.
2023-08-03 14:34:38 +02:00
..
__mocks__
assets chore: update demo qr (#4241) 2023-07-14 09:31:44 +02:00
component #4209: add 'add to draft' button for segments. (#4400) 2023-08-03 14:34:38 +02:00
constants refactor: remove old components after variants per env (#3110) 2023-02-14 16:03:53 +00:00
contexts refactor: token permissions, drop admin-like permissions (#4050) 2023-06-22 08:35:54 +01:00
hooks feat: Change Request on Reorder UI (#4249) 2023-07-25 14:12:35 +03:00
interfaces #4209: add 'add to draft' button for segments. (#4400) 2023-08-03 14:34:38 +02:00
openapi chore: Update OpenAPI definitions generated for frontend (#4283) 2023-07-20 12:59:55 +02:00
themes Feat: strategy variant slider (#4344) 2023-07-26 11:36:16 +02:00
types chore(deps): update dependency prettier to v2.8.1 (#2509) 2022-12-27 10:45:43 +01:00
utils feat: Feature type lifetime API integration (#4295) 2023-07-21 09:51:09 +00:00
index.tsx feat: implement demo guide steps logic (#3528) 2023-04-18 10:56:15 +01:00
setupTests.ts
vite-env.d.ts