Skip to content

Add campaigns docs, options prop, and fix navigation links for v7#389

Open
shagundeogharkar wants to merge 1 commit into
react-uikit-v7from
react-uikit-v7-temp
Open

Add campaigns docs, options prop, and fix navigation links for v7#389
shagundeogharkar wants to merge 1 commit into
react-uikit-v7from
react-uikit-v7-temp

Conversation

@shagundeogharkar

Copy link
Copy Markdown
Contributor

Changes

Campaigns Feature Documentation

  • Added ui-kit/react/v7/campaigns.mdx — high-level campaigns overview (architecture, card schema, push notifications, UI Kit usage)
  • Added ui-kit/react/v7/components/notification-feed.mdx — full component documentation with props, compound composition, CSS classes, hooks, and common patterns
  • Added both pages to docs.json navigation (Features section + Components section)

Conversations - Options Prop

  • Re-added the options prop to conversations.mdx (Quick Reference JSON, view slot example with images, and Props section)
  • Uses v7 CometChatConversationOption interface pattern (plain objects with onClick: (conv) => ...)

Link Fixes

  • Fixed campaigns.mdx links to point to v7 notification-feed component page
  • Fixed notification-feed.mdx Next Steps links to point to v7 pages (campaigns, theming, components-overview)

V7 Architecture Applied

  • No css-variables.css imports in any code blocks
  • Compound composition documentation (.Root, .Header, .FilterChips, .List, etc.)
  • useNotificationUnreadCount hook instead of standalone badge component

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