read.markets/app/templates
Giorgio Gilestro 6c4c711830 ui: log page tone badge follows the toggle (novice / pro)
The Strategic Log Archive panel header used to show two engineery
badges sourced from server config:
  new logs use: tone intermediate analysis speculative

Both were misleading:
- The tone badge described the SERVER's generator setting, not the
  user's reading preference — confusingly disconnected from the
  Novice | Pro toggle in the topbar that actually controls what AI
  panels render.
- The analysis flag is always SPECULATIVE in production, so the badge
  carried no information.

Drop the "new logs use:" prefix and the analysis badge. The tone badge
now mirrors the user's toggle: NOVICE → "novice", INTERMEDIATE → "pro"
(same data values; just the display label flips, matching the header
relabel from 3e1a14f).

Wiring lives in base.html: a new cassandraSyncToneBadge(tone) helper
updates the #tone-badge element when present. Called from
DOMContentLoaded (so the initial badge picks up the localStorage tone)
and from cassandraSetTone (so toggling the header updates the badge
live, without a page refresh).

current_tone / current_analysis are removed from _log_page_context —
log.html was the only consumer and neither key is referenced now.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 12:17:49 +02:00
..
partials mobile: wrap tabs, trim portfolio + markets bar columns 2026-05-28 19:10:58 +02:00
about.html public: landing + pricing + legal pages, apex-ready, lawyer-reviewed 2026-05-24 00:08:02 +02:00
base.html ui: log page tone badge follows the toggle (novice / pro) 2026-05-29 12:17:49 +02:00
dashboard.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00
disclaimer.html pricing: land £7/£70 paid tier and make behaviour match 2026-05-26 11:34:37 +02:00
landing.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00
log.html ui: log page tone badge follows the toggle (novice / pro) 2026-05-29 12:17:49 +02:00
login.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00
news.html brand: rename product to "Read the Markets" (read.markets) 2026-05-22 19:39:38 +01:00
pricing.html cleanup: drop dead upload.html + soften broker-only marketing copy 2026-05-27 15:39:03 +02:00
privacy.html public: landing + pricing + legal pages, apex-ready, lawyer-reviewed 2026-05-24 00:08:02 +02:00
public_base.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00
settings.html ui: flip tone relabel — "Pro" now maps to INTERMEDIATE, not NOVICE 2026-05-29 11:23:52 +02:00
terms.html i18n: instant lang switch via HTMX trigger + refresh paid-plans terms 2026-05-27 21:02:03 +02:00
verify.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00