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 038c10f612
chore: finish up disabled strategies (#9579)
Aligns the design of disabled strategies with the sketches. Most notable
changes:
- makes the disabled badge warning yellow
- greys out the preceding "or" separator
- makes the segment "preview" button *not* grey (because it's still
interactable)

As a bonus: uses a list for the constraint value lists instead of a div
and updates the design to match the sketches (no chips).


![image](https://github.com/user-attachments/assets/1b3ddfa0-b0e8-4856-ae01-26e507590a4f)

With strat variants:

![image](https://github.com/user-attachments/assets/dc143fbf-256b-4e96-872b-a6aa84df2111)


Bonus fix: 
Lets the constraint value list wrap so that we avoid this kind of
blowout:

![image](https://github.com/user-attachments/assets/4c0977ac-f8a4-41cc-8fb7-194e8b09c0a3)

Instead: 

![image](https://github.com/user-attachments/assets/a68ed4cf-c68c-43a1-9d6c-b90e85a0841f)
2025-03-19 15:40:23 +01:00
..
__mocks__
assets chore: add release management to new in unleash (#9257) 2025-02-07 14:33:25 +00:00
component chore: finish up disabled strategies (#9579) 2025-03-19 15:40:23 +01:00
constants
contexts
hooks feat: requests consumption UI for frontend (#9550) 2025-03-17 12:55:01 +02:00
interfaces Feat/tag type colors frontend (#9566) 2025-03-19 10:03:33 +01:00
openapi chore: update orval types (#9549) 2025-03-17 11:52:25 +02:00
themes chore: deprecate envAccordion colors; update non-legacy components (#9378) 2025-02-27 15:29:37 +01:00
types
utils fix: Data usage graphs don't work in UTC-n time zones (#9530) 2025-03-13 15:44:10 +01:00
index.tsx
setupTests.ts
vite-env.d.ts