Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
231 commits
Select commit Hold shift + click to select a range
8be2ea9
conversation uikit changes
hritika-cometchat Feb 10, 2026
2a1d28f
android-one-to-one-chat changes
hritika-cometchat Feb 10, 2026
120ac26
tab-based and geeting-started
hritika-cometchat Feb 10, 2026
379ca3a
initial improvemnts of react uikit overview and components
PrajwalDhuleCC Feb 11, 2026
90a42ac
basic changes in call-features
hritika-cometchat Feb 11, 2026
42c6d47
basic changes in call-features
hritika-cometchat Feb 11, 2026
59d634c
theme introduction
hritika-cometchat Feb 12, 2026
fc07eab
color-resources
hritika-cometchat Feb 12, 2026
c130326
Improvement of overview, react-conversation, react-js-integration, re…
aanshisingh-cometchat Feb 12, 2026
b2ae8be
component-styling
hritika-cometchat Feb 12, 2026
ca196df
msg-bubble-styling
hritika-cometchat Feb 12, 2026
b1827a2
improve the documentation
aanshisingh-cometchat Feb 13, 2026
db16dce
improve the sequence
aanshisingh-cometchat Feb 13, 2026
cef61ed
basic changes
hritika-cometchat Feb 16, 2026
075c37a
removed extra files.
hritika-cometchat Feb 16, 2026
70bff0c
improve the theme folder documentation
aanshisingh-cometchat Feb 16, 2026
71f62eb
events
hritika-cometchat Feb 16, 2026
65f8939
core-features
hritika-cometchat Feb 16, 2026
891c194
refactor: improve the uikit doc inorder to make it ai agent readable
aanshisingh-cometchat Feb 17, 2026
5c8a547
Update overview.mdx
swapnil-cometchat Feb 18, 2026
634512a
Update overview.mdx
swapnil-cometchat Feb 18, 2026
7a10731
fixes errors
swapnil-cometchat Feb 18, 2026
447886f
Merge branch 'main' into docs/react-ui-kit-v6
swapnil-cometchat Feb 18, 2026
534e8c1
Update react-js-integration.mdx
swapnil-cometchat Feb 18, 2026
cc1a2e3
Update react-conversation.mdx
swapnil-cometchat Feb 18, 2026
9a353a3
Update react-conversation.mdx
swapnil-cometchat Feb 18, 2026
9e3b877
run app via respective framework
swapnil-cometchat Feb 18, 2026
3d22bea
Update react-one-to-one-chat.mdx
swapnil-cometchat Feb 18, 2026
b60f772
Update react-tab-based-chat.mdx
swapnil-cometchat Feb 18, 2026
76bd12a
updates highlights and lines
swapnil-cometchat Feb 18, 2026
d499e94
Update next-one-to-one-chat.mdx
swapnil-cometchat Feb 18, 2026
09f573c
Update next-tab-based-chat.mdx
swapnil-cometchat Feb 18, 2026
df669bc
Update react-router-integration.mdx
swapnil-cometchat Feb 18, 2026
a65d00f
Update react-router-conversation.mdx
swapnil-cometchat Feb 18, 2026
9988980
Update react-router-one-to-one-chat.mdx
swapnil-cometchat Feb 18, 2026
79c568f
Update react-router-tab-based-chat.mdx
swapnil-cometchat Feb 18, 2026
63b2b10
removes <Note> **Available via:**
swapnil-cometchat Feb 18, 2026
ea70bd7
Update ai-features.mdx
swapnil-cometchat Feb 18, 2026
fa05441
Update ai-features.mdx
swapnil-cometchat Feb 18, 2026
dcffae9
Update extensions.mdx
swapnil-cometchat Feb 18, 2026
7cc4b70
Update ai-features.mdx
swapnil-cometchat Feb 18, 2026
b9d98d3
Update theme.mdx
swapnil-cometchat Feb 18, 2026
fddfa82
Update theme.mdx
swapnil-cometchat Feb 18, 2026
dec15c0
Update color-resources.mdx
swapnil-cometchat Feb 19, 2026
d1aadb7
Update conversations.mdx
swapnil-cometchat Feb 19, 2026
7812825
Update users.mdx
swapnil-cometchat Feb 19, 2026
21e2518
Update users.mdx
swapnil-cometchat Feb 19, 2026
8613f20
Update users.mdx
swapnil-cometchat Feb 19, 2026
762449d
Update groups.mdx
swapnil-cometchat Feb 19, 2026
0197365
Update groups.mdx
swapnil-cometchat Feb 19, 2026
440240f
Update groups.mdx
swapnil-cometchat Feb 19, 2026
868045e
Update users.mdx
swapnil-cometchat Feb 19, 2026
09b7f61
Update group-members.mdx
swapnil-cometchat Feb 19, 2026
a10b3eb
Update group-members.mdx
swapnil-cometchat Feb 19, 2026
4e29a17
Update group-members.mdx
swapnil-cometchat Feb 19, 2026
64af67d
Update message-header.mdx
swapnil-cometchat Feb 19, 2026
493e40a
Update message-header.mdx
swapnil-cometchat Feb 19, 2026
86e9f42
Update message-header.mdx
swapnil-cometchat Feb 19, 2026
a64e887
Update message-header.mdx
swapnil-cometchat Feb 19, 2026
51578f5
Update message-header.mdx
swapnil-cometchat Feb 19, 2026
8cb2e0e
Update message-header.mdx
swapnil-cometchat Feb 19, 2026
9e24232
Update message-header.mdx
swapnil-cometchat Feb 19, 2026
a040c8a
Update message-list.mdx
swapnil-cometchat Feb 19, 2026
8023cd3
Update message-header.mdx
swapnil-cometchat Feb 19, 2026
af6d8d1
Update message-list.mdx
swapnil-cometchat Feb 19, 2026
e690982
adds line numbers
swapnil-cometchat Feb 19, 2026
5f214e3
Update message-list.mdx
swapnil-cometchat Feb 19, 2026
504f307
updates the #####
swapnil-cometchat Feb 19, 2026
82a9cbf
updates css
swapnil-cometchat Feb 19, 2026
e635b40
Update outgoing-call.mdx
swapnil-cometchat Feb 19, 2026
82e44b4
Update methods.mdx
swapnil-cometchat Feb 19, 2026
1fe008e
Update events.mdx
swapnil-cometchat Feb 19, 2026
8e2ba7e
Update getting-started.mdx
swapnil-cometchat Feb 19, 2026
28aa064
Update android-conversation.mdx
swapnil-cometchat Feb 19, 2026
d46c211
Update android-one-to-one-chat.mdx
swapnil-cometchat Feb 19, 2026
0ab11e3
Update android-tab-based-chat.mdx
swapnil-cometchat Feb 20, 2026
55e1f6a
Update ai-features.mdx
swapnil-cometchat Feb 20, 2026
5d3c622
updates features
swapnil-cometchat Feb 20, 2026
4d616a8
Update call-features.mdx
swapnil-cometchat Feb 20, 2026
23cb9af
adds lines to codes
swapnil-cometchat Feb 20, 2026
15f4e75
Update component-styling.mdx
swapnil-cometchat Feb 20, 2026
0635ea6
Update message-bubble-styling.mdx
swapnil-cometchat Feb 20, 2026
588e574
Update message-bubble-styling.mdx
swapnil-cometchat Feb 20, 2026
98c6a69
Update component-styling.mdx
swapnil-cometchat Feb 20, 2026
5955c08
Update localize.mdx
swapnil-cometchat Feb 20, 2026
e12dc45
Update localize.mdx
swapnil-cometchat Feb 20, 2026
9b09de8
Update theme-introduction.mdx
swapnil-cometchat Feb 20, 2026
742515f
Update color-resources.mdx
swapnil-cometchat Feb 20, 2026
8bf3e36
Update component-styling.mdx
swapnil-cometchat Feb 20, 2026
ff8d584
Update localize.mdx
swapnil-cometchat Feb 20, 2026
498577f
Update sound-manager.mdx
swapnil-cometchat Feb 20, 2026
a8637f4
Update components-overview.mdx
swapnil-cometchat Feb 20, 2026
b219a12
agentic docs for components
swapnil-cometchat Feb 21, 2026
3bbfaef
agentic docss
swapnil-cometchat Feb 21, 2026
44592f8
fixes pages for features and theming
swapnil-cometchat Feb 22, 2026
84e400f
components
swapnil-cometchat Feb 22, 2026
e8ae82c
updates components for agents
swapnil-cometchat Feb 23, 2026
ca631dc
Update core-features.mdx
swapnil-cometchat Feb 23, 2026
7707474
Revert "updates components for agents"
swapnil-cometchat Feb 23, 2026
999f94b
Revert "Update core-features.mdx"
swapnil-cometchat Feb 23, 2026
965bb71
Revert "fixes pages for features and theming"
swapnil-cometchat Feb 23, 2026
f79eb21
Update .gitignore
swapnil-cometchat Feb 24, 2026
8973bc3
Update extensions.mdx
swapnil-cometchat Feb 24, 2026
26cd64e
Update core-features.mdx
swapnil-cometchat Feb 24, 2026
4f57069
Update ai-features.mdx
swapnil-cometchat Feb 24, 2026
6090679
Update call-features.mdx
swapnil-cometchat Feb 24, 2026
9a6e7ba
Update overview.mdx
swapnil-cometchat Feb 25, 2026
b44b36e
adds AI Agent Component Spec
swapnil-cometchat Feb 25, 2026
bb5de77
Update message-composer.mdx
swapnil-cometchat Feb 25, 2026
a1b6e6b
Update message-bubble-styling.mdx
swapnil-cometchat Feb 25, 2026
f66307e
Update message-bubble-styling.mdx
swapnil-cometchat Feb 25, 2026
519755b
Update message-bubble-styling.mdx
swapnil-cometchat Feb 25, 2026
7109292
Update core-features.mdx
swapnil-cometchat Feb 25, 2026
64afaf3
Update components-overview.mdx
swapnil-cometchat Feb 25, 2026
1433f76
Removed ## Prerequisites, ## Quick start, and ## Core concepts from t…
swapnil-cometchat Feb 25, 2026
25c4e41
updates What this does:
swapnil-cometchat Feb 25, 2026
cb0923c
Update components-overview.mdx
swapnil-cometchat Feb 25, 2026
b5959f5
Update components-overview.mdx
swapnil-cometchat Feb 25, 2026
b15a7b8
updates
swapnil-cometchat Feb 25, 2026
e2ccd93
restores components
swapnil-cometchat Feb 25, 2026
2fb525a
Updates the components to meet agentic world specs
swapnil-cometchat Feb 26, 2026
762d027
Update components-overview.mdx
swapnil-cometchat Feb 26, 2026
9b6c398
Update conversations.mdx
swapnil-cometchat Feb 26, 2026
9354a18
Update conversations.mdx
swapnil-cometchat Feb 26, 2026
b3fed53
Update conversations.mdx
swapnil-cometchat Feb 26, 2026
f4250cd
Update conversations.mdx
swapnil-cometchat Feb 26, 2026
9799757
Update conversations.mdx
swapnil-cometchat Feb 26, 2026
3090a67
Update users.mdx
swapnil-cometchat Feb 26, 2026
51e5a7a
Update groups.mdx
swapnil-cometchat Feb 26, 2026
e36c809
Update group-members.mdx
swapnil-cometchat Feb 26, 2026
2ab9199
Update message-header.mdx
swapnil-cometchat Feb 26, 2026
6d460d4
Update message-list.mdx
swapnil-cometchat Feb 26, 2026
beebf7e
Update message-composer.mdx
swapnil-cometchat Feb 26, 2026
d8537e3
Update message-composer.mdx
swapnil-cometchat Feb 26, 2026
04f2af2
Update message-template.mdx
swapnil-cometchat Feb 26, 2026
2a0785e
Update thread-header.mdx
swapnil-cometchat Feb 26, 2026
f508288
Update incoming-call.mdx
swapnil-cometchat Feb 26, 2026
25dae50
Update outgoing-call.mdx
swapnil-cometchat Feb 26, 2026
3c92977
Update call-buttons.mdx
swapnil-cometchat Feb 26, 2026
0b77954
Update call-logs.mdx
swapnil-cometchat Feb 26, 2026
4e2f1cb
Update call-logs.mdx
swapnil-cometchat Feb 26, 2026
5b9f4fa
Update search.mdx
swapnil-cometchat Feb 26, 2026
65b2932
Update ai-assistant-chat.mdx
swapnil-cometchat Feb 26, 2026
e5f4f7a
Update components-overview.mdx
swapnil-cometchat Feb 26, 2026
19d3628
rewamp Theming
swapnil-cometchat Feb 26, 2026
ee5f8bd
Update users.mdx
swapnil-cometchat Feb 26, 2026
1406b47
Update groups.mdx
swapnil-cometchat Feb 26, 2026
2c0d1bb
Update thread-header.mdx
swapnil-cometchat Feb 26, 2026
2b4c1a5
Update search.mdx
swapnil-cometchat Feb 26, 2026
01c4d6f
Update message-list.mdx
swapnil-cometchat Feb 26, 2026
ec08779
Update message-header.mdx
swapnil-cometchat Feb 26, 2026
d9bdaea
Update message-composer.mdx
swapnil-cometchat Feb 26, 2026
d7f26e4
Update incoming-call.mdx
swapnil-cometchat Feb 26, 2026
a2a6014
Update ai-assistant-chat.mdx
swapnil-cometchat Feb 26, 2026
e827252
Update call-buttons.mdx
swapnil-cometchat Feb 26, 2026
633d05f
updates theming
swapnil-cometchat Feb 26, 2026
b88f3a8
updates events and methods
swapnil-cometchat Feb 26, 2026
13f6f24
Update conversations.mdx
swapnil-cometchat Feb 26, 2026
72fe6d0
initial SOTA version
swapnil-cometchat Feb 27, 2026
da4d9dc
Update overview.mdx
swapnil-cometchat Feb 27, 2026
e1fced3
Troubleshooting
swapnil-cometchat Feb 27, 2026
fbf4dc4
react docs
swapnil-cometchat Feb 27, 2026
ef0497e
Update astro-tab-based-chat.mdx
swapnil-cometchat Feb 27, 2026
7da4a49
updates components
swapnil-cometchat Feb 27, 2026
9752c53
fix
swapnil-cometchat Feb 27, 2026
7e38d4f
updates overview
swapnil-cometchat Feb 27, 2026
13c46ff
Update react-js-integration.mdx
swapnil-cometchat Feb 27, 2026
ac0ca87
Update overview.mdx
swapnil-cometchat Feb 27, 2026
da7ab48
React StrictMode note
swapnil-cometchat Feb 27, 2026
1f9057a
Update react-js-integration.mdx
swapnil-cometchat Feb 27, 2026
6d4f367
Update react-js-integration.mdx
swapnil-cometchat Feb 27, 2026
58da8db
Update next-js-integration.mdx
swapnil-cometchat Feb 27, 2026
e1ae657
mintlify doc component update
swapnil-cometchat Feb 27, 2026
48a6677
Update astro-integration.mdx
swapnil-cometchat Feb 27, 2026
d700a7b
updates mintlify components
swapnil-cometchat Feb 27, 2026
c6d9ba5
fixes Incorrect Information (will break code if copy-pasted)
swapnil-cometchat Feb 27, 2026
1f39abc
fixes documentation for missing methods
swapnil-cometchat Feb 27, 2026
85cb74b
fixes incorrect information in Android Guides
swapnil-cometchat Feb 27, 2026
38e906a
corrects mistakes in guides
swapnil-cometchat Feb 27, 2026
a1d3985
Update conversations.mdx
swapnil-cometchat Feb 27, 2026
51cbc56
Update conversations.mdx
swapnil-cometchat Feb 27, 2026
3f9d4b1
Update conversations.mdx
swapnil-cometchat Feb 27, 2026
4c39b05
Update conversations.mdx
swapnil-cometchat Feb 27, 2026
574931f
Update conversations.mdx
swapnil-cometchat Feb 27, 2026
5d76409
Update conversations.mdx
swapnil-cometchat Feb 27, 2026
036e05c
components
swapnil-cometchat Feb 27, 2026
fe6edf0
Update outgoing-call.mdx
swapnil-cometchat Feb 27, 2026
dfd8792
Update message-bubble-styling.mdx
swapnil-cometchat Feb 27, 2026
b71cf7b
Update call-features.mdx
swapnil-cometchat Feb 27, 2026
e13f195
Update android-tab-based-chat.mdx
swapnil-cometchat Feb 27, 2026
143f8a1
fixes issues in Reference
swapnil-cometchat Feb 27, 2026
1e30b4d
Update extensions.mdx
swapnil-cometchat Feb 27, 2026
b7165a3
fixes references
swapnil-cometchat Feb 27, 2026
96a5159
Fixes Theming
swapnil-cometchat Feb 27, 2026
853c1e9
fixes docs
swapnil-cometchat Feb 27, 2026
da44ad7
Update message-template.mdx
swapnil-cometchat Feb 27, 2026
5ededd9
fixes guides
swapnil-cometchat Feb 27, 2026
a31e35b
Update .gitignore
swapnil-cometchat Mar 1, 2026
e7506b8
Update overview.mdx
swapnil-cometchat Mar 1, 2026
5e63fc6
updates react js integration guides
swapnil-cometchat Mar 1, 2026
cc4366a
updates next integration guide
swapnil-cometchat Mar 1, 2026
b747908
updates react router integration guide
swapnil-cometchat Mar 1, 2026
ecbcc66
astro integration
swapnil-cometchat Mar 1, 2026
0e87a12
updates guides
swapnil-cometchat Mar 1, 2026
2085043
Update color-resources.mdx
swapnil-cometchat Mar 1, 2026
f6447d0
theming
swapnil-cometchat Mar 1, 2026
584df0d
Update upgrading-from-v5.mdx
swapnil-cometchat Mar 1, 2026
007489b
Update core-features.mdx
swapnil-cometchat Mar 1, 2026
317c2e2
Update property-changes.mdx
swapnil-cometchat Mar 1, 2026
8d0348b
updates SOTA suggestions for lines
swapnil-cometchat Mar 1, 2026
89dd7a3
updates suggestions
swapnil-cometchat Mar 1, 2026
6d289c9
updates guides
swapnil-cometchat Mar 1, 2026
5f99a46
Update components-overview.mdx
swapnil-cometchat Mar 1, 2026
680d7f2
docs update
swapnil-cometchat Mar 1, 2026
0888209
Update upgrading-from-v5.mdx
swapnil-cometchat Mar 1, 2026
15058f5
updates react ui kit v6
swapnil-cometchat Mar 1, 2026
faba635
Create .mintignore
swapnil-cometchat Mar 1, 2026
9a09498
Update .gitignore
swapnil-cometchat Mar 2, 2026
4db36e5
Merge branch 'docs/agentic-android-v5' into docs/release-ui-kit-phase-1
swapnil-cometchat Mar 2, 2026
c47914d
updates components
swapnil-cometchat Mar 2, 2026
eacfabe
updates the android v5 docs
swapnil-cometchat Mar 2, 2026
8cb4b55
Update getting-started.mdx
swapnil-cometchat Mar 2, 2026
bde1c25
highlights
swapnil-cometchat Mar 2, 2026
38bd261
clean up
swapnil-cometchat Mar 2, 2026
76dab01
Update message-bubble-styling.mdx
swapnil-cometchat Mar 2, 2026
a58043d
Troubleshooting
swapnil-cometchat Mar 2, 2026
13b2033
Update troubleshooting.mdx
swapnil-cometchat Mar 2, 2026
13c494b
integration guide
swapnil-cometchat Mar 3, 2026
95e4e6b
AI Agent Component Spec
swapnil-cometchat Mar 3, 2026
60f5d01
fixes
swapnil-cometchat Mar 3, 2026
57924bb
customizations and guides
swapnil-cometchat Mar 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
.DS_Store

.kiro/

# IDE files
.idea/

# Python caches
__pycache__/
*.pyc
/codebase
2 changes: 2 additions & 0 deletions .mintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.kiro/
/codebase
32 changes: 23 additions & 9 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@
"ui-kit/react/property-changes"
]
},
"ui-kit/react/troubleshooting",
"ui-kit/react/link/sample",
"ui-kit/react/link/changelog",
"ui-kit/react/link/figma"
Expand Down Expand Up @@ -1550,6 +1551,21 @@
"ui-kit/android/sound-manager"
]
},
{
"group": "Customization",
"pages": [
"ui-kit/android/customization-overview",
"ui-kit/android/customization-view-slots",
"ui-kit/android/customization-styles",
"ui-kit/android/customization-viewmodel-data",
"ui-kit/android/customization-adapters",
"ui-kit/android/customization-events",
"ui-kit/android/customization-state-views",
"ui-kit/android/customization-text-formatters",
"ui-kit/android/customization-menu-options",
"ui-kit/android/customization-datasource"
]
},
{
"group": "Components",
"pages": [
Expand All @@ -1561,6 +1577,7 @@
"ui-kit/android/message-header",
"ui-kit/android/message-list",
"ui-kit/android/message-composer",
"ui-kit/android/message-template",
"ui-kit/android/threaded-messages-header",
"ui-kit/android/incoming-call",
"ui-kit/android/outgoing-call",
Expand All @@ -1577,14 +1594,6 @@
"ui-kit/android/events"
]
},
{
"group": "Advanced",
"pages": [
"ui-kit/android/message-template",
"ui-kit/android/mentions-formatter-guide",
"ui-kit/android/shortcut-formatter-guide"
]
},
{
"group": "Guides",
"pages": [
Expand All @@ -1593,9 +1602,13 @@
"ui-kit/android/guide-block-unblock-user",
"ui-kit/android/guide-new-chat",
"ui-kit/android/guide-message-privately",
"ui-kit/android/guide-search-messages",
"ui-kit/android/guide-call-log-details",
"ui-kit/android/guide-group-chat",
"ui-kit/android/guide-ai-agent"
"ui-kit/android/guide-ai-agent",
"ui-kit/android/custom-text-formatter-guide",
"ui-kit/android/mentions-formatter-guide",
"ui-kit/android/shortcut-formatter-guide"
]
},
{
Expand All @@ -1605,6 +1618,7 @@
"ui-kit/android/property-changes"
]
},
"ui-kit/android/troubleshooting",
"ui-kit/android/link/sample",
"ui-kit/android/link/figma",
"ui-kit/android/link/changelog"
Expand Down
38 changes: 19 additions & 19 deletions fundamentals/extensions-overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,32 @@ Extensions pickup where our core leaves. They help extend the functionality of C

Extensions that help improve the user messaging experience. *Recommended for most apps.*

[Pin message](/fundamentals/pin-message)\
[Bitly](/fundamentals/bitly)\
[Avatars](/fundamentals/avatars)\
[Message shortcuts](/fundamentals/message-shortcuts)\
[Link Preview](/fundamentals/link-preview)\
[Message shortcuts](/fundamentals/message-shortcuts)\
[Pin message](/fundamentals/pin-message)\
[Rich Media Preview](/fundamentals/rich-media-preview)\
[Save message](/fundamentals/save-message)\
[Thumbnail Generation](/fundamentals/thumbnail-generation)\
[TinyURL](/fundamentals/tinyurl)\
[Voice Transcription](/fundamentals/voice-transcription)
[Voice Transcription](/fundamentals/voice-transcription)\
[Avatars](/fundamentals/avatars)

### User Engagement

Extensions that help increase user engagement. *Recommended for advanced apps.*

[Email replies](/fundamentals/email-replies)\
[Polls](/fundamentals/polls)\
[Giphy](/fundamentals/giphy)\
[Mentions](/fundamentals/mentions)\
[Message Translation](/fundamentals/message-translation)\
[Reactions](/fundamentals/reactions)\
[Smart Reply](/fundamentals/smart-replies)\
[Polls](/fundamentals/polls)\
[Reminders](/fundamentals/reminders)\
[Stickers](/fundamentals/stickers)\
[Stipop](/fundamentals/stickers-stipop)\
[Tenor](/fundamentals/tenor)\
[Reminders](/fundamentals/reminders)\
[Email replies](/fundamentals/email-replies)\
[Mentions](/fundamentals/mentions)\
[Reactions](/fundamentals/reactions)\
[Smart Reply](/fundamentals/smart-replies)\
[Live Streaming by api.video](/fundamentals/video-broadcasting)

### Collaboration
Expand All @@ -46,12 +46,19 @@ Extensions that help with collaboration. *Recommended for advanced apps.*
[Collaborative Whiteboard](/fundamentals/collaborative-whiteboard)\
[Collaborative Document](/fundamentals/collaborative-document)

### Security

*Extensions that help you to build adding extra security to your apps.* *Recommended for live streaming and event apps.*

[Disappearing messages](/fundamentals/disappearing-messages)\
[End to End Encryption](/fundamentals/end-to-end-encryption)

### Customer Support

Extensions that help you add support to your app. *Recommended for advanced apps.*

[Intercom](/fundamentals/intercom)\
[Chatwoot](/fundamentals/chatwoot)
[Chatwoot](/fundamentals/chatwoot)\
[Intercom](/fundamentals/intercom)

### Notifications

Expand All @@ -66,10 +73,3 @@ Extensions that help alert users of new messages. *Recommended for all apps.*
*Extensions that help you to build a safe messaging environment.* *Recommended for live streaming and event apps.*

[Legacy Moderation Extensions](/moderation/legacy-extensions)

### Security

*Extensions that help you to build adding extra security to your apps.* *Recommended for live streaming and event apps.*

[Disappearing messages](/fundamentals/disappearing-messages)\
[End to End Encryption](/fundamentals/end-to-end-encryption)
66 changes: 60 additions & 6 deletions sdk/javascript/video-view-customisation.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
---
title: "Video View Customisation"
description: "Customize the main video container in CometChat calls — aspect ratio, full screen button, name label, and network label positioning."
---


<Info>
**Quick Reference**
- **Class:** `CometChat.MainVideoContainerSetting`
- **Apply via:** `CallSettingsBuilder.setMainVideoContainerSetting(videoSettings)`
- **Customizable elements:** Aspect ratio, full screen button, name label, network label
- **Position constants:** `POSITION_TOP_LEFT`, `POSITION_TOP_RIGHT`, `POSITION_BOTTOM_LEFT`, `POSITION_BOTTOM_RIGHT`
- **Requires:** [Default Calling](/sdk/javascript/default-call) or [Direct Calling](/sdk/javascript/direct-call) setup
</Info>

This section will guide you to customise the main video container.

Expand All @@ -26,16 +34,62 @@ The `MainVideoContainerSetting` Class is the required in case you want to custom
Example:

<Tabs>
<Tab title="TypeScript">
```typescript
<Tab title="JavaScript">
```javascript
let videoSettings = new CometChat.MainVideoContainerSetting();

videoSettings.setMainVideoAspectRatio(CometChat.CallSettings.ASPECT_RATIO_CONTAIN);
videoSettings.setMainVideoAspectRatio(CometChat.CallSettings.ASPECT_RATIO_CONTAIN);
videoSettings.setFullScreenButtonParams(CometChat.CallSettings.POSITION_BOTTOM_RIGHT, true);
videoSettings.setNameLabelParams(CometChat.CallSettings.POSITION_BOTTOM_LEFT, true, "rgba(27, 27, 27, 0.4)");
videoSettings.setNetworkLabelParams(CometChat.CallSettings.POSITION_BOTTOM_RIGHT, true);
videoSettings.setNetworkLabelParams(CometChat.CallSettings.POSITION_BOTTOM_RIGHT, true);
```

</Tab>
<Tab title="TypeScript">
```typescript
let videoSettings: CometChat.MainVideoContainerSetting = new CometChat.MainVideoContainerSetting();

videoSettings.setMainVideoAspectRatio(CometChat.CallSettings.ASPECT_RATIO_CONTAIN);
videoSettings.setFullScreenButtonParams(CometChat.CallSettings.POSITION_BOTTOM_RIGHT, true);
videoSettings.setNameLabelParams(CometChat.CallSettings.POSITION_BOTTOM_LEFT, true, "rgba(27, 27, 27, 0.4)");
videoSettings.setNetworkLabelParams(CometChat.CallSettings.POSITION_BOTTOM_RIGHT, true);
```
</Tab>
</Tabs>

<AccordionGroup>
<Accordion title="Best Practices">

| Practice | Details |
| --- | --- |
| Aspect ratio choice | Use `ASPECT_RATIO_CONTAIN` to show the full video without cropping; use `ASPECT_RATIO_COVER` for a full-bleed look that may crop edges |
| Label positioning | Avoid placing the name label and network label in the same corner to prevent overlap |
| Full screen button | Keep the full screen button visible for better UX; only hide it if your app provides its own full screen toggle |

</Accordion>
<Accordion title="Troubleshooting">

| Symptom | Cause | Fix |
| --- | --- | --- |
| Video settings not applied | `setMainVideoContainerSetting()` not called on `CallSettingsBuilder` | Pass the `MainVideoContainerSetting` object to `CallSettingsBuilder.setMainVideoContainerSetting()` before calling `startCall()` |
| Labels overlapping | Multiple labels positioned in the same corner | Assign different position constants to each label |
| Full screen button missing | Visibility set to `false` | Set the second parameter of `setFullScreenButtonParams()` to `true` |

</Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
<Card title="Default Calling" icon="phone" href="/sdk/javascript/default-call">
Implement default audio/video calling.
</Card>
<Card title="Direct Calling" icon="video" href="/sdk/javascript/direct-call">
Implement direct calling without call events.
</Card>
<Card title="Virtual Background" icon="image" href="/sdk/javascript/virtual-background">
Add virtual background and blur effects.
</Card>
<Card title="Recording" icon="circle-dot" href="/sdk/javascript/recording">
Record calls for playback.
</Card>
</CardGroup>
69 changes: 53 additions & 16 deletions sdk/javascript/virtual-background.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
---
title: "Virtual Background"
description: "Implement virtual background features in CometChat video calls — background blur, custom images, and enforced backgrounds using the JavaScript SDK."
---


<Info>
**Quick Reference**
- **Settings class:** `CometChat.VirtualBackground`
- **Apply via:** `CallSettingsBuilder.setVirtualBackground(virtualBackground)`
- **Toggle UI:** `CallSettingsBuilder.showVirtualBackgroundSetting(true|false)`
- **Runtime control:** `CometChat.CallController.getInstance()` → `setBackgroundBlur()`, `setBackgroundImage()`, `openVirtualBackground()`
- **Requires:** [Default Calling](/sdk/javascript/default-call) or [Direct Calling](/sdk/javascript/direct-call) setup
</Info>

This section will guide you to implement virtual background feature in video calls.

Expand Down Expand Up @@ -35,21 +43,17 @@ You can use the `openVirtualBackground()` method to open the virtual background

<Tabs>
<Tab title="JavaScript">
```js
```javascript
let callController = CometChat.CallController.getInstance();
callController.openVirtualBackground();
```

</Tab>

<Tab title="TypeScript">
```typescript
let callController: CometChat.CallController = CometChat.CallController.getInstance();
callController.openVirtualBackground();
```

</Tab>

</Tabs>

### Set Background Blur
Expand All @@ -58,23 +62,19 @@ You can use the `setBackgroundBlur()` method to apply background blur on the vid

<Tabs>
<Tab title="JavaScript">
```js
```javascript
let callController = CometChat.CallController.getInstance();
let blurLevel = 1;
callController.setBackgroundBlur(blurLevel);
```

</Tab>

<Tab title="TypeScript">
```typescript
let callController: CometChat.CallController = CometChat.CallController.getInstance();
let blurLevel: number = 1;
callController.setBackgroundBlur(blurLevel);
```

</Tab>

</Tabs>

### Set Background Image
Expand All @@ -83,23 +83,19 @@ You can use the `setBackgroundImage()`method to set the background image. This m

<Tabs>
<Tab title="JavaScript">
```js
```javascript
let callController = CometChat.CallController.getInstance();
let imageURL = "URL_OF_BACKGROUND_IMAGE";
callController.setBackgroundImage(imageURL);
```

</Tab>

<Tab title="TypeScript">
```typescript
let callController: CometChat.CallController = CometChat.CallController.getInstance();
let imageURL: string = "URL_OF_BACKGROUND_IMAGE";
callController.setBackgroundImage(imageURL);
```

</Tab>

</Tabs>

## Virtual Background Settings
Expand All @@ -114,3 +110,44 @@ The `VirtualBackground` Class is the required in case you want to change how the
| `setImages(images: Array<String>)` | This method allows developer to add their custom background image which the end user can choose. |
| `enforceBackgroundBlur(enforceBackgroundBlur: number)` | This method starts the call with background blurred. To blur the background you need to pass an integer value between 1-99 which decides the blur level. **Default = 0** |
| `enforceBackgroundImage(enforceBackgroundImage: string)` | This methods starts the call with the provided background image. |

<AccordionGroup>
<Accordion title="Best Practices">

| Practice | Details |
| --- | --- |
| Blur level range | Use values between 1-99 for `enforceBackgroundBlur()`. Higher values produce stronger blur. A value of 0 disables blur |
| Image hosting | Host background images on a CDN for fast loading. Large images may cause lag when applied |
| Enforce vs allow | Use `enforceBackgroundBlur()` or `enforceBackgroundImage()` when you want a mandatory background (e.g., for privacy). Use `allowBackgroundBlur()` and `allowUserImages()` to let users choose |
| Custom buttons | Use `CallController` methods (`setBackgroundBlur`, `setBackgroundImage`, `openVirtualBackground`) when building a custom UI instead of the default CometChat menu |

</Accordion>
<Accordion title="Troubleshooting">

| Symptom | Cause | Fix |
| --- | --- | --- |
| Virtual background option not visible | `showVirtualBackgroundSetting(false)` was set | Set `showVirtualBackgroundSetting(true)` in `CallSettingsBuilder` |
| Background blur not applied on call start | `enforceBackgroundBlur()` not set or set to 0 | Pass a value between 1-99 to `enforceBackgroundBlur()` |
| Custom images not appearing | `setImages()` not called or empty array passed | Pass a non-empty array of valid image URLs to `setImages()` |
| `CallController.getInstance()` returns null | Called before the call has started | Only use `CallController` methods after `startCall()` has been invoked |
| User can't upload their own images | `allowUserImages(false)` was set | Set `allowUserImages(true)` in the `VirtualBackground` configuration |

</Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
<Card title="Video View Customisation" icon="sliders" href="/sdk/javascript/video-view-customisation">
Customize the main video container layout.
</Card>
<Card title="Recording" icon="circle-dot" href="/sdk/javascript/recording">
Record calls for playback.
</Card>
<Card title="Presenter Mode" icon="presentation-screen" href="/sdk/javascript/presenter-mode">
Enable screen sharing and presenter mode.
</Card>
<Card title="Custom CSS" icon="paintbrush" href="/sdk/javascript/custom-css">
Customize the calling UI appearance.
</Card>
</CardGroup>
Loading