Embedded Assistant does not inherit site-level Suggested questions
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 29k
- Forks
- 4k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 71
Description
Bug description
When using the React embedded Assistant, if no suggestions prop is passed to <GitBookFrame />, the Assistant shows AI-generated suggested questions instead of the "Suggested questions" configured in Customization → AI Assistant.
Expected behavior:
The embedded Assistant should fall back to the site-level Suggested questions when embed-level suggestions are not provided.
Actual behavior:
The embedded Assistant displays AI-generated questions unless suggestions is explicitly set in code.
Environment:
React embed using <GitBookFrame /> with tabs={['assistant']} and no suggestions prop.
Impact:
This creates inconsistent behavior between the docs site Assistant and the embedded Assistant, and forces duplication of question lists.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the React embed entry point, GitBookFrame, and trace how the assistant handles an omitted suggestions prop versus site-level Customization → AI Assistant settings. Reproduce with tabs={['assistant']} and no suggestions prop. Done means the embedded Assistant displays the configured site-level Suggested questions instead of AI-generated questions in this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100