tts-voice-creator-clone-and.../static/sections
mARTin-B78 b3c1e4cc7f Fix JS caching root cause + robustness for sample text and STT dropdown
Root cause: VERSION was not volume-mounted, so the server always reported
1.2.0, causing browsers to serve 1-year-immutable cached JS even after
code changes.

Fixes:
- docker-compose.yml: add ./VERSION:/app/VERSION:ro volume mount.
  After `docker compose up -d`, the server reads the current VERSION file
  and JS is cache-busted by the correct version string.
- loader.js: append session timestamp to _appVersion so every page load
  generates a unique JS URL. JS is always fresh regardless of whether
  VERSION is current, at the cost of one network round-trip per file per
  session (acceptable for a local tool).
- s-clone.html: embed EN default text directly in the textarea so the
  field is never empty even before JS runs.
- voice-clone.js: remove the 'skip if already filled' guard in
  initCloneSampleText so navigating back always resets to the language
  text; call refreshSttBackends on load with sttReady event fallback.
- stt.js: dispatch 'sttReady' event after all STT listeners are wired.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 18:23:22 +02:00
..
s-clone.html Fix JS caching root cause + robustness for sample text and STT dropdown 2026-05-31 18:23:22 +02:00
s-connect.html Rename LLMs to Engines with LLM/STT/TTS sub-page nav, collapsible integration cards, equal-width card grids 2026-05-27 21:05:51 +02:00
s-conversation.html v1.2.0: VAD, live preview, hands-free mic, restore last section 2026-05-29 18:47:00 +02:00
s-design.html Replace all icons with MDI (Material Design Icons) v7.4.47 — 171 replacements across 10 files 2026-05-27 02:36:33 +02:00
s-llms.html Add inline STT test panel and fix whisperx pyannote auth error message 2026-05-28 09:27:59 +02:00
s-performance.html Add batch benchmark to Benchmark page 2026-05-27 11:29:48 +02:00
s-routing.html Replace all icons with MDI (Material Design Icons) v7.4.47 — 171 replacements across 10 files 2026-05-27 02:36:33 +02:00
s-settings.html Add version number (v1.1.0) and rewrite CHANGELOG to full Keep-a-Changelog spec 2026-05-29 13:53:31 +02:00
s-studio.html Redesign settings page (Voicebox-style) and fix remaining old icons 2026-05-27 02:48:34 +02:00
s-tryout.html Rename LLMs to Engines with LLM/STT/TTS sub-page nav, collapsible integration cards, equal-width card grids 2026-05-27 21:05:51 +02:00
s-voices.html Replace all icons with MDI (Material Design Icons) v7.4.47 — 171 replacements across 10 files 2026-05-27 02:36:33 +02:00