Skip to content

Commit f2a3cbe

Browse files
committed
feat(webapp): refine side menu selectors and spacing
- Revert the environment segmented control back to the dropdown selector, restoring the dev connection button and its modal - Hide the org, project, and environment selector chevrons until hover - Reorganize the project popover so New project and Project settings sit above a divider, before the project list - Remove the Environments header from the environment popover - Fix the dev connection button being clipped and tune the scroll section padding
1 parent e9fe1d0 commit f2a3cbe

3 files changed

Lines changed: 69 additions & 264 deletions

File tree

apps/webapp/app/components/navigation/EnvironmentSegmentedControl.tsx

Lines changed: 0 additions & 241 deletions
This file was deleted.

apps/webapp/app/components/navigation/EnvironmentSelector.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export function EnvironmentSelector({
8989
<span
9090
className={cn(
9191
"overflow-hidden transition-all duration-200",
92-
isCollapsed ? "max-w-0 opacity-0" : "max-w-[16px] opacity-100"
92+
isCollapsed ? "max-w-0 opacity-0" : "max-w-[16px] opacity-0 group-hover:opacity-100"
9393
)}
9494
>
9595
<DropdownIcon className="size-4 min-w-4 text-text-dimmed transition group-hover:text-text-bright" />
@@ -111,7 +111,6 @@ export function EnvironmentSelector({
111111
align="start"
112112
style={{ maxHeight: `calc(var(--radix-popover-content-available-height) - 10vh)` }}
113113
>
114-
<PopoverSectionHeader title="Environments" />
115114
<div className="flex flex-col gap-1 p-1">
116115
{project.environments
117116
.filter((env) => env.parentEnvironmentId === null)

0 commit comments

Comments
 (0)