Files
fxhnt/tests
jgrusewski 1958315344 refactor(cockpit): drop the "REAL PAPER" chip — a single PAPER badge everywhere
The IBKR-backed sections carried a second exec chip ("REAL PAPER", blue) on top of
the plain PAPER badge, doubling up on the fleet exec row and the IBKR account cards.
It's redundant (the section titles already say "IBKR paper account") and crowds narrow
mobile rows. Per request, collapse to just PAPER:

- fleet exec row (cockpit.html): drop the extra REAL PAPER badge — the row already
  renders exec_badge = PAPER right before it.
- IBKR account cards (paper.html) + "Following the plan" block (strategy.html): swap
  real_paper_badge() -> exec_badge('paper'), matching the crypto book's PAPER chip.
- remove the now-unused real_paper_badge macro (_macros.html) and .badge-exec.real CSS
  (base.html); refresh the stale REAL PAPER prose in paper.html / app.py docstrings.
- tests updated to assert the PAPER badge instead of REAL PAPER (the real-trades sub-row
  and behind/ahead-of-plan pill are unchanged).

Verified locally in a real browser at mobile widths: both /paper cards now read
"… PAPER", no REAL PAPER anywhere, all routes still 200. 224 web/forward tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 19:54:20 +02:00
..