mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
64a6af2858
This PR updates the way we show deleted strategies in the CR UI. Instead of showing just the strategy name and a diff on hover, we show the same strategy config as we do for new and updated strategies. This makes it easier to see what you have deleted. In doing so, it also fixes two issues: 1. inconsistent border radius for segment changes listed. Due to an override in `frontend/src/themes/theme.ts`, these would get a border radius of `theme.shape.borderRadiusLarge` instead of `theme.shape.borderRadiusMedium`. It does this by adding a class and making the selector more specific. 2. The background was unset for the strategy rollout box and constraint item boxes. It looks like this: <img width="728" alt="image" src="https://github.com/Unleash/unleash/assets/17786332/7cba28ac-0454-444d-8cfa-f46543ccf2dc"> <img width="728" alt="image" src="https://github.com/Unleash/unleash/assets/17786332/832be653-3def-4afc-b72f-36fcd76ad83d"> Or with more kinds of strategies: <img width="454" alt="image" src="https://github.com/Unleash/unleash/assets/17786332/f18e5482-7d2e-4cbd-8177-9de6dfb10307"> Note: I'm happy to isolate the color changes to a separate PR if that's preferable. |
||
---|---|---|
.. | ||
ConstraintAccordionEdit | ||
ConstraintAccordionHeaderActions | ||
ConstraintAccordionList | ||
ConstraintAccordionView | ||
ConstraintOperator | ||
ConstraintValueSearch | ||
ConstraintAccordion.tsx | ||
ConstraintIcon.tsx | ||
ConstraintOperatorSelect.tsx |