From 854fd02fad7749b1b04fa130cd473a7ee5bdd399 Mon Sep 17 00:00:00 2001 From: Rune Olsen Date: Wed, 22 Jul 2026 15:21:30 +0200 Subject: [PATCH] Add live search to the Help Book's table of contents A search box above the Contents list filters TOC entries by each linked section's full text content (not just the link title), so e.g. searching "european" surfaces "Slash Commands" via its command history date-format note. Pure vanilla JS/CSS, no dependencies -- the page is a static file opened directly in the default browser. Tested interactively in Safari Technology Preview: filtering, no-results state, reset, and click-through navigation all verified working, in both the matched and empty-query cases. --- .../Contents/Resources/en.lproj/index.html | 38 ++++++++++++++++++- .../Contents/Resources/en.lproj/styles.css | 26 +++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/oAI/Resources/oAI.help/Contents/Resources/en.lproj/index.html b/oAI/Resources/oAI.help/Contents/Resources/en.lproj/index.html index 341ce65..1f9bca2 100644 --- a/oAI/Resources/oAI.help/Contents/Resources/en.lproj/index.html +++ b/oAI/Resources/oAI.help/Contents/Resources/en.lproj/index.html @@ -20,7 +20,11 @@