Skip to content

docs: ring 1:1 calls through the Calls SDK 5.1 in React UI Kit 7.4 and Angular UI Kit 5.4 - #633

Open
PrajwalDhuleCC wants to merge 26 commits into
mainfrom
docs/ringing-angular-v5
Open

PrajwalDhuleCC wants to merge 26 commits into
mainfrom
docs/ringing-angular-v5

Conversation

@PrajwalDhuleCC

@PrajwalDhuleCC PrajwalDhuleCC commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

React UI Kit 7.4 and Angular UI Kit 5.4 ring 1:1 calls through the Calls SDK 5.1 ringing flow. Before, they rang through the Chat SDK's call messages. This PR updates both kits' pages, and the Calls SDK pages for JavaScript that point UI Kit users to them. It replaces #632, which had the React pages; those commits are merged in here unchanged.

React UI Kit

  • 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.

Angular UI Kit

  • Call Features: how calls ring, and a step that adds the call host.
  • New page, Call Host: cometchat-call-host, placed once at the app's root. It draws the outgoing and ongoing call screens, so they stay up when the call buttons that placed the call are destroyed. It is also added to the navigation, the components overview and the LLM index.
  • Call settings: these are now plain SessionSettings objects. For 1:1 calls they are laid over the defaults. This is covered on Call Buttons, Global Config, Message Header and Call Logs.
  • Incoming Call and Outgoing Call:
    • the screens on the ringing flow, including "Calling..." then "Ringing...";
    • custom Accept and Decline;
    • the CALL_NOT_RINGING error;
    • the Incoming Call card's Custom Templates example no longer passes a subtitle template. Today the card's title, subtitle, leading and trailing templates get no template context, so a template that reads it throws. The example goes back once the kit passes that context.
  • Setup and reference:
    • Integration, Quickstart and the API reference introduction: the Calls SDK and Chat SDK versions.
    • Methods: what logout does with a call, and the storage mode.
    • Troubleshooting: the ringing flow.

Calls SDK for JavaScript

  • Setup, Ringing and Migrating from Legacy Ringing: the install lines use the Calls SDK 5.1.1 instead of 5.1.0.
  • Migrating from Legacy Ringing: in place of "a coming UI Kit release", the page names the kit versions that ring 1:1 calls on this flow, React UI Kit 7.4.0 and Angular UI Kit 5.4.0. It sends kit users to each kit's "How calls ring" section, which now says the version it starts from.
  • Setup: the "Faster Integration with UI Kits" box links the Angular kit as well as React.

Versions: React UI Kit 7.4.0, Angular UI Kit 5.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 React 7.3.0 and Angular 5.3.0 are merged in.

This stays a draft until both React UI Kit 7.4.0 and Angular UI Kit 5.4.0 are released.

Related Issue(s)

The UI Kit changes: cometchat-team/uikit-react#2459 and cometchat-team/uikit-angular#675. Replaces #632.

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: the Calls SDK team agreed to these updates.
  • The Angular UI Kit repo's docs/ folder: no workflow publishes it. These pages are the live ones, so the call host and Call Features content from the UI Kit PR is ported here.
  • Wording to confirm: the dashboard setting is called "Include Call Activities" on React's Conversations and Troubleshooting pages and on Angular's Troubleshooting page. Please check that this matches the dashboard's label.

🤖 Generated with Claude Code

PrajwalDhuleCC and others added 18 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>
Calling in the Angular UI Kit v5 moves to the Calls SDK 5.1 ringing flow. The Call Features
page now:
- installs the Calls SDK 5.1.1 or later, which 1:1 calls need (5.0.x fails with
  CALLS_SDK_UNAVAILABLE);
- has a step that puts the incoming call card and the call host once at the root;
- has a "How calls ring" section: the caller's screen, the 45 s ring, busy, group calls, and
  what the Connect legacy ringing setting changes.

The new Call Host page documents <cometchat-call-host>, now a public component. It is ported
from the draft in the UI Kit repo's own docs/ folder. The nav, the components overview and the
LLM index list it.

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>
… over the defaults for 1:1 calls

The call buttons, message header, call logs and global config pages showed
`new CometChatCalls.CallSettingsBuilder()...build()`, but the v5 kit reads a plain Calls SDK v5
SessionSettings object. The examples now pass one, and the pages say how it applies:
- a 1:1 call lays it over the kit's defaults, takes sessionType from the call, always turns
  isPeerCall on, and fixes the settings when the call is placed or starts ringing;
- a group call uses it in place of the defaults, as before.

The call buttons and call logs pages say what the call host changes: with one at the root it
draws the call's screens; without one, destroying the component that draws them ends the call.
The incoming call card now uses GlobalConfig.callSettingsBuilder for the 1:1 calls it answers,
which the global config tables list.

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>
…flow

Incoming call:
- 1:1 calls ring through the Calls SDK, and the busy reply is the kit's.
- onAccept and onDecline no longer stand for CometChat.acceptCall and rejectCall on a 1:1
  call. onAccept leaves the prepared session for the app to join; onDecline still leaves it,
  which ends a 1:1 call for the caller as unanswered. Either way the app closes the card with
  IncomingCallService.setIncomingCall(null), or later calls are answered busy.
- Accepting a call that stopped ringing reports CALL_NOT_RINGING to onError and the error
  output.
- A custom Accept button answers through IncomingCallService.acceptCall.

Outgoing call: the kit's own screens say "Ringing..." once the callee's device rings. The
standalone example cancels with CallButtonsService.cancelOutgoingCall() instead of
CometChat.rejectCall, and points a call the app placed itself to the Calls SDK's cancel.

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>
…de, troubleshooting

- Integration, quickstart and the API reference name the Calls SDK 5.1.1 or later, which 1:1
  calls need, and the Chat SDK peer ^4.2.1.
- setCallingEnabled: the Calls SDK reads the logged-in user from the Chat SDK, so the app
  doesn't log in to it. setStorageMode now reaches the Calls SDK too, unless the app's
  CallAppSettings sets its own.
- Logout ends a call first: a call being placed is cancelled, a joined call is left, and a
  ringing one stops ringing, which ends a 1:1 call for the caller as unanswered.
- Troubleshooting has rows for CALLS_SDK_UNAVAILABLE, a call ending without a call host, late
  outcomes and older apps ringing on while Connect legacy ringing is off, the callee's logout,
  busy after an app's own onAccept or onDecline, and calls that don't update conversations.
- Each page that names 5.1.1 has a TODO(release) comment, to fill in once the Calls SDK
  release with the fix is out.
- The incoming call page's "Custom Accept and Decline" is its own section, and its related
  components list the call host.

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>
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 27, 2026, 3:26 PM

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

PrajwalDhuleCC and others added 2 commits November 25, 2026 15:27
…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>
… snippets

Every call's settings are now laid over the kit's defaults, so the pages drop
the group-call exception. The outgoing call page's standalone example, which
the kit's own outgoing screen covers when a call host is in place, becomes a
note on what the kit draws, and the call buttons table gains `hideOverlays`.
The incoming call example loses the subtitle template, which gets no context
from the card yet, and the snippets compile as written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PrajwalDhuleCC and others added 2 commits November 25, 2026 17:43
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>
Conflicts were the integration page's version rows and the UIKitSettings
methods table: Angular 18-22 and dompurify ^3.4.17 from main, the Chat SDK
^4.2.1 and Calls SDK ^5.1.1 floors from this branch, and both the storage
mode note and main's setOfflineConfig row. 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(angular): ring 1:1 calls through the Calls SDK 5.1, and add the call host docs(angular): ring 1:1 calls through the Calls SDK 5.1 in UI Kit 5.4, and add the call host Nov 26, 2026
PrajwalDhuleCC and others added 2 commits November 26, 2026 19:14
The React and Angular ringing docs go out in one PR, with the Calls SDK
pages' changes for the kits' releases. The two branches only met in
docs.json, in different navigation groups.

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

The setup, ringing and migration pages install the Calls SDK 5.1.1, which
fixes a stored-user bug in 5.1.0. The migration page names the kit versions
that ring 1:1 calls on this flow, React UI Kit 7.4.0 and Angular UI Kit 5.4.0,
in place of "a coming UI Kit release", and sends kit users to each kit's How
calls ring section, which now says the version it starts from. The setup
page's UI Kit box links the Angular kit as well as React.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@PrajwalDhuleCC PrajwalDhuleCC changed the title docs(angular): ring 1:1 calls through the Calls SDK 5.1 in UI Kit 5.4, and add the call host docs: ring 1:1 calls through the Calls SDK 5.1 in React UI Kit 7.4 and Angular UI Kit 5.4 Nov 26, 2026
@PrajwalDhuleCC

Copy link
Copy Markdown
Contributor Author

Reviewing this PR before the kits are released

React UI Kit 7.4.0 and Angular UI Kit 5.4.0 aren't on npm yet, so the install lines that name them won't resolve until they're released. Calls SDK 5.1.1 and Chat SDK 4.2.1 are already on npm.

Reading the pages

The Mintlify preview has every page on this branch. A good order:

  1. The Calls SDK's Ringing page, for how the flow works underneath.
  2. "How calls ring" on each kit's Call Features page: React and Angular.
  3. The component pages, then React's new Custom Call Screens guide and Angular's new Call Host page.

Files changed has the full diff, and the description lists what changed on each page.

Trying the behaviour or a snippet

Run the kit's sample app from its PR. The sample builds the kit from the branch's source, so don't install the kit from npm. Both repos are private to the cometchat-team org.

React (cometchat-team/uikit-react#2459), Node 22:

gh repo clone cometchat-team/uikit-react && cd uikit-react
gh pr checkout 2459
npm ci
cd sample-app && npm ci
UIKIT_LOCAL=1 npm run dev -- --force

It serves on http://localhost:3005 and asks for the app's App ID, Region and Auth Key on its first screen. Without UIKIT_LOCAL=1, the sample runs the kit published on npm, which still rings the old way.

Angular (cometchat-team/uikit-angular#675), Node 24:

gh repo clone cometchat-team/uikit-angular && cd uikit-angular
gh pr checkout 675
PUPPETEER_SKIP_DOWNLOAD=1 npm ci
npm start

First put the app's credentials in projects/sample-app/src/environments/environment.ts, and don't commit them. It serves on http://localhost:4200.

Checking names against the code

Use each kit PR's Files changed. Every public prop, input, export and event is listed in the kit's API report: .github/api/chat-uikit-react.api.md (React) and api/cometchat-uikit.api.md (Angular). Each kit PR's description says how the kit behaves.

Things that may not be obvious

  • Two users: testing a ringing call takes two users, each in their own browser profile or an incognito window, so they don't share a login. The page needs localhost or HTTPS for the camera and microphone.
  • Expected delay: with the dashboard's Connect legacy ringing setting off (the default), a decline, cancel or missed call shows on the other side a few seconds late. The pages say so.
  • Offline support: both samples have it on by default. Add ?offline=0 to the address to turn it off for that tab.
  • Group calls: they don't ring. The kit sends a meeting message, as before.
  • The React pages were first opened as docs(react): ring 1:1 calls through the Calls SDK 5.1 in UI Kit 7.4 #632. That PR is closed, and its commits are merged here unchanged.
  • The Calls SDK pages: their changes (the 5.1.1 install lines and the UI Kit versions on the migration page) were agreed with the Calls SDK team.
  • The Angular kit repo's own docs/ folder: nothing publishes it. These pages are the live ones.
  • Angular's Incoming Call page: the Custom Templates example has no subtitle template on purpose. The description explains why.
  • To confirm: does "Include Call Activities" match the dashboard's label?
  • Merging: this PR stays a draft until both kits are released.

raj-dubey1
raj-dubey1 previously approved these changes Nov 26, 2026

@raj-dubey1 raj-dubey1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review (Claude)
Requested by Prajwal Dhule on Slack · commit 3d373463e4 · round 1

Verdict: Approved (2 minors, 1 nit (+5 pre-existing)). This docs-only PR moves the React UI Kit 7.4 and Angular UI Kit 5.4 calling pages, plus the Calls SDK JS pages, onto the Calls SDK 5.1 ringing flow. I read all 38 changed files and checked the main claims against the two kit PRs (uikit-react#2459 @ b3674f71, uikit-angular#675 @ 84471fb7). Those claims are: hook return fields, unmount behaviour, settings layered over defaults, IncomingCallService methods, Call Host with no inputs or outputs, hideOverlays, the "Outgoing Call"/"Calling..." → "Ringing..." strings, storageMode, and the onAccept/onDecline hand-over. Two introduced minors and one introduced nit remain, plus five pre-existing items; none of them block. The PR must stay a draft until React 7.4.0 and Angular 5.4.0 are published.

Introduced by this PR

  1. 🟡 F1 minor ui-kit/angular/components/cometchat-message-header.mdx:429: Angular Message Header says a group call's settings replace the defaults, but the kit lays them over the defaults for every call
    Observed (line 429, added in PR commit fa64888): 'For a group call, it replaces the defaults.' In uikit-angular#675, OngoingCallService.getCallSettings, the path a group call takes, now returns callSessionSettings(type, appSettings, …). That function builds { ...defaultSessionSettings(type === 'audio'), ...custom }, so group-call settings are layered over the defaults too. The old if (customSettings) return customSettings replace path was removed (gh pr diff 675, ongoing-call.service.ts and ringing-call.service.ts). The same PR's call-buttons.mdx:213/249 and global-config.mdx:143 already state the one rule; later commit 9016b64 updated those pages but missed this line. Fix: replace the sentence with 'For every call, the object is laid over the kit's defaults; a 1:1 call's settings are fixed when the call is placed.'
    class: introduced — line is in the PR diff
  2. 🟡 F2 minor ui-kit/react/guide-custom-call-screens.mdx:74: Custom Call Screens guide doesn't say the call ends when the component using useCometChatCallButtons unmounts
    In uikit-react#2459, useCometChatCallButtons calls useCallButtonsController with screens: 'owner'. Its unmount effect, when state.owner === instanceId && state.screens === 'owner', runs endRingingCall('cancelled') for a ringing call and otherwise dispatches CALL_RESET (gh pr diff 2459, useCometChatCallButtons.ts, 'A call whose screens this button draws can't go on without it'). The guide's Complete Example says to render MyCallButtons 'where your chat header is'. A header that remounts per conversation would cancel or end the call when the user switches chats, and the guide never says so. The Angular pages document the equivalent behaviour (cometchat-call-host.mdx:296, cometchat-call-buttons.mdx:30). Fix: add a sentence under 'The app has one call at a time' saying the hook's call ends with the component that uses it, so the hook should live in a component that stays mounted.
    class: introduced — file added by this PR
  3. ⚪ F4 nit ui-kit/angular/components/cometchat-outgoing-call.mdx:58: Angular Outgoing Call's Basic Usage section no longer has any code
    The PR replaced the standalone example and its Warning with a Note only (lines 58-62). Standalone use is still supported, but no snippet shows [call] and (callCanceled) wired to a Calls SDK cancel. The React page now has one (outgoing-call.mdx:70-106). Suggest a short example that cancels as /calls/javascript/ringing#cancel-a-call describes.
    class: introduced — line is in the PR diff

Pre-existing / not touched by this PR

Informational: these are not from this PR and do not block it. Worth a ticket where they matter.

  1. 🟡 F3 minor ui-kit/react/components/outgoing-call.mdx:129: React Outgoing Call still tells apps to listen for onOutgoingCallAccepted/onOutgoingCallRejected, which the ringing flow doesn't deliver by default
    Line 129: '…the parent component is responsible for managing call state transitions (e.g., listening for onOutgoingCallAccepted or onOutgoingCallRejected)'. This PR's own call-buttons.mdx:220 says those Chat SDK events 'arrive only when Connect legacy ringing is on'. The same page's new standalone example (lines 70-106) uses the hook's showOutgoingCallScreen/showOngoingCall instead. The line was correct for 7.3 and is stale once 7.4 ships. Fix: point to useCometChatCallButtons' state or the call/* events, and say the Chat SDK listeners fire only for legacy-ringing calls or with Connect legacy ringing on.
    class: pre_existing — blame 12ff1c4 predates the PR
  2. ⚪ F5 nit ui-kit/react/integration-react.mdx:84: React integration pages' calling install step has no version, while their table rows now say 5.1.1
    integration-react.mdx:84 still says npm install @cometchat/calls-sdk-javascript with no version, and so do the matching lines in integration-nextjs/astro/react-router. This PR changed the Quick Reference rows on the same pages to '(5.1.1 or later)', and the Angular install step to @^5.1.1. Today npm latest is 5.1.1, so the step still works. Fix: use @^5.1.1 and add the CALLS_SDK_UNAVAILABLE note.
    class: pre_existing — blame 12ff1c4 predates the PR
  3. ⚪ F6 nit ui-kit/react/methods.mdx:62: React 'Setting Session Storage Mode' isn't updated for the Calls SDK, unlike the Angular pages
    uikit-react#2459 CometChatUIKit.ts now calls callsSDK.init({ storageMode: settings?.getStorageMode(), ...callAppSetting }), so setStorageMode reaches the Calls SDK unless CallAppSettings sets its own (gh pr diff 2459, line ~1960). This PR documents that for Angular only (angular/methods.mdx:32, api-reference/introduction.mdx:102). Add the same sentence to React's section.
    class: pre_existing — blame b3b15e1 predates the PR
  4. ⚪ F7 nit ui-kit/react/llms-react-v7.mdx:115: The new React guide isn't listed in the React LLM index, though the Angular index gains Call Host
    guide-custom-call-screens is in docs.json nav but missing from the 'Task guides' list at llms-react-v7.mdx:111-116. This PR adds Call Host to llms-angular-v5.mdx:117. Add the link.
    class: pre_existing — file not touched by this PR
  5. ⚪ F8 nit ui-kit/react/call-features.mdx:93: Outgoing-call screenshot reads 'Calling', while the page now says 'Outgoing Call', then 'Ringing...'
    The image images/444a971e-calling_outgoing_call_web_screens-*.png (viewed) shows the subtitle 'Calling'. The new 'How calls ring' section (line 64) says the screen reads 'Outgoing Call', then 'Ringing...'. That matches the kit: getLocalizedString(calleeRinging ? 'calls_ringing' : 'calls_outgoing_call'), en 'Outgoing Call'. The image already predated 7.4. Refresh the screenshot.
    class: pre_existing — blame 5151b51 predates the PR
Coverage
Row State
Files dispositioned 38
Chunks 1
Interactions One chunk, so the pairs were checked by hand: (1) the call-settings rule across the React and Angular pages vs callSessionSettings in both kits: one stale line, F1; (2) version floors across React ove
Tests prove n/a: docs-only PR, no code or tests to revert
Commits 24 commits in origin/main..HEAD: the React ringing pages, the Angular pages (fa64888, 9016b64, …), the Calls JS commit 3d37346, and merges of main. Finding lines blame to PR commits fa64888 (F1)
Claims Checked against the kit PRs: hook return fields and options; the unmount effect; callSessionSettings layering for every call; Call Host with no inputs/outputs; hideOverlays; IncomingCallService.accept
Public surface n/a: docs-only. docs.json adds two nav entries; no page removed or renamed
Acceptance none provided
Frozen findings first round
Checks run
Command Exit Result
git diff --stat origin/main...HEAD 0 38 files, 726+/271−, merge-base = origin/main 9f7b82a
git diff origin/main...HEAD (all 38 files read) 0 full diff reviewed
git diff --check origin/main...HEAD 0 no whitespace errors or conflict markers
gh pr diff 675 --repo cometchat-team/uikit-angular / grep callSessionSettings/getCallSettings/acceptCall/declineCall/set 0 group calls layered over defaults (F1 confirmed); service methods and hideOverlays exist; Call Host has no inputs or outputs
gh pr diff 2459 --repo cometchat-team/uikit-react / (useCometChatCallButtons.ts, CometChatIncomingCall.tsx, api.md, Come 0 unmount effect ends the call (F3 confirmed); hook return fields match the guide; storageMode passed to callsSDK.init (F7); calls_outgoing_call/calls_ringing strings
git blame on finding lines (outgoing-call.mdx:129, integration-react.mdx:84, methods.mdx:62, call-features.mdx:93, comet 0 F1 and F4 are on PR commits; the rest are on base
gh pr view 633 --repo cometchat/docs --json body,isDraft 0 the PR stays a draft until both kits are released; the author flags the Angular template-context issue and the dashboard label

@PrajwalDhuleCC
PrajwalDhuleCC marked this pull request as ready for review November 27, 2026 07:05
@PrajwalDhuleCC PrajwalDhuleCC self-assigned this Nov 27, 2026
…it 7.3 and Angular UI Kit 5.3

Before 7.4 (React) and 5.4 (Angular), onAccept received a call still to be answered, so apps
called CometChat.acceptCall before joining. A note after each custom-accept example shows that
code and says that joining the session the kit prepared now answers the call.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Angular message header: a group call's settings are laid over the defaults too, as for every
  call; the line said they replace them.
- React custom call screens guide: a call placed with useCometChatCallButtons ends with the
  component that uses it, so the hook belongs in a component that stays mounted.
- React outgoing call: point to the hook's state and the call events; the Chat SDK's
  onOutgoingCallAccepted and onOutgoingCallRejected arrive only with Connect legacy ringing on.
- React integration pages: install the Calls SDK as ^5.1.1, as their tables say.
- React methods: the storage mode reaches the Calls SDK too, as the Angular pages say.
- React LLM index: list the Custom Call Screens guide.

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

Copy link
Copy Markdown
Contributor Author

Thanks for the first-pass review (3d373463). Fixed in bde0bfae:

  • F1: the Angular message header now says a group call's settings are laid over the defaults too, as for every call.
  • F2: the React custom call screens guide now says a call placed with useCometChatCallButtons ends with the component that uses it, so the hook belongs in a component that stays mounted.
  • F3: React's Outgoing Call page now points to the hook's state and the call events. It also says the Chat SDK's onOutgoingCallAccepted and onOutgoingCallRejected arrive only with Connect legacy ringing on.
  • F5: the React integration pages install the Calls SDK as ^5.1.1.
  • F6: React's methods page now says the storage mode reaches the Calls SDK too.
  • F7: the React LLM index lists the Custom Call Screens guide.

Left as they are:

  • F4: Angular's Outgoing Call keeps the note in place of an example, on purpose.
  • F8: the outgoing-call screenshot still reads "Calling". It predates this PR, and a new screenshot can follow after the release.

e1d11458 also adds a "Coming from 7.3 / 5.3" note to each kit's custom-accept example. It shows the old CometChat.acceptCall code that apps should remove.

This branch was successfully deployed

1 active deployment
staging — bde0bfae Deployed Nov 27, 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.

2 participants