Point the Bot settings at the media tunables

This commit is contained in:
Fisto
2026-09-22 20:35:00 +02:00
parent 61983d4b8d
commit a4dd79d5d4
3 changed files with 23 additions and 0 deletions
+7
View File
@@ -40,6 +40,13 @@ mobile draft at 390px.
- [x] C11 preview caching: Discord-hosted image/GIF previews (WebP 320px, hash-addressed, 5 MiB - [x] C11 preview caching: Discord-hosted image/GIF previews (WebP 320px, hash-addressed, 5 MiB
cap, one attempt) run after every walk in both modes. Live run `...-20260916090722`: cap, one attempt) run after every walk in both modes. Live run `...-20260916090722`:
`previewed: 2`; thumbs served over `/api/media/<scrape>/<item>/thumb` (200). `previewed: 2`; thumbs served over `/api/media/<scrape>/<item>/thumb` (200).
- [x] C85 Point Settings → Bot at the media tunables. The tunables (Backfilling / Scraping /
Timers, including the backfill auto-start toggle) live in the **Bot tab** under Settings, not
in the Settings menu; the Settings → Bot card now says so and has an **Open Bot tab** button
that closes the overlay and switches to the Bot tab. This followed a report that the latest
scrape had no previews: the walk cached 8,570 inline and left 24,112 pending in the manual
backfill queue (`auto: false`), which was not running. The queue is running again (started
manually); the tunable toggle controls whether future walks drain on their own.
- [x] C84 Revert the VOX preset to the NetTTS approximation. The tuned values matched the - [x] C84 Revert the VOX preset to the NetTTS approximation. The tuned values matched the
reference metrics but sounded far off the game voice, so SAM commit `c6b5fb7` restores pitch 3, reference metrics but sounded far off the game voice, so SAM commit `c6b5fb7` restores pitch 3,
rate 17, prominences 22, head size 52, lowering 40, volume 70 and reverts the tests, metadata rate 17, prominences 22, head size 52, lowering 40, volume 70 and reverts the tests, metadata
+4
View File
@@ -2959,6 +2959,10 @@ function init() {
} }
}); });
$("#channel-refresh").addEventListener("click", () => void loadMessages({ refresh: true })); $("#channel-refresh").addEventListener("click", () => void loadMessages({ refresh: true }));
$("#open-bot-tab")?.addEventListener("click", () => {
$("#settings-close")?.click();
$("#scope-bot")?.click();
});
$("#message-scroll").addEventListener( $("#message-scroll").addEventListener(
"scroll", "scroll",
() => { () => {
+12
View File
@@ -351,6 +351,18 @@
<span class="vk-status-value" id="media-used">—</span> <span class="vk-status-value" id="media-used">—</span>
</div> </div>
<div id="media-usage-bar" class="vk-media-usage"></div> <div id="media-usage-bar" class="vk-media-usage"></div>
<div class="vk-status-row">
<span class="vk-status-label">Tunables</span>
<span class="vk-settings-actions">
<button id="open-bot-tab" class="btn btn-secondary vk-small-btn" type="button">Open Bot tab</button>
</span>
</div>
<div class="vk-status-row">
<span class="vk-status-value vk-dim">
Backfill, scrape, and timer tunables live in the Bot tab under Settings,
including the backfill "Start automatically on daemon boot" toggle.
</span>
</div>
</div> </div>
</section> </section>
</div> </div>