From 9d71e805b0f73f6434874e2e4f0ee9a8bf3d911a Mon Sep 17 00:00:00 2001 From: Taylor Ho Date: Wed, 5 Aug 2026 14:59:06 -0700 Subject: [PATCH 1/3] fix(desktop): clarify selected community rail state - Replace selected and hover fills with primary outlines while preserving icon background, text color, opacity, and radius across states. - Keep transparent outline geometry at rest for smooth color transitions and add spacing so adjacent outlines do not overlap. - Increase community rail tooltip clearance and cover active, inactive, and hover presentation invariants in Playwright. Co-authored-by: Taylor Ho Signed-off-by: Taylor Ho --- .../src/features/sidebar/ui/CommunityRail.tsx | 19 ++++---- desktop/tests/e2e/community-rail.spec.ts | 46 +++++++++++++++++++ 2 files changed, 56 insertions(+), 9 deletions(-) diff --git a/desktop/src/features/sidebar/ui/CommunityRail.tsx b/desktop/src/features/sidebar/ui/CommunityRail.tsx index 26a0b324e0..a572bb8eb6 100644 --- a/desktop/src/features/sidebar/ui/CommunityRail.tsx +++ b/desktop/src/features/sidebar/ui/CommunityRail.tsx @@ -106,7 +106,7 @@ function CommunityButton({ dragAttributes?: React.HTMLAttributes; isDragging?: boolean; }) { - const { mentionCount, showBadge, showDot, pending, badgeLabel } = + const { mentionCount, showBadge, showDot, badgeLabel } = communityRailIndicators(unread); const tooltipLabel = showBadge @@ -135,11 +135,8 @@ function CommunityButton({ > {iconUrl ? ( @@ -172,7 +169,9 @@ function CommunityButton({ - {tooltipLabel} + + {tooltipLabel} + {menu} @@ -368,7 +367,7 @@ export function CommunityRail({ return (