mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
4b432368ea
The four pages all had the same shape problem: prose followed by <IntegrationGrid>, which hides on framework-scoped routes via useFramework() -> null. On /<framework>/<slug> URLs the picker disappears and the page truncates to a content-less heading. Add InlineDemo + Snippet + FeatureIntegrations blocks above the picker so framework-scoped routes still render demo content: - interactive.mdx: cell gen-ui-interrupt, regions frontend-useinterrupt-render and backend-interrupt-tool. - state-rendering.mdx: cell shared-state-streaming, regions frontend-use-coagent-state and state-streaming-middleware. - display.mdx: cell gen-ui-tool-based, region bar-chart-renderer. Drop the hardcoded '## Choose your Integration' heading (IntegrationGrid renders its own '<h2>Choose your AI backend</h2>'). - your-components/display-only.mdx: same fix as display.mdx. Mirrors the wiring pattern in frontend-tools.mdx and the slot-2 fix for shared-state.mdx.