From c3f19f79f66054dc3b3a98999ea38b0f05248e06 Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Sun, 17 May 2026 13:36:57 -0700 Subject: Refine overview ratios and shell --- frontend/components/prism/ChartCard.tsx | 7 +++---- frontend/components/prism/Sidebar.tsx | 6 +++--- frontend/components/prism/TickerHeader.tsx | 14 +++++++++----- 3 files changed, 15 insertions(+), 12 deletions(-) (limited to 'frontend/components/prism') diff --git a/frontend/components/prism/ChartCard.tsx b/frontend/components/prism/ChartCard.tsx index bc650d7..87bb399 100644 --- a/frontend/components/prism/ChartCard.tsx +++ b/frontend/components/prism/ChartCard.tsx @@ -23,8 +23,8 @@ export function ChartCard({ symbol, period, points, chartState, chartError, onCh
-
Price History
-

{symbol}

+
Price Action
+

{symbol} Price History

{PERIODS.map((option) => ( @@ -42,7 +42,7 @@ export function ChartCard({ symbol, period, points, chartState, chartError, onCh
-

Chart loading is isolated from the rest of Overview. A history miss only affects this card.

+

Interactive history for the selected window. If history fails, the rest of Overview stays intact.

{chartState === "loading" ?
Loading {period.toUpperCase()} history…
: null} @@ -52,4 +52,3 @@ export function ChartCard({ symbol, period, points, chartState, chartError, onCh
); } - diff --git a/frontend/components/prism/Sidebar.tsx b/frontend/components/prism/Sidebar.tsx index 80e13f3..7f106d8 100644 --- a/frontend/components/prism/Sidebar.tsx +++ b/frontend/components/prism/Sidebar.tsx @@ -75,12 +75,12 @@ export function Sidebar({ return (
@@ -41,6 +45,7 @@ export function TickerHeader({ overview, onToggleWatchlist, isSaved }: Props) { {fmtCurrency(overview.quote.change)} · {fmtPct(overview.quote.change_pct, 2, true)} Prev close {fmtCurrency(overview.quote.prev_close)} + {lastSource ? Source {lastSource.replaceAll("_", " ")} : null} @@ -48,4 +53,3 @@ export function TickerHeader({ overview, onToggleWatchlist, isSaved }: Props) { ); } - -- cgit v1.3-2-g0d8e