From e11f6bc6a261ccd7aeaf56314c2d006c1f382218 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Tue, 17 Mar 2026 07:27:54 -0400 Subject: [PATCH] feat(ui): add protocol icons and environment tag badges to tab bar Tabs now show protocol-specific icons (terminal for SSH, monitor for RDP) instead of plain colored dots. Environment tags from connections render as colored pills: PROD in red, DEV in green, STAGING in amber, TEST in blue. Root user sessions get a subtle red top-border accent. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/session/TabBar.vue | 83 +++++++++++++++++++--- 1 file changed, 74 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/session/TabBar.vue b/frontend/src/components/session/TabBar.vue index 0c74c3a..8d5f6a4 100644 --- a/frontend/src/components/session/TabBar.vue +++ b/frontend/src/components/session/TabBar.vue @@ -6,21 +6,50 @@ v-for="session in sessionStore.sessions" :key="session.id" class="group flex items-center gap-2 px-3 h-9 text-xs whitespace-nowrap border-r border-[var(--wraith-border)] transition-all duration-500 cursor-pointer shrink-0" - :class=" + :class="[ session.id === sessionStore.activeSessionId ? 'bg-[var(--wraith-bg-primary)] text-[var(--wraith-text-primary)] border-b-2 border-b-[var(--wraith-accent-blue)]' - : 'text-[var(--wraith-text-muted)] hover:text-[var(--wraith-text-secondary)] hover:bg-[var(--wraith-bg-tertiary)]' - " + : 'text-[var(--wraith-text-muted)] hover:text-[var(--wraith-text-secondary)] hover:bg-[var(--wraith-bg-tertiary)]', + isRootUser(session) ? 'border-t-2 border-t-[#f8514966]' : '', + ]" @click="sessionStore.activateSession(session.id)" > - - + + + + + + + + + + + {{ session.name }} + + +