feat: expose video call APIs through RocketChatDesktop - #3527
vianmangal wants to merge 1 commit into
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: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📜 Recent review details🧰 Additional context used📓 Path-based instructions (2)Source excerpt: Main-process specs use `*.main.spec.ts`.📄 CodeRabbit inference engine (AGENTS.md) Files:
Source excerpt: Renderer specs use `*.spec.ts` / `*.spec.tsx`.📄 CodeRabbit inference engine (AGENTS.md) Files:
🔇 Additional comments (3)
WalkthroughThe video-call preload exposes its API as ChangesVideo call bridge
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Feature Suggested labels: Suggested reviewers: Merge Risk: ⚪ Minimal · up to The video-call API now uses the shared bridge name. No concrete issue in this change remains that would prevent merging. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The credential request still uses the existing authorization check, and no new credential disclosure was established. The main risk is that an older video-call page may not find the renamed API during a staggered rollout. Retained concerns
Security review detailsSecurity Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Hardening Proposals
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Warning Errors were encountered while retrieving linked issues. Errors (1)
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 |
|
Closing as superseded by #3510, which implemented the bridge consolidation under RocketChatDesktop.videoCall. Thanks! |
feat: expose video call APIs through RocketChatDesktop
Closes #3506
What changed
window.RocketChatDesktopinstead of a separatewindow.videoCallWindowglobal.Why
The main window and video call window currently require the web app to look for different top-level Electron bridges. Using
RocketChatDesktopin both window contexts gives the web app one bridge name and lets the shared desktop API contract describe these methods in one interface.This removes the old
videoCallWindowglobal, so the matching Rocket.Chat web client contract and caller update should be coordinated with this change.Validation
yarn test --runTestsByPath src/servers/main/preloadCoverage.main.spec.ts(14 tests passed)yarn lint(passed with 37 existing warnings)Summary by CodeRabbit
RocketChatDesktopinstead ofvideoCallWindow. The Pexip documentation reflects the updated API name; the documented method and credential response remain unchanged.