Repository navigation
fix(mcp-apps-renderer): follow the host page's dark theme - #7467
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: CopilotKit/CopilotKit/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe renderer now sets the initial host-context theme based on whether the iframe has a ChangesTheme initialization
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The renderer now reports the host’s dark theme when the iframe is under a Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@copilotkit/a2ui-renderer
@copilotkit/agentcore-runner
@copilotkit/angular
@copilotkit/channels
@copilotkit/channels-core
@copilotkit/channels-discord
@copilotkit/channels-intelligence
@copilotkit/channels-slack
@copilotkit/channels-teams
@copilotkit/channels-telegram
@copilotkit/channels-ui
@copilotkit/channels-whatsapp
@copilotkit/core
@copilotkit/intelligence-langgraph
@copilotkit/intelligence-mastra
@copilotkit/mcp-apps-renderer
@copilotkit/react-core
@copilotkit/react-native
@copilotkit/react-textarea
@copilotkit/react-ui
@copilotkit/runtime
@copilotkit/runtime-client-gql
@copilotkit/sdk-js
@copilotkit/shared
@copilotkit/sqlite-runner
@copilotkit/voice
@copilotkit/vue
@copilotkit/web-components
@copilotkit/web-inspector
commit: |
|
Size Change: 0 B Total Size: 1.71 MB ℹ️ View Unchanged
|
dbd14e9 to
e62e9ee
Compare
e62e9ee to
ad4cfb2
Compare
ad4cfb2 to
d6e3a2e
Compare
d6e3a2e to
0a1bb15
Compare
MCP App iframes were always told the host theme was light. The host context now reports "dark" when the iframe sits inside a `.dark` ancestor, so apps rendered in a dark chat match it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
0a1bb15 to
3e3dade
Compare
Summary
MCP App iframes were always told the host theme was
light. The host context now reportsdarkwhen the iframe sits inside a.darkancestor, so apps rendered in a dark chat match it.Merging
Part of the chat design refresh, split so each PR merges on its own. A PR can merge once the one it builds on has merged; GitHub then retargets it to
main.mainmainglobals.css)mainmain; merge after the PRs it documentsTest plan
session.e2e.test.tscovers light and dark hosts🤖 Generated with Claude Code