JUST-OS chat: include references in copy + localStorage chat history (#786)#791
Open
LukasWallrich wants to merge 1 commit into
Open
JUST-OS chat: include references in copy + localStorage chat history (#786)#791LukasWallrich wants to merge 1 commit into
LukasWallrich wants to merge 1 commit into
Conversation
- 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) <noreply@anthropic.com>
Contributor
|
👍 All image files/references (if any) are in webp format, in line with our policy. |
Contributor
✅ Spell Check PassedNo spelling issues found when checking 3 changed file(s)! 🎉 |
Contributor
Author
|
✅ Staging Deployment Status This PR has been successfully deployed to staging as part of an aggregated deployment. Deployed at: 2026-06-10 18:17:21 UTC The staging site shows the combined state of all compatible open PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #786.
What changed
JUST-OS chatbot improvements, in both the floating widget and the full-page chat.
1. References included in the copy button
References (N)list, with the copy button below it.2. Multi-chat history in
localStoragelocalStorage(previouslysessionStorage, wiped on tab close), so they survive browser restarts and are shared between the widget and the full-page chat.3. Chat font → Inter
Incidental fix
/just_os_chatbot/page now keeps initializing even if the floating widget was dismissed earlier in the session (previouslyinit()bailed out early).Files
static/js/just-os-chat.jslayouts/partials/chatbot.htmllayouts/shortcodes/just_os_chat.htmlTesting
Verified in-browser (full-page chat and floating widget): references rendered inside the box, copy output including a real bot response with 4 references, history list/open/delete, cross-page persistence via localStorage, and Inter rendering.
🤖 Generated with Claude Code