From a549bfd6e25b7ccf4a933551d910860a5befe65f Mon Sep 17 00:00:00 2001 From: aanshisingh-cometchat Date: Fri, 11 Sep 2026 17:28:07 +0530 Subject: [PATCH 1/2] docs(ui-kit/angular): flatten single-page component nav groups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Components nav wrapped seven single-page entries in their own accordion — Message Header, Search, Message List, Message Composer, Message Bubble, Message Information and Thread Header — so every one cost a click to reach a single page. Promote all seven to plain page links, and split Pinned & Saved into its two pages rather than keeping a group for them. A group now exists only where it holds more than one page, which is how the React v7 nav already reads. Retitle the search page from "CometChatSearch" to "Search": a flattened entry takes its label from the page's own title, and every sibling uses the human name (Message Header, not CometChatMessageHeader). Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_016Au57EzdySKicwZPmJThts --- docs.json | 58 +++---------------- .../angular/components/cometchat-search.mdx | 2 +- 2 files changed, 10 insertions(+), 50 deletions(-) diff --git a/docs.json b/docs.json index 035cebab9..a2c42fddf 100644 --- a/docs.json +++ b/docs.json @@ -2694,55 +2694,15 @@ "ui-kit/angular/components/cometchat-group-member-item" ] }, - { - "group": "Message Header", - "pages": [ - "ui-kit/angular/components/cometchat-message-header" - ] - }, - { - "group": "Search", - "pages": [ - "ui-kit/angular/components/cometchat-search" - ] - }, - { - "group": "Message List", - "pages": [ - "ui-kit/angular/components/cometchat-message-list" - ] - }, - { - "group": "Message Composer", - "pages": [ - "ui-kit/angular/components/cometchat-message-composer" - ] - }, - { - "group": "Message Bubble", - "pages": [ - "ui-kit/angular/components/cometchat-message-bubble" - ] - }, - { - "group": "Message Information", - "pages": [ - "ui-kit/angular/components/cometchat-message-information" - ] - }, - { - "group": "Thread Header", - "pages": [ - "ui-kit/angular/components/cometchat-thread-header" - ] - }, - { - "group": "Pinned & Saved", - "pages": [ - "ui-kit/angular/components/cometchat-pinned-messages", - "ui-kit/angular/components/cometchat-saved-messages" - ] - }, + "ui-kit/angular/components/cometchat-message-header", + "ui-kit/angular/components/cometchat-search", + "ui-kit/angular/components/cometchat-message-list", + "ui-kit/angular/components/cometchat-message-composer", + "ui-kit/angular/components/cometchat-message-bubble", + "ui-kit/angular/components/cometchat-message-information", + "ui-kit/angular/components/cometchat-thread-header", + "ui-kit/angular/components/cometchat-pinned-messages", + "ui-kit/angular/components/cometchat-saved-messages", { "group": "Message Bubbles", "pages": [ diff --git a/ui-kit/angular/components/cometchat-search.mdx b/ui-kit/angular/components/cometchat-search.mdx index f81563490..b293a2099 100644 --- a/ui-kit/angular/components/cometchat-search.mdx +++ b/ui-kit/angular/components/cometchat-search.mdx @@ -1,5 +1,5 @@ --- -title: "CometChatSearch" +title: "Search" description: "A unified Angular search component for cross-entity search across conversations and messages with filter chips, scoped search, and template customization" --- From be8c7315b702506855062344a8245b7077856a72 Mon Sep 17 00:00:00 2001 From: aanshisingh-cometchat Date: Fri, 11 Sep 2026 17:28:15 +0530 Subject: [PATCH 2/2] docs(ui-kit/angular): drop enableThreadSubscription from global config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the property from the Global Configuration reference: its table row, its own Feature Gates section, and its entries in the components table — which leaves CometChatThreadHeader with no rows at all, so that line goes too. The Feature Gates intro now says two properties, not three. Removing the section broke every link pointing at #enablethreadsubscription, so re-point the four that did. Each of those pages already links the Thread Subscription guide elsewhere, so the anchor is simply dropped and the property named inline. Nest Thread Subscription under Threaded Conversations on Core Features as a subsection rather than a sibling heading: everything else listed there works on install, while thread subscription is off by default and needs an opt-in. The #thread-subscription anchor is unchanged. The flag stays documented in guides/thread-subscription.mdx, which is where an integrator turning the feature on is already reading. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_016Au57EzdySKicwZPmJThts --- .../components/cometchat-message-list.mdx | 2 +- .../components/cometchat-thread-header.mdx | 2 +- ui-kit/angular/core-features.mdx | 4 ++-- .../angular/customization/global-config.mdx | 21 ++----------------- ui-kit/angular/guides/threaded-messages.mdx | 2 +- 5 files changed, 7 insertions(+), 24 deletions(-) diff --git a/ui-kit/angular/components/cometchat-message-list.mdx b/ui-kit/angular/components/cometchat-message-list.mdx index 771b87374..91b033327 100644 --- a/ui-kit/angular/components/cometchat-message-list.mdx +++ b/ui-kit/angular/components/cometchat-message-list.mdx @@ -437,7 +437,7 @@ This section provides a complete reference of all @Input properties, @Output eve When the feature is enabled, the context menu carries a single follow/unfollow option immediately after **Reply in thread**, so the two thread actions stay together. Its title flips with the state: "Subscribe to thread" when the user does not follow the thread, "Unsubscribe from thread" when they do — the same wording the thread header's control uses. -The option renders only when `enableThreadSubscription: true` is provided through [`COMETCHAT_GLOBAL_CONFIG`](/ui-kit/angular/customization/global-config#enablethreadsubscription) — the feature is **off by default** — and `hideThreadSubscriptionOption` is `false`. +The option renders only when `enableThreadSubscription: true` is provided through `COMETCHAT_GLOBAL_CONFIG` — the feature is **off by default** — and `hideThreadSubscriptionOption` is `false`. ```html expandable - Thread subscription is **off by default**. Turn it on with `enableThreadSubscription` in [Global Configuration](/ui-kit/angular/customization/global-config#enablethreadsubscription) — no backend capability flag exists for the kit to feature-detect from, so whether the thread endpoints are deployed for your app is something only you know. + Thread subscription is **off by default**. Turn it on with `enableThreadSubscription` in `COMETCHAT_GLOBAL_CONFIG` — no backend capability flag exists for the kit to feature-detect from, so whether the thread endpoints are deployed for your app is something only you know. To react to a change, handle `(threadSubscriptionChange)` on either surface: