Repository navigation
feat: Click-to-Call telephony + internal video chat session sharing - #3370
Merged
Merged
Conversation
Register Rocket.Chat as OS handler for callto: and tel: URL schemes on Windows, macOS, and Linux. When a telephony link is clicked in any app, RC launches or focuses and dispatches a typed IPC event to the server webview with the parsed phone number. - Register callto/tel schemes in electron-builder.json (all platforms) - Add parseTelephonyLink() with number normalization and callto:// support - Add performTelephonyCall() with multi-server dialog + remember choice - Expose onTelephonyCallRequested callback on RocketChatDesktop API - Persist telephonyPreferredServer via selectPersistableValues - IPC listener registered before onReady to avoid cold-start race
Tests cover parseTelephonyLink (tel:/callto: protocols, number normalization, callto:// double-slash format, extension syntax, edge cases) and performTelephonyCall (0/1/2+ servers, preferred server persistence, dialog remember checkbox).
…duplicate IPC listener - Pass getRootWindow() as first argument to dialog.showMessageBox so the server selection prompt appears as a modal sheet attached to the main window (consistent with all other dialogs in the codebase) - Add idempotency guard to listenToTelephonyRequests to prevent duplicate IPC handler registration during hot-reload dev cycles
Add GitNexus section with impact analysis, query, and context tools. Gitignore .gitnexus index directory.
Dispatch WEBVIEW_GIT_COMMIT_HASH_CHANGED from server info response. Match supportedVersions exceptions using sha:<hash> prefix against the server's git commit hash for per-build version overrides.
Add TelephonyServer component to Settings > General tab with a Select dropdown to choose which server handles tel:/callto: links. Hidden when only one server exists. "Auto (ask each time)" option clears the preference and reverts to dialog behavior.
electron-builder v26 rejects MimeType as a direct child of linux.desktop — only desktopActions and entry are valid properties. Move it inside desktop.entry where it belongs.
Replace hardcoded English strings in the telephony dialog with i18n t() calls and add telephonySelectServer translation keys to all 22 locale files.
…selection Replace dialog.showMessageBox with an in-app modal that shows server favicons, names and hostnames — matching the sidebar appearance. Scales to many servers via a scrollable list and includes a "remember this choice" checkbox. Also hardens the telephony flow: - Mutex prevents concurrent tel: links from opening duplicate modals - 120s timeout on modal promise prevents hanging if renderer crashes - 10s timeout on webContents polling prevents infinite loop if server is removed between selection and view creation
Drop Margins wrapper from the modal and the Tile container from rows. Title→message margin x8→x4, message→list x16→x12, rows now use paddingBlock x6 / paddingInline x8 instead of Tile padding x12.
…ver modal Adds 20 tests across three new spec files covering the telephony deep-link runtime path that was previously only validated by deepLinks/main.spec.ts. - src/telephony/renderer/preload.spec.ts (6 tests): IPC bridge state machine — listenToTelephonyRequests guard, pendingPayload buffer/replay, callback replacement, ipcRenderer.on registration. - src/ui/components/SettingsView/features/TelephonyServer.spec.tsx (8 tests): Settings dropdown — hide when servers.length <= 1, option generation (auto + per-server), value binding to telephonyPreferredServer, dispatch of TELEPHONY_PREFERRED_SERVER_SET (null for auto, URL string otherwise), hostname fallback when server title missing. - src/ui/components/TelephonyServerSelectModal/index.spec.tsx (6 tests): Modal flow — visibility gating on dialogs.telephonyServerSelect.isOpen, ServerItem rendering per server, dispatch payload shape on click with rememberChoice on/off, close dispatch with null payload, rememberChoice reset after close. Adds @testing-library/react, @testing-library/jest-dom, and @testing-library/dom (peer) as devDependencies. Fuselage Select and Dialog are mocked at module level since they rely on React-Aria and native <dialog>.showModal() respectively, which don't drive cleanly in @kayahr/jest-electron-runner's renderer environment. Spec paths follow the existing renderer testMatch convention: src/<module>/<subdir>/<file>.spec.tsx — a flat src/telephony/preload.spec.ts would be silently dropped by jest's testMatch globs.
tel:%2B15551234 left %2B encoded, producing phoneNumber '%2B15551234' instead of '+15551234'. decodeURIComponent runs before strip pass; malformed escapes return null (treated same as other invalid input).
…tive Git commit hashes are conventionally case-insensitive. SHA-bb83777 should match same as sha-bb83777.
- TelephonyServer: extract hostname via safeHostname helper to prevent settings page crash on malformed server URLs (new URL() throws). - TelephonyServerSelectModal: associate 'Remember this choice' label with checkbox via htmlFor/id for assistive tech. - ServerItem: render Tile as native button (is='button' type='button') so keyboard users get Tab focus and Enter/Space activation.
* feat(telephony): add global shortcut to dial clipboard number * fix(telephony): harden global shortcut handling * refactor(telephony): share dialpad opener * test(telephony): stabilize shortcut notification click
Updated the AvailableBrowsers, TelephonyGlobalShortcut, TelephonyServer, and ThemeAppearance components to include a marginBlock of 'x16' on the Field components for improved spacing and layout consistency.
Add `isTelephonyEnabled` setting (default off) to gate the telephony feature end-to-end: - New persisted `isTelephonyEnabled` boolean with action, reducer, and selector entry; surfaces as a master toggle in Settings > General. - `TelephonyServer` and `TelephonyGlobalShortcut` controls remain visible but disabled while the master toggle is off. - Global shortcut config selector returns the disabled config when the master toggle is off, so the existing watcher auto-unregisters any active accelerator on toggle-off. - `tel:`/`callto:` deep links short-circuit when the master toggle is off. - OS-level protocol registration for `tel`/`callto` moves out of the unconditional startup loop into a new reactive `setupTelephonyProtocolHandlers`, which calls `setAsDefaultProtocolClient` / `removeAsDefaultProtocolClient` in response to toggle changes. `rocketchat:` continues to register at startup unchanged. The macOS `Info.plist` and Linux `.desktop` files declared by electron-builder will still list the app as a candidate handler for `tel`/`callto`, but it will never be set as default unless the user opts in at runtime.
DMV-1 calls for a first-run prompt warning the user that Teams, Zoom,
or Skype may already own the tel:/callto: handler and that they must
confirm Rocket.Chat as default in OS settings themselves. Windows 10/11
hash-protects UserChoice so `setAsDefaultProtocolClient` only registers
the app as a candidate; without the prompt, users have no way to know
the OS silently kept the prior default.
Trigger every off->on transition of the master `isTelephonyEnabled`
toggle (not literal first run — the toggle is opt-in and is the natural
moment of user intent). Seed the transition tracker via a synchronous
`select` before subscribing, so returning users who reopen the app
with telephony already enabled are not re-prompted.
- New `TelephonyDefaultHandlerPromptModal` Fuselage modal (title, two
body paragraphs, "Open System Settings" + "Got it" buttons), mounted
in Shell next to the existing telephony modal.
- Three new void actions (`_OPEN`, `_CLOSE`, `_OPEN_SETTINGS_CLICKED`)
and a `telephonyDefaultHandlerPrompt` sub-reducer in `dialogs.ts`.
- Main-process `setupTelephonyDefaultHandlerPrompt` watches the master
toggle and dispatches OPEN on each off->on flip. Listens for the
settings-button click and routes per platform:
- Windows: `shell.openExternal('ms-settings:defaultapps')`
- macOS: opens FaceTime preferences (where tel: default lives)
- Linux: spawns `gnome-control-center default-apps` or
`kcmshell5/6 componentchooser` based on `XDG_CURRENT_DESKTOP`;
unknown DEs log a tip and rely on the modal's verbal instructions.
- i18n keys under `telephony.defaultHandlerPrompt`.
- 13 new tests covering transition detection, idempotency, teardown,
and each platform branch.
The renderer Jest project's `testMatch` requires at least one subdirectory between `src/<module>/` and the spec, so `src/app/PersistableValues.spec.ts` was silently skipped. Moved the file under `src/app/__tests__/`, fixed the relative import, and expanded the migration assertion to cover `isTelephonyEnabled`. Documented the constraint in `CLAUDE.md` so future renderer specs are placed correctly.
…s UI Split telephony, video-call and screen-capture controls out of the General settings tab into a dedicated Voice & Video tab so the telephony stack has room to grow without crowding the rest of the settings. Diagnostics UI now collapses by default behind an Accordion with a status Tag summary in the title (pass/issues/warnings/checking). Per-check rows use Tag variants for status (primary/danger/warning) with flexShrink guards so the badge does not collapse to an ellipsis on narrow widths. Check labels were rewritten in user-facing terms (Click-to-call, Click-to-conference) and platform names are humanized (darwin -> macOS). Long handler paths are stripped from the inline details (full path still ships in the copy-diagnostics JSON) so the row layout stays clean.
…stration Adds telephony/get-diagnostics IPC channel and runtime module, wires TelephonyDiagnostics into the settings panel, and registers Rocket.Chat in the Windows RegisteredApplications/Capabilities surface so Default Apps exposes it for tel and callto.
…skip darwin
Detects per-user vs per-machine installs from process.execPath and opens
ms-settings:defaultapps?registeredApp{User,Machine}=Rocket.Chat so the
Default Apps page lands on the app-specific surface. macOS has no
equivalent settings pane, so the open-settings handler is now a no-op
and the modal hides body2 plus the Open Settings button on darwin.
…ntry If a watcher synchronously dispatches an action that re-triggers the same subscription, the recursive call previously saw a stale prev value. Capture prev into a local before assigning curr to it, so the recursive watcher invocation observes the freshly applied state.
The internal video-chat window is a BrowserWindow created by the main process,
so the renderer's own window.close() can't close it. Expose a close() method on
the window.videoCallWindow bridge that asks the main process to do it.
- Preload: close: () => ipcRenderer.send('video-call-window/close') (no payload).
- Main: ipcMain.on('video-call-window/close') resolves the window from the sender
(with a hostWebContents fallback for the webview-guest sender) and calls
win.close() when it's live. Resolving from the sender means a renderer can only
close its own window.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…ference Clicking "join" again from the main window while the video call window was already open tore the window down and recreated it. When the requested conference URL matches the one already open, focus the existing window instead (restore if minimized, show, focus) and return early, leaving activeCall, provider, credentials and partition untouched. A different URL still closes + recreates as before. Track the conference URL on activeCall so the decision uses lifecycle state rather than the renderer-handshake globals. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…wser
The internal video-chat window didn't route external links to the system
browser like the main window does, so target="_blank" / window.open links from
the conference chat (which run in the webview guest, whose setWindowOpenHandler
was unset) spawned a new Electron window instead.
Set the guest webview's window-open handler on attach: http(s) popups return
{ action: 'deny' } and open via the system browser (openExternal), smb:// is
denied, anything else stays in-app. Also add a will-navigate handler that sends
external-scheme target="_self" navigations (mailto:, tel:, custom schemes) to
the browser, while leaving http(s) self-navigations in the webview so the
conference's own flows (auth redirects, etc.) keep working.
Extract the shared deny/openExternal policy into a helper reused by the host
window's existing handler so host and guest behave identically.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
- media/openExternal permission branches in serverView now catch rejections and deny instead of leaving the request hanging - video call window-open policy denies popups by default, allowing only about:/blob: in-app schemes (closes javascript:/data:/file:/smb:) - install the media permission handler on the conference webview's partition session (isolated fallback only) so mic/cam requests route through handleMediaPermissionRequest instead of Electron's default - resolve the partition / set activeCall only inside the window-creating branch, after URL validation and the g.co redirect, so a bailed-out open can't leave stale state for teardown to misread - swallow the fire-and-forget open-in-main-window invoke rejection - drop no-op awaits on synchronous getNormalBounds()/getURL() - add regression tests for popup scheme policy and the fallback-session permission handler
# Conflicts: # src/ui/main/serverView/index.ts # src/videoCallWindow/ipc.ts
# Conflicts: # package.json # yarn.lock
Linux installer download |
macOS installer download |
Address designer review on the General tab:
- Hide section heading labels (keep the grouped layout/order)
- Stack select/input controls below their description, full-width
- Move per-control caveats ("Requires app restart", "Reloads app on
change") into dim c1 hint sublines instead of inline sentences
- Drop the redundant "System default uses..." browser sentence
- Render the video-calls description without bold product names
- Make Clear screen capture permissions a secondary danger button
- Use smart quotes around "do not ask again" in calling copy
- Group the PDF preview size limit next to Hardware acceleration
Full-width controls: SettingField wraps the control in a flex row so
Fuselage Select/InputBox (flex-grow:1) fill the column; drop the
maxWidth caps. Caveat sublines use fontScale c1 (regular) not micro
(which is bold). Strings updated across all populated locales.
Route every settings row through Fuselage's canonical FieldLabel / FieldDescription / FieldHint stack instead of misusing FieldHint for description text and hand-rolling hints as <Box fontScale='c1'>. - Add shared ToggleField component (label+toggle row, then FieldDescription, optional FieldHint, children escape hatch) - Add description prop to SettingField (Select/Input rows) - Migrate all 13 toggle and 5 select feature components - Split the "App restarts when this option is changed" sentence out of videoCallScreenCaptureFallback.description into a dedicated hint key, across all 22 locales - Backfill option keys missing from ar, it-IT, nb-NO, nn, se, zh - ScreenCaptureFallback: replace Math.random id with useId
Box color= prepends the font- prefix internally, so passing color='font-default' produced an invalid token and logged 'invalid color: font-default' on every render. Use the bare 'default' token at all 5 call sites (MarkdownContent, DocumentViewer, PdfContent, TopBar).
- Wrap serverFilterOptions and the filtered downloads list in useMemo over a stable downloads slice, eliminating the react-redux 'Selector returned a different result' rerender warning - Add aria-label to the icon-only arrow-back IconButton in DownloadsManagerView and SettingsView for screen-reader access
…oconf-session # Conflicts: # package.json # src/servers/preload/api.ts
Member
Author
|
/layne exception-approve LAYNE-11ad45b92add5845 LAYNE-cd698cff8f3400a2 LAYNE-acc7fa1ec273e65b reason: Hardcoded command + fixed argument vectors ( |
The master merge added ScreenCaptureFallback, InternalVideoChatWindow, and VideoCallWindowPersistence to GeneralTab while the new Voice & Video tab already rendered them alongside TelephonyServer and ClearPermittedScreenCaptureServers. Remove all five from GeneralTab so the Voice & Video tab is their single canonical home.
Fold the UXQA-approved settings-panel rewrite (#3358) into the telephony + video-call branch so all settings-panel churn lands in one review pass. #3358 is the source of truth for settings UX: adopt its grouped GeneralTab layout, its SettingField/ToggleField conventions, and its rewritten feature components. Telephony and video settings are kept out of GeneralTab and remain in the dedicated Voice & Video tab (their canonical home). Conflict resolution: - GeneralTab.tsx: took #3358's grouped FieldGroup layout, removed the four AV settings (InternalVideoChatWindow, VideoCallWindowPersistence, ScreenCaptureFallback, ClearPermittedScreenCaptureServers) since they live in VoiceVideoTab. - i18n (en + 21 locales): unioned settings.sections (kept #3358's new section keys plus telephony/videoCalls); took #3358's telephonyServer copy; preserved the telephonyShortcut key set that #3358 lacks. en is the fallback locale, so locales that dropped keys fall back cleanly. - TelephonyServer.tsx / SettingsView.tsx: auto-merge preserved telephony behavior (disabled gating, safeHostname) and all four settings-tab routes. Verified: tsc --noEmit clean, eslint clean on SettingsView + telephony, all 22 locale JSON files valid, yarn build produces all bundles, app boots.
This was referenced Jul 7, 2026
2 of 4 tasks
jeanfbrito
added a commit
that referenced
this pull request
Sep 14, 2026
…ndows (SUP-1108) (#3485) * fix(video-call): open conference http(s) popups as sandboxed child windows Since 4.16.0 (#3370) the conference webview's window-open handler denied every http(s) popup and sent it to the system browser. Identity-provider SSO flows such as Pexip's log in through a popup and hand the result back via window.opener, so login never completed inside the video call window. The conference webview now has its own policy: plain http(s) popups open as sandboxed Electron child windows (nodeIntegration off, contextIsolation on, sandbox on, no preload, shown on ready-to-show), tab dispositions still go to the system browser, about:/blob: stay allowed, and javascript:/data:/ file: stay denied. Popups re-apply the same policy to their own popups and navigations. The host page handler is unchanged. Fixes SUP-1108. * docs(agents): keep internal references out of PR descriptions PR descriptions and commit bodies are public. Document that internal tracker links and ticket text, customer details, and local developer tooling notes stay out of them, while a bare ticket key in the subject remains the accepted convention. * fix(video-call): apply the popup protocol policy to server-side redirects will-navigate only covers page-initiated navigations. A 302 from an http(s) popup to a custom scheme fires will-redirect instead, so register the same protocol check for will-redirect on the conference webview and on popup child windows. * fix(video-call): police descendant popups and document the navigation allowlist The did-create-window listener only wired the popup policy onto the immediate child. Extract it into attachConferencePopupPolicy, which also registers itself on each child's did-create-window so every descendant popup gets the window-open handler and navigation guards. State the exact scheme allowlist in the popup policy doc instead of claiming nested navigation cannot escape.
jeanfbrito
added a commit
that referenced
this pull request
Sep 14, 2026
…ndows (SUP-1108) (#3485) * fix(video-call): open conference http(s) popups as sandboxed child windows Since 4.16.0 (#3370) the conference webview's window-open handler denied every http(s) popup and sent it to the system browser. Identity-provider SSO flows such as Pexip's log in through a popup and hand the result back via window.opener, so login never completed inside the video call window. The conference webview now has its own policy: plain http(s) popups open as sandboxed Electron child windows (nodeIntegration off, contextIsolation on, sandbox on, no preload, shown on ready-to-show), tab dispositions still go to the system browser, about:/blob: stay allowed, and javascript:/data:/ file: stay denied. Popups re-apply the same policy to their own popups and navigations. The host page handler is unchanged. Fixes SUP-1108. * docs(agents): keep internal references out of PR descriptions PR descriptions and commit bodies are public. Document that internal tracker links and ticket text, customer details, and local developer tooling notes stay out of them, while a bare ticket key in the subject remains the accepted convention. * fix(video-call): apply the popup protocol policy to server-side redirects will-navigate only covers page-initiated navigations. A 302 from an http(s) popup to a custom scheme fires will-redirect instead, so register the same protocol check for will-redirect on the conference webview and on popup child windows. * fix(video-call): police descendant popups and document the navigation allowlist The did-create-window listener only wired the popup policy onto the immediate child. Extract it into attachConferencePopupPolicy, which also registers itself on each child's did-create-window so every descendant popup gets the window-open handler and navigation guards. State the exact scheme allowlist in the popup policy doc instead of claiming nested navigation cannot escape.
6 tasks
This was referenced Nov 12, 2026
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.
Click-to-Call + Internal Video Chat Session Sharing
Part 1 — Click-to-Call: Dial Phone Numbers Directly from Any App
Summary
You can now click phone number links (
tel:andcallto:) in any application — browser, email client, CRM, PDF viewer — and have Rocket.Chat open with the number ready to dial. The feature is fully opt-in: a master toggle in Settings > Voice & Video controls everything. When enabled, a new global keyboard shortcut lets you dial whatever phone number is on your clipboard from anywhere on your system.What's New
Added
tel:andcallto:links, in all common formats — international, dashed, parenthesizedImproved
Fixed
%2Bfor+) now decode correctly before being passed to the dial padPlatform Notes
tel:links. Rocket.Chat'sInfo.plistdeclarestel/calltoso macOS lists it as a candidate even before the toggle is enabled — but it only becomes the default handler once the user enables TelephonysetAsDefaultProtocolClientcall fortel/calltoonly fires when the toggle is on. Works from Outlook, Edge, Chrome, and other appsxdg-openon both X11 and Wayland. The.desktopMimeType list is baked at install time, so the OS may list the app as a candidate before the toggle is enabledPart 2 — Internal Video Chat Window: Share Main Webview Session (merged from #3359)
Problem
Internal conferences opened via
openInternalVideoChatWindowran in a webview hardcoded to the isolatedpersist:jitsi-sessionpartition, so they did not share cookies or localStorage with the server webview they were opened from. Electron scopes cookies/localStorage to the(partition, origin)pair, so a same-origin conference loaded unauthenticated (the login token lives in localStorage under the server origin).Fix
Load the call webview in the originating server's partition (
persist:<serverUrl>, resolved from the callerwebContents) so the call shares the main webview's session.Because session-level handlers are per-session, sharing the session means the call window's handlers would otherwise clobber the main webview's:
Production hardening
Per-window state instead of a mutable global
The call's partition was tracked in a module-level global read at several lifecycle points that span async ticks (cleanup, screen-share routing, teardown restore). A second call opening could mutate it mid-flight. State is now captured per window in an
ActiveCallrecord ({ partition, isSharedSession, serverWebContentsId }); every lifecycle decision reads the per-window value. The global is narrowed to renderer-handshake reads only.Handler restore on every teardown path
Restore is now idempotent and fires from every teardown path:
closed,cleanupVideoCallWindow, and a newrender-process-gonelistener. It restores both the server-view display-media handler and the permission handler (extracted into an exportedsetupServerViewPermissionHandlershared by the install site and the restore site). Fallback (isolated) sessions are skipped.Screen-share routing evaluated at request time
The per-window record is snapshotted at attach and the routing branch is evaluated at display-media request time; the call-window identity check stays live.
State null-out guarded by identity
Terminal teardowns now null only their own state (
if (activeCall === capturedCall) activeCall = null), so a stale prior-window teardown can't wipe a newer call's record.Open-window race serialized
The open handler is serialized through a promise-chain mutex, so each open runs to completion before the next begins, closing a rapid-double-open race that orphaned a window with leaked handlers.
Unresolved-server fallback
When the originating server can't be resolved, the call falls back to
persist:jitsi-session(stable isolated storage), andisSharedSessionisfalseso none of the shared-session restore logic engages.Additional lifecycle bridges
videoCallWindow.close()bridge — the call renderer can ask the main process to close its own window (a renderer can't close a main-process-created window directly).ActiveCallcarries the conferenceurlto support this.open-in-main-windowbridge — the standalone call window can navigate the main app window to an in-app route (e.g./channel/...) and bring it to the front. Routes are sanitized (relative-only) on both the preload and main sides.target="_blank"/window.openand external-protocol self-navigations from the conference go to the system browser instead of spawning Electron popups.Review fixes (post-#3359 review)
about:/blob:schemes and routing externalhttp(s)to the system browser, so a compromised frame can't openjavascript:/data:/file:Electron windows.activeCall/partition resolution moved after URL validation and theg.coexternal redirect, so a bailed-out open can't leave stale state for a later teardown to misread.media/openExternalbranches catch rejections and deny instead of leaving the request hanging; the preloadopen-in-main-windowinvoke swallows its rejection.awaits on synchronousgetNormalBounds()/getURL().Files changed (video-call)
src/videoCallWindow/ipc.ts— per-window state, idempotent restore from all teardown paths, request-time routing, null-out guards, open-handler serialization, webview-partition permission handler, popup-scheme policy, deferred partition assignment.src/ui/main/serverView/index.ts— extracted/exportedsetupServerViewPermissionHandler.src/videoCallWindow/video-call-window.ts— receives the partition from the main process instead of hardcoding it.src/ipc/channels.ts—partitionadded to therequest-urlresponse type.src/screenSharing/serverViewScreenSharing.ts—handleServerViewDisplayMediaRequestfor routing main-app requests back to the server-view picker.src/videoCallWindow/preload/index.ts—openInMainWindow/closebridges with relative-route sanitization.src/servers/preload/navigateToRoute.ts— buffered single-listenernavigate-to-routebridge wired into preload startup.src/ui/main/menuBar.ts— DevTools targets the focused window before falling back to the root window.src/videoCallWindow/main/ipc.main.spec.ts,src/servers/preload/navigateToRoute.spec.ts— regression tests.Merge integration notes
The video-call branch (#3359) was based on a newer
masterthan the telephony branch (#3325, 14 commits behind). Merging therefore also synced telephony up to currentmaster. Conflicts were resolved by integrating both sides:PersistableValues.ts— chained the migration versions: kept4.14.0(telephony:isTelephonyEnabled,telephonyPreferredServer,telephonyGlobalShortcutConfig) and layeredmaster's4.15.0(e2ePdfPreviewSizeLimit) on top so the migration chain stays sequential.GeneralTab.tsx— adoptedmaster's new layout and settings entries (ScreenCaptureFallback,InternalVideoChatWindow,VideoCallWindowPersistence,E2ePdfPreviewSizeLimit,ClearPermittedScreenCaptureServers) while keeping<TelephonyServer />.AvailableBrowsers.tsx/ThemeAppearance.tsx/TelephonyServer.tsx— adoptedmaster'sSettingFieldwrapper convention.TelephonyServerpreserves telephony behaviormasterlacked (disabled={!isTelephonyEnabled},safeHostname).Accordion.Item→ standaloneAccordionIteminVoiceVideoTab.tsxandTelephonyDiagnostics.tsx(the Fuselage upgrademastercarried removed the compound API).Later merges onto this branch
serverView/index.tsandvideoCallWindow/ipc.tswere resolved by keeping the deferred partition placement (fix OAuth not working #4) on top of the upstream protocol-validation / exactg.cohost-match guards.mastertest-coverage sync —master's coverage tooling (Codecov config, Phase 1–3 unit/RTL tests) was merged in to keep the branch current. Conflicts inpackage.json/yarn.lockover@testing-library/*were resolved by keeping the newer stack (react ~16.3.2,dom ~10.4.1,jest-dom ~6.9.1) and addingmaster'suser-event ~14.5.2;yarn.lockwas regenerated viayarn install.Verification
tsc --noEmit: clean (post-merge)yarn lint: clean on changed video-call filesvideoCallWindow/main/ipc.main.spec.ts: passing on the merged treemaster's newly merged RTL coverage tests under@testing-library/reactv16): left to CI on this PRRelated
Summary by CodeRabbit
tel:/callto:support with dialpad integration, server selection, global shortcut, and actionable default-handler prompts plus diagnostics in Settings.tel:/callto:associations during enterprise installation.