1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-17 13:46:47 +02:00
unleash.unleash/frontend/src/component
Thomas Heartman 63d4b8b0e4
chore: adjust env dropdown (#9382)
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:

![image](https://github.com/user-attachments/assets/d6d5cd56-572f-419e-90ed-6449a63fdc96)

## 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.
2025-02-27 15:28:41 +01:00
..
accessOverview fix: icon imports (#6499) 2024-03-12 10:56:10 +01:00
admin test: connection count chart functions (#9383) 2025-02-27 14:38:49 +01:00
application chore: fix text on last seen instances (#9376) 2025-02-27 09:21:40 +02:00
archive
banners chore: months old version banner (#9352) 2025-02-25 12:48:55 +00:00
changeRequest fix: delete project segment with change request (#9315) 2025-02-17 10:41:56 +01:00
commandBar feat: allow command bar navigation to wrap around (#9370) 2025-02-26 10:35:44 +01:00
common chore: adjust env dropdown (#9382) 2025-02-27 15:28:41 +01:00
context fix: save context button spacing (#9059) 2025-01-03 15:01:46 +01:00
demo
environments chore: deprecate and undeprecate protected environments (#9360) 2025-02-25 13:41:41 +00:00
events chore(1-3349): no border for event timeline / dropdowns to the right (#9252) 2025-02-07 11:11:54 +01:00
feature chore: adjust env dropdown (#9382) 2025-02-27 15:28:41 +01:00
featureTypes
feedback chore: remove uiGlobalFontSize flag (#9331) 2025-02-26 12:39:53 +01:00
feedbackNew chore(unl-204): remove uses of toast text and confetti (#8941) 2024-12-10 13:38:04 +00:00
filter Adds a more visible focus indicator to the filter chips (#9251) 2025-02-07 10:22:08 +01:00
insights
integrations Update API tokens and client keys pages (#9143) 2025-02-04 09:32:32 +01:00
layout chore: visualize connected edges (#9325) 2025-02-19 12:23:52 +00:00
loginHistory feat: read logs and update cors maintenance root-role permissions (#8996) 2025-01-08 10:03:40 +01:00
maintenance
menu chore: remove uiGlobalFontSize flag (#9331) 2025-02-26 12:39:53 +01:00
onboarding
personalDashboard fix(1-3375): Fix unintended scroll on dashboard (#9316) 2025-02-17 12:07:35 +01:00
playground/Playground chore(1-3389): new env strategy containers (#9361) 2025-02-26 16:24:50 +01:00
project fix: long flag names push table to overflow and flag descriptions are not truncated (#9350) 2025-02-25 13:39:30 +01:00
providers
releases chore(1-3389): new env strategy containers (#9361) 2025-02-26 16:24:50 +01:00
segments fix: delete project segment with change request (#9315) 2025-02-17 10:41:56 +01:00
signals
splash
strategies
tags chore: remove uiGlobalFontSize flag (#9331) 2025-02-26 12:39:53 +01:00
user
App.tsx chore: months old version banner (#9352) 2025-02-25 12:48:55 +00:00
InitialRedirect.tsx