aboutsummaryrefslogtreecommitdiff
path: root/components/news.py
AgeCommit message (Collapse)Author
2026-05-16Harden script embedding, timezone parsing, and layout buffersTyler
- overview: use json_for_script for inline payload/meta to prevent </script> break-out from yfinance-sourced strings; raise iframe height to cover responsive single-column collapse under 1100px - news: treat naive ISO/strptime datetimes as UTC before converting to local-naive, matching the int-timestamp branch from 75dbe29 - news: bump per-row iframe height to fit summary + metadata under scrolling=False - top_movers: drop name column in compact (sidebar) mode and tighten grid so symbol/price/change fit a default-width Streamlit sidebar Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16Fix timezone shift and script-tag escape in news tabTyler
Unix-int timestamps from Finnhub were returned as naive UTC, then .timestamp() reinterpreted them as local time — shifting relative ages and date filtering. Now normalize to local-naive like the other branches. Also escape </ in the JSON embedded in <script>, so headlines containing </script> cannot break out of the inline script. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16Redesign news tab UI surfaceTyler
2026-05-16Fix valuation and data robustness bugsTyler
2026-03-29Fix valuation methodology and documentationOpenclaw
2026-03-28Initial commit — Prism financial analysis dashboardTyler
Streamlit app with market bar, price chart, financial statements, DCF valuation engine, comparable companies, and news feed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>