Repository navigation
Add OneTag AI widget to chat services - #1007
Open
fengyiqicoder wants to merge 1 commit into
Open
fengyiqicoder wants to merge 1 commit into
fengyiqicoder wants to merge 1 commit into
Conversation
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017g16kS8U6SzeKsAZguBPEn
|
This pull request contains changes to the configuration file. Please make sure the documentation in NexT website is changed or added. |
Author
|
Docs PR: next-theme/theme-next-docs#189 |
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.
PR Checklist
PR Type
What is the current behavior?
The Chat Services section offers live chat with a person: Chatra, Tidio and Knocket.
What is the new behavior?
Adds OneTag AI as a fourth option. It puts an "ask this page" button on the site: a visitor types a question and gets an answer drawn from the page they are reading. I am the author of OneTag AI.
onetag.enableistrueandkeyis set.data-refname (which integration loaded the widget). Nothing is sent before that.Same shape as the Knocket integration: a config block, one partial, one
elif.Tested with a real Hexo 8.1.2 build in Muse, Mist, Pisces and Gemini, in light and dark mode, with PJAX on (the widget stays across navigations and answers from the new page) and at phone width. With
sidebar.position: rightthe button moves to the left corner, so it never covers the sidebar toggle or back-to-top.How to use?
In NexT
_config.yml:🤖 Generated with Claude Code
https://claude.ai/code/session_017g16kS8U6SzeKsAZguBPEn