Skip to content

v7.0.0

Choose a tag to compare

@shagundeogharkar shagundeogharkar released this 24 Jun 06:29
· 5 commits to v7 since this release
e2d88db

New

  • Added CometChatFrameProvider for rendering the UIKit inside iframes; all popovers, modals, context menus, and focus management delegate to the correct document/window context.
  • Added CometChatNotificationFeed component for rendering push notification history, with support for notification categories, timestamp grouping, unread counts, and card actions.
  • Added useNotificationUnreadCount() hook for tracking unread count with shared polling.

Enhancements

  • Restructured CometChatProvider to accept individual props (appId, region, authKey/authToken, uid, callingEnabled, etc.) instead of a pre-built settings object; centralized plugin registry removed (plugins prop, setPlugins()/getPlugins() dropped) with plugin handling delegated to individual components.
  • Added a removePlugins prop to CometChatProvider — pass an array of { text, category } to exclude matching plugins, including defaults. A plugin is removed when its messageTypes includes text and its messageCategories includes category.
  • Added useDefaultMessageTypes() and useDefaultMessageCategories() hooks — expose the live message types/categories CometChatMessageList passes to the messagesRequestBuilder (setTypes/setCategories), reflecting the active plugins and any removePlugins exclusions.
  • Added dedicated Storybook stories for: Call Buttons, Group Action Bubble, Call Action Bubble, Collaborative Document Bubble, Collaborative Whiteboard Bubble, Action Bubble (base), Delete Bubble (base).
  • Updated CometChatMessageBubble stories to render new message-driven bubbles.

Fixes

  • None