You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(ui): Settings.open('tv') crashes on status pill and watchlist badge click #67
Clicking the topbar TradingView status pill (#tv-status-badge) or the Watchlist bar Local badge (#watchlist-status-badge) invokes Settings.open("tv"). However, Settings defines no tab_tv method (TradingView login fields live in tab_general / data-tab="general"). Calling Settings["tab_" + name](c) throws an uncaught TypeError: Settings[("tab_" + name)] is not a function and prevents the Settings modal from opening.
Click the topbar TradingView — Disconnected / Connected badge, or click the Local badge in the Watchlist bar.
Observe that the Settings modal does not open and DevTools throws TypeError: Settings[("tab_" + name)] is not a function.
Expected Behavior
Both badges should open the Settings modal to the general tab (General & TV Login), and Settings.open() should safely fall back to general for any unrecognized tab name.
Operating System & Version
OS: Windows 11 x64 / macOS arm64 / Linux x86_64
Version: v2.12.0
Display / Scale: Verified via live Chrome CDP (1600x960) & local unit/backend suite
Logs & Additional Context
Live Chrome CDP verification confirmed modal_open=(False, False) and TypeError: Settings[("tab_" + name)] is not a function on both badges.
Summary of Changes: Routed #tv-status-badge and #watchlist-status-badge clicks to Settings.open("general") in web/js/app.js and added a safe fallback to general in Settings.open() (web/js/settings.js). Verified via live Chrome CDP with zero console exceptions.
Verification: compileall clean, 84/84 unit tests passing (including tests/test_audit_fixes.py), and live Chrome CDP verification passed.
This issue will automatically close upon PR #82 review and merge into main.
Activity
github-actions commentedon Dec 2, 2026
✅ Issue Validation Passed
fix(ui))This issue is well-structured and ready for work according to the Issue-First Protocol.
mlgitdev commentedon Dec 2, 2026
🚀 Resolution In Progress
A fix for this issue has been implemented and submitted in Pull Request #82 (
v2.12.1).fix/audit-remediation-67#tv-status-badgeand#watchlist-status-badgeclicks toSettings.open("general")inweb/js/app.jsand added a safe fallback togeneralinSettings.open()(web/js/settings.js). Verified via live Chrome CDP with zero console exceptions.compileallclean, 84/84 unit tests passing (includingtests/test_audit_fixes.py), and live Chrome CDP verification passed.This issue will automatically close upon PR #82 review and merge into
main.