Swap the banner's checkboxes with the mode, and put the mark behind the mesh transcript

The mesh had its own row inside the pane while the banner kept showing the assistant's three, so switching mode left controls on screen that governed nothing visible.
This commit is contained in:
Gmer4Lfe
2026-08-17 17:46:29 -04:00
parent b6a677a710
commit be10e78c7a
2 changed files with 39 additions and 18 deletions
+22 -1
View File
@@ -2427,7 +2427,7 @@ function vv_ai_chat_markup(string $prefix, array $o = []): void {
Both are view controls: neither changes what is asked, only what you watch while it
happens. That is why they sit here with the window controls rather than in the composer
beside the things that shape the question. -->
<span class="vv-ai-head-c">
<span class="vv-ai-head-c" id="<?= $p ?>-cb-ai">
<label class="vv-ai-cb" title="Show the model's reasoning as it is written, not after">
<input type="checkbox" id="<?= $p ?>-see-think"> <span>Reasoning</span>
</label>
@@ -2442,6 +2442,27 @@ function vv_ai_chat_markup(string $prefix, array $o = []): void {
</label>
</span>
<?php if (!empty($o['mesh'])): ?>
<!-- The mesh's three, in the same place and the same three slots. Switching mode swaps this
group for the one above rather than leaving the assistant's controls sitting over a
conversation they do not govern — which is what a second row inside the pane amounted to,
and why the banner looked unchanged after switching. -->
<span class="vv-ai-head-c" id="<?= $p ?>-cb-mesh" hidden>
<label class="vv-ai-cb"
title="Render colours, fonts and sizes as sent. Unticked shows every message as plain text.">
<input type="checkbox" id="vv-nc-fmt-on" checked onchange="vvNcPref();vvNcRender()"> <span>Formatting</span>
</label>
<label class="vv-ai-cb"
title="Show only what has arrived since you last looked. Unticked shows the whole conversation.">
<input type="checkbox" id="vv-nc-unread" onchange="vvNcRender()"> <span>Only New</span>
</label>
<label class="vv-ai-cb"
title="Follow the newest message. Unticks when you scroll up, re-ticks at the bottom.">
<input type="checkbox" id="vv-nc-follow" checked onchange="vvNcPref()"> <span>Auto Scroll</span>
</label>
</span>
<?php endif; ?>
<span class="vv-ai-head-r">
<button class="vv-ai-btn ghost vv-ai-size" id="<?= $p ?>-size" type="button"
style="display:none">Medium</button>