Put the whole help doc back behind the collapse so the live blocks are not buried
This commit is contained in:
@@ -508,23 +508,16 @@ $runningScripts = array_unique($runningScripts);
|
||||
also what the AI tab retrieves, so the panel you read and the answer the
|
||||
assistant gives are the same text and cannot drift — the same argument that
|
||||
makes this page parse script PURPOSE blocks instead of restating them.
|
||||
Two tiers, one file. Collapsed leaves the reference tables visible: that is the
|
||||
terse per-control lookup this panel has always been, and it is what you want
|
||||
open while actually working. Expanding adds the task guide above it — the
|
||||
walkthroughs you need once and then stop reading. The split is taken from the
|
||||
section titles, so neither tier is a second copy of anything.
|
||||
vvToggleSug() toggles the header's immediate next sibling, so the guide must
|
||||
stay directly after the header and the quick tier must sit outside it. -->
|
||||
Everything lives inside the collapsible body, and collapsed means gone. An
|
||||
earlier version kept the reference tables permanently visible below the fold
|
||||
line: 33 table rows that pushed Next Runs, Recent Errors, Activity, Locks and
|
||||
the rest off the bottom of a fixed-height panel. Reference material must not
|
||||
outrank the live state of the machine on the page you watch it from. -->
|
||||
<div class="vv-sug-body vv-info-body">
|
||||
<div class="vv-doc">
|
||||
<?= vv_docs_render('Plugin/unraid/pages/readme/scheduler-readme.md', $_vv_doc_vars,
|
||||
fn($h) => !is_string($h) || !str_starts_with($h, 'Reference —')) ?>
|
||||
<?= vv_docs_render('Plugin/unraid/pages/readme/scheduler-readme.md', $_vv_doc_vars) ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="vv-info-body vv-doc vv-doc-quick">
|
||||
<?= vv_docs_render('Plugin/unraid/pages/readme/scheduler-readme.md', $_vv_doc_vars,
|
||||
fn($h) => is_string($h) && str_starts_with($h, 'Reference —')) ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ── Next Runs ── -->
|
||||
|
||||
Reference in New Issue
Block a user