Skip to content

docs(react): ring 1:1 calls through the Calls SDK 5.1 in UI Kit 7.4 - #632

Closed
PrajwalDhuleCC wants to merge 15 commits into
mainfrom
docs/ringing-react-v7
Closed

PrajwalDhuleCC wants to merge 15 commits into
mainfrom
docs/ringing-react-v7

Conversation

@PrajwalDhuleCC

@PrajwalDhuleCC PrajwalDhuleCC commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

React UI Kit 7.4 rings 1:1 calls through the Calls SDK 5.1 ringing flow. Before, they rang through the Chat SDK's call messages. This PR updates the React UI Kit pages to match:

  • Call Features: a new "How calls ring" section, including the dashboard's Connect legacy ringing setting.
  • Versions: the Chat SDK and Calls SDK floors on Overview, the four integration pages, Migration and Calling Integration.
  • Calling Integration:
    • settings for 1:1 calls;
    • the outgoing call screen now changes to "Ringing...";
    • an onAccept example that joins the call.
  • Components: Call Buttons, Incoming Call, Outgoing Call, Conversations, Message Header and Call Logs.
  • Other pages:
    • Event System: the kit now publishes the call events itself.
    • Methods: what logout does with a call.
    • Troubleshooting: a new Calls section.
  • New guide, Custom Call Screens: how to draw your own call buttons and screens with useCometChatCallButtons, useOngoingCall and onAccept.

Versions: UI Kit 7.4.0, Calls SDK ^5.1.1 (released on 25 Nov) and Chat SDK ^4.2.1. These are final, and no placeholders are left. Main's offline support pages for 7.3.0 are merged in.

This stays a draft until UI Kit 7.4.0 is released.

Related Issue(s)

The UI Kit change: cometchat-team/uikit-react#2459.

Type of Change

  • Documentation correction/update
  • New documentation
  • Improvement to existing documentation
  • Typo fix
  • Other (please specify)

Checklist

  • I have read the CONTRIBUTING document
  • My branch name follows the naming convention
  • My changes follow the documentation style guide
  • I have checked for spelling and grammar errors
  • All links in my changes are valid and working
  • My changes are accurately described in this pull request

Additional Information

  • Checks: mint broken-links passes, and every changed page renders in mint dev.
  • Calls SDK pages: not changed here. They link to the Calls SDK docs instead of repeating them.
  • Wording to confirm: the dashboard setting is called "Include Call Activities" on the Conversations and Troubleshooting pages. Please check that this matches the dashboard's label.

🤖 Generated with Claude Code

PrajwalDhuleCC and others added 13 commits November 23, 2026 17:49
Call Features gets a "How calls ring" section: 1:1 calls ring through the Calls SDK, the
caller's screen reads "Outgoing Call" then "Ringing...", the callee's other tabs and devices
stop when one answers or declines, the caller gives up as unanswered after 45 s, and a busy
tab answers a new call busy. Group calls still send a meeting message. A subsection says what
Connect legacy ringing does and what happens while it's off, and links to the Calls docs
instead of repeating them. The install line asks for the Calls SDK 5.1.1, which 1:1 calls
need; on 5.0.x they fail with CALLS_SDK_UNAVAILABLE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The overview, the four integration pages and the migration guide now give the Chat SDK peer as
^4.2.1 and the Calls SDK peer as ^5.1.1, and name 7.3 as the release that needs them. The
version notes add the 7.3.0 floor and link to How calls ring for why the Calls SDK floor rose.
The release versions are placeholders until the Calls SDK and UI Kit releases ship.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Step 1 installs the Calls SDK 5.1.1, which 1:1 calls need. Step 3 says how 1:1 call settings
work now: laid over the kit's defaults when the call is placed or starts ringing, with
sessionType from the button and isPeerCall on, and not changed by settings given later. Step 5
describes "Outgoing Call", then "Ringing...".

Step 7's example passed an onAccept that only logged, which now leaves the call unanswered (and
before, skipped acceptCall). It now says to leave onAccept and onDecline unset, to listen for
ui:call/accepted and ui:call/rejected to run code, and shows an onAccept that joins the
prepared session with CometChatOngoingCall.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The listener table listed Chat SDK events a ringing call never fires. It now lists what the
buttons follow: the placed call's Calls SDK session, the 3 s status read and the incoming ring,
with the Chat SDK's events left for calls from apps on legacy ringing and for Connect legacy
ringing. Call Settings and its prop say that 1:1 settings are laid over the kit's defaults when
the call is placed, while group settings still replace them. A note on the click overrides
points apps that draw their own call screens at useCometChatCallButtons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On the ringing flow, onAccept no longer replaces CometChat.acceptCall: the kit stops ringing and
hands the app the prepared session to join with CometChatOngoingCall or useOngoingCall. onDecline
makes the kit only stop ringing and leave that session, which ends a 1:1 call for the caller as
unanswered. Both pages say to leave them unset and listen for ui:call/accepted and
ui:call/rejected instead, and the first example no longer passes callbacks that only log.

The callSettingsBuilder warning said the builder is never applied. It is now applied to ringing
calls, laid over the kit's defaults when the call starts ringing; it is still not applied to a
call from an app on legacy ringing. The listener section describes the ringing flow, and the
page lists ui:call/accepted and the translated Accept and Decline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ing Call

The page said the screen reads "Calling...". It reads "Outgoing Call", then "Ringing..." once the
receiver's device rings, for any call the kit placed. The examples placed and cancelled calls
with CometChat.initiateCall and rejectCall, which never ring on the Calls SDK flow and never
show "Ringing...". The standalone example now uses useCometChatCallButtons to place and cancel
the call and to show the ongoing call, and the flat example leaves the cancel to the caller.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Message Header, Call Logs and the property-changes table said the settings go unchanged to
CometChatOngoingCall. For a 1:1 call they are now laid over the kit's defaults when the call is
placed, with sessionType from the button; a group call's still replace the defaults. Call Logs
also says its calls ring as the call buttons' do, and types the prop as SessionSettings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Events Received table had no ui:call/* rows, though the list has always handled them. They
are listed now, with the call events among the listeners, and a new "Calls in the List" section
says what a call does there: only when call activities update conversations, the preview says how
the call went from the user's side, the chat moves up but keeps its unread count, and after a
ringing-flow call the list fetches the chat until its last message shows the outcome, placing it
by time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ooting

logout() now says what it does with a call in the tab before logging out: it cancels a call
being placed, stops a ring (which ends a 1:1 call for the caller as unanswered), leaves a joined
call, waits at most 3 s, then logs out of the Chat SDK and the Calls SDK. Troubleshooting gets a
Calls section: CALLS_SDK_UNAVAILABLE on 5.0.x, late outcomes and older apps ringing on while
Connect legacy ringing is off, the callee's logout ending the call, and a preview that doesn't
change when call activities are off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On the ringing flow the Chat SDK hears nothing after a call's initiated message while Connect
legacy ringing is off, so the kit publishes call/accepted, call/rejected, call/cancelled and
call/ended itself, once per call, from the call's session, the user's other tabs and the 3 s
status read. The Call Events table says so, notes they can come a few seconds late, and widens
call/rejected to busy and call/cancelled to no answer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The kit's onAccept now hands the call to the app, which joins through CometChatOngoingCall,
useOngoingCall or the prepared session, and apps that draw their own call buttons need
useCometChatCallButtons to place calls that ring. None of these had a page. The new guide shows
how to place and cancel calls with the hook (its options, with callSettingsBuilder, and what it
returns), show the outgoing and ongoing call, join into an element of the app's own with
useOngoingCall, and answer calls in the app's own screen. The call buttons and outgoing call
pages link to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A group decline only stops the ring for that user, and the caller's own cancel isn't something
the screen hears about.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The incoming call card still rings for a group call another app places.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
cometchat 🟢 Ready View Preview Nov 25, 2026, 12:15 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

…nippets

Every call's settings are now laid over the kit's defaults, so the pages drop
the group-call and incoming-call exceptions. The snippets take their SDK types
as type imports and say which hook values they use, and the conversations page
loses two lines that repeated the list's behavior.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts were the version tables and install notes both changed: the
integration pages keep the Calls SDK 5.1.1 floor and gain main's offline row,
the Chat SDK peer stays ^4.2.1 (from 7.4.0, with offline still needing 4.3.1),
troubleshooting has both the Calls table and the offline section, and the
UI Kit version these pages are written for is 7.4.0. The release placeholders
are gone: Calls SDK 5.1.1 is released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@PrajwalDhuleCC PrajwalDhuleCC changed the title docs(react): ring 1:1 calls through the Calls SDK 5.1 in UI Kit 7.3 docs(react): ring 1:1 calls through the Calls SDK 5.1 in UI Kit 7.4 Nov 26, 2026
@PrajwalDhuleCC

Copy link
Copy Markdown
Contributor Author

Closing in favour of #633, which now has the React and Angular ringing docs and the Calls SDK page updates in one PR. The commits from this branch are merged into it unchanged. The branch stays.

This branch was successfully deployed

1 active deployment
staging — 7f550180 Deployed Nov 25, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant