From a58b386cc56ded9352fe1c16c352f15091276bd8 Mon Sep 17 00:00:00 2001 From: Lukas Wallrich Date: Wed, 10 Jun 2026 17:26:48 +0100 Subject: [PATCH] JUST-OS chat: merge refs into copy, add localStorage history (#786) - References now render inside the answer box as a collapsible list, and the copy button copies the answer together with its references (full authors, title, URL). - Persist conversations in localStorage (was sessionStorage) with a multi-chat History panel: list, open, and delete past chats. Shared between the floating widget and the full-page chat; capped at 50. - Use the Inter webfont for the chat UI (the site body is Domine). - Keep initializing the standalone chat page even when the floating widget was dismissed earlier in the session. Co-Authored-By: Claude Opus 4.8 (1M context) --- layouts/partials/chatbot.html | 139 +++++++++++++- layouts/shortcodes/just_os_chat.html | 6 +- static/js/just-os-chat.js | 276 +++++++++++++++++++++++---- 3 files changed, 377 insertions(+), 44 deletions(-) diff --git a/layouts/partials/chatbot.html b/layouts/partials/chatbot.html index b68819afc9d..4ccb09be895 100644 --- a/layouts/partials/chatbot.html +++ b/layouts/partials/chatbot.html @@ -7,6 +7,11 @@ {{ end }} {{ end }} +{{/* Load Inter for the JUST-OS chat UI (the site's body font is Domine). */}} + + + +