feat: add server icon display in environment service dashboard

- Introduced a server icon next to services in the environment dashboard for better visual identification of server associations.
- Enhanced user experience by providing immediate visual cues regarding the server linked to each service.
This commit is contained in:
Mauricio Siu
2025-11-15 23:54:53 -06:00
parent e9b4245625
commit 3618be65fc

View File

@@ -1466,6 +1466,11 @@ const EnvironmentPage = (
}}
className="flex flex-col group relative cursor-pointer bg-transparent transition-colors hover:bg-border"
>
{service.serverId && (
<div className="absolute -left-1 -top-2">
<ServerIcon className="size-4 text-muted-foreground" />
</div>
)}
<div className="absolute -right-1 -top-2">
<StatusTooltip status={service.status} />
</div>