Skip to content

docs(ui-kit/angular): document multiple attachments in a single message#431

Open
aanshisingh-cometchat wants to merge 6 commits into
mainfrom
feature/angular-multimedia-attachments
Open

docs(ui-kit/angular): document multiple attachments in a single message#431
aanshisingh-cometchat wants to merge 6 commits into
mainfrom
feature/angular-multimedia-attachments

Conversation

@aanshisingh-cometchat

Copy link
Copy Markdown
Contributor

Add component docs for the multi-attachment media bubbles introduced with the "multiple attachments in a single message" feature (ENG-36752):

  • cometchat-images-bubble / videos-bubble / files-bubble: batch-aware bubbles that delegate to the singular image/video/file bubbles
  • cometchat-audios-bubble: custom-rendered inline audio player rows with a "+N more" collapse
  • cometchat-voice-note-bubble: waveform bubble for recorded voice notes (metadata.audioType === "voice_note")

Update the message composer doc with the enableMultipleAttachments input and a Multiple Attachments (staging tray + batch send) section, and add the five bubbles to the Angular Message Bubbles navigation.

Description

Related Issue(s)

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

Screenshots (if applicable)

Add component docs for the multi-attachment media bubbles introduced with
the "multiple attachments in a single message" feature (ENG-36752):

- cometchat-images-bubble / videos-bubble / files-bubble: batch-aware
  bubbles that delegate to the singular image/video/file bubbles
- cometchat-audios-bubble: custom-rendered inline audio player rows with
  a "+N more" collapse
- cometchat-voice-note-bubble: waveform bubble for recorded voice notes
  (metadata.audioType === "voice_note")

Update the message composer doc with the enableMultipleAttachments input
and a Multiple Attachments (staging tray + batch send) section, and add
the five bubbles to the Angular Message Bubbles navigation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
cometchat 🟢 Ready View Preview Jul 16, 2026, 4:49 PM

…rt for multiple attachments

Clarify that staged files begin uploading the moment they are added to the tray (so pressing Send is instant), and that multiple attachments work in threaded replies via parentMessageId. Docs-only; tracks upload-tray behavior from cometchat-team/uikit-angular#536.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…refresh the feature image

Add a line to the Media Sharing section covering multiple attachments for images, videos, audio files, and documents, linking to the composer's Multiple Attachments section. Replace the Media Sharing feature image with one showing the multi-attachment composer and grouped media bubbles. Note: this image file is shared with the React Core Features page, which now renders it as well.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The five media bubble pages referred to a render-side enableMultipleAttachments that no longer exists and linked it to the composer page, where only the send-side property is documented. Document routing on the message bubble instead, state on the composer that its property does not affect rendering, and add alt text to the media sharing image.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Angular was the only UI Kit without a central message-bubble-styling page. Document the CSS selectors for the multi-attachment bubbles, noting that Images/Videos/Files/VoiceNote delegate to their single-attachment counterparts while Audios has its own stylesheet, plus the shared --cometchat-multi-attachment-width (default 400px) and the inconsistent direction modifiers (--incoming/--outgoing on image and video, --sender/--receiver elsewhere). All selectors verified against the Angular UI Kit source. Adds the page to the Theming nav group.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…mponents

Related Components named only the legacy single-attachment bubbles, so the five multi-attachment bubbles the message bubble actually routes to were missing. Group them under a cross-reference to Media Message Rendering, and note that all except CometChatAudiosBubble delegate to a single-attachment counterpart that is no longer routed to but stays available standalone.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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