aboutsummaryrefslogtreecommitdiff
path: root/components/quotetable.py
AgeCommit message (Collapse)Author
2026-05-17Fix quotetable heading, stale click state, and parallel fetchTyler
- Rename "Positions" → "Quotes" (heading was misleading; implies holdings) - Always clear _qt_click on read so stale values from removed tickers don't persist across rerenders - Replace serial get_latest_price + get_company_info calls with parallel ThreadPoolExecutor fetch of get_company_info only; regularMarketPrice/currentPrice from info is sufficient for the table and halves the number of yfinance calls Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Fix quotetable row click: use data-sym + event delegationTyler
Replaced inline onclick with escaped string literals with the same data-sym / closest(tr[data-sym]) event delegation pattern used by the working sidebar watchlist. Avoids JS string quoting issues in HTML attribute context. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Add QuoteTable as empty-state landing pageTyler
Renders watchlist tickers as a styled psm-card data table (Symbol, Sector, Last, Δ, % Day, Volume) when no ticker is selected. Falls back to the existing placeholder when the watchlist is empty. Uses the same JS hidden-input click pattern as the sidebar watchlist. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>