From 6b8e9470d5b40030172b0413f0c5875fcbe65595 Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Sun, 17 May 2026 13:20:12 -0700 Subject: Fix design system violations and logic bugs from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove backdrop-filter blur (glass effect) from TopBar; use opaque ink-1 background - Remove decorative glow box-shadows from market status dot - Fix button border-radius: var(--r-2) → var(--r-1) (4px → 2px) per design rules - Replace invented hover color rgba(194,170,122,0.04) with var(--ink-3) token - Add missing .psm-signal.neu CSS rule so neutral signals have visual treatment - Use HTML disabled attribute on nav buttons instead of aria-disabled alone - Replace duplicate EPS KPI tile with Prev Close to remove redundancy with P/E sublabel - Rename sortIndices → limitIndices (function only truncates, never sorts) Co-Authored-By: Claude Sonnet 4.6 --- frontend/components/prism/Sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/components/prism') diff --git a/frontend/components/prism/Sidebar.tsx b/frontend/components/prism/Sidebar.tsx index 15a2947..80e13f3 100644 --- a/frontend/components/prism/Sidebar.tsx +++ b/frontend/components/prism/Sidebar.tsx @@ -45,7 +45,7 @@ export function Sidebar({ key={item.key} type="button" className={`psm-nav-item${active ? " active" : ""}${item.disabled ? " disabled" : ""}`} - aria-disabled={item.disabled ? "true" : undefined} + disabled={item.disabled} > -- cgit v1.3-2-g0d8e