mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-08 01:15:49 +02:00
Adjusts styling of the env dropdown now that we have both release plans and strategies. Key points: - simplifies strategy separator, removes inherent height. Also: extracts it from the draggable component (it has no business knowing whether to add that or not) - Puts release plans and strategies in the same list so that it becomes: ```markdown - Release plan - strategy 1 - strategy 2 - (OR) Strategy A - (OR) Strategy B ``` - Adjusts some padding around to make it line up properly - Swaps a couple conditional renders for ternaries Rendered:  ## Still todo: Handle cases where you have >50 strats and we show the warning etc. It's a little trickier because of how it interacts with release plans, so I wanna leave that for later. I'm also unsure about how we handle spacing today. All the little items have their own different spacing and I'm not sure it won't get out of sync, but I'm also not sure how else to handle it. We should look at it later. |
||
---|---|---|
.. | ||
accessOverview | ||
admin | ||
application | ||
archive | ||
banners | ||
changeRequest | ||
commandBar | ||
common | ||
context | ||
demo | ||
environments | ||
events | ||
feature | ||
featureTypes | ||
feedback | ||
feedbackNew | ||
filter | ||
insights | ||
integrations | ||
layout | ||
loginHistory | ||
maintenance | ||
menu | ||
onboarding | ||
personalDashboard | ||
playground/Playground | ||
project | ||
providers | ||
releases | ||
segments | ||
signals | ||
splash | ||
strategies | ||
tags | ||
user | ||
App.tsx | ||
InitialRedirect.tsx |