Skip to content

Move ticker input into the header, drop the collapse toggle - #13

Merged
HRLoveFun merged 1 commit into
mainfrom
worktree-ticker-header-move
Sep 11, 2026
Merged

HRLoveFun merged 1 commit into
mainfrom
worktree-ticker-header-move

Conversation

@HRLoveFun

Copy link
Copy Markdown
Owner

Summary

  • The ticker input, Run button, and validation feedback now render inside .site-header's "Market Dashboard" area (between the brand and the theme toggle) instead of a separate sticky bar below the header.
  • Removed the collapse/expand toggle entirely (chevron, ▸ ^SPX summary, localStorage['parametersBarCollapsed'] persistence, static/parametersBar.js, and its dedicated test file) — the bar is now always visible.
  • Since .site-header stays dark in both themes, the moved controls (label, input) pick up light-on-dark styling; the ticker-badges and error alert keep their existing self-contained colors.
  • Updated tests/test_frontend_api.py, tests/unit/coverage.test.js, and docs/frontend_architecture.md to match.

Test plan

  • npx vitest run — 15 files / 189 tests pass
  • pytest -m "not network" --ignore=tests/e2e — full suite passes
  • pytest tests/test_frontend_api.py — passes
  • python scripts/doc_guard.py / python scripts/arch_metrics.py --check — clean
  • Manual check with a local dev server + Playwright: screenshots at desktop (dark/light) and mobile widths, no console errors, ticker input + Run exercised end-to-end

🤖 Generated with Claude Code

The `ticker` input, Run button, and validation feedback now render
inside .site-header (between the brand and the theme toggle) instead
of a separate sticky bar below it. Since .site-header stays dark in
both themes, the bar's own controls pick up light-on-dark styling
instead of the light-theme tokens; the ticker-badges and error alert
keep their self-contained colors unchanged.

The collapse/expand toggle is removed entirely along with its dead
weight: static/parametersBar.js, the chevron/summary markup, the
localStorage['parametersBarCollapsed'] persistence, and the tests
that covered it (tests/unit/parametersBar.test.js). Coverage.test.js
and test_frontend_api.py are updated to match.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@HRLoveFun
HRLoveFun merged commit 6bec794 into main Sep 11, 2026
3 checks passed
@HRLoveFun
HRLoveFun deleted the worktree-ticker-header-move branch September 11, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant