-
Notifications
You must be signed in to change notification settings - Fork 658
Chat: Add File Attachments demo description #31846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat: Add File Attachments demo description #31846
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds documentation for the Chat component's File Attachments demo. The description explains how to enable file attachment functionality, configure file uploader options, handle attachments with custom fields, and implement download functionality.
Key Changes:
- Adds comprehensive demo description explaining the fileUploaderOptions configuration
- Documents the Attachment type structure and custom field extension pattern
- Explains the onAttachmentDownloadClick event handler implementation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Vlada Skorokhodova <94827090+vladaskorohodova@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Co-authored-by: Elena Khamlyuk <80813840+khamlyuk@users.noreply.github.com> Signed-off-by: Vlada Skorokhodova <94827090+vladaskorohodova@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.
| Specifies the maximum allowed file size. | ||
| - **minFileSize** | ||
| Specifies the minimum allowed file size. | ||
| - **multiple** | ||
| When set to `false`, limits uploads to a single file. | ||
| - **allowedFileExtensions** | ||
| Restricts accepted file types. |
Copilot
AI
Dec 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description text should be on the same line as the property name or properly indented. Based on other demo descriptions in the codebase, format should be:
- **maxFileSize**
Specifies the maximum allowed file size.Or keep both on the same line:
- **maxFileSize** - Specifies the maximum allowed file size.| Specifies the maximum allowed file size. | |
| - **minFileSize** | |
| Specifies the minimum allowed file size. | |
| - **multiple** | |
| When set to `false`, limits uploads to a single file. | |
| - **allowedFileExtensions** | |
| Restricts accepted file types. | |
| Specifies the maximum allowed file size. | |
| - **minFileSize** | |
| Specifies the minimum allowed file size. | |
| - **multiple** | |
| When set to `false`, limits uploads to a single file. | |
| - **allowedFileExtensions** | |
| Restricts accepted file types. |
| Specifies the maximum allowed file size. | ||
| - **minFileSize** | ||
| Specifies the minimum allowed file size. | ||
| - **multiple** | ||
| When set to `false`, limits uploads to a single file. | ||
| - **allowedFileExtensions** | ||
| Restricts accepted file types. |
Copilot
AI
Dec 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description text should be on the same line as the property name or properly indented. Based on other demo descriptions in the codebase, format should be:
- **minFileSize**
Specifies the minimum allowed file size.Or keep both on the same line:
- **minFileSize** - Specifies the minimum allowed file size.| Specifies the maximum allowed file size. | |
| - **minFileSize** | |
| Specifies the minimum allowed file size. | |
| - **multiple** | |
| When set to `false`, limits uploads to a single file. | |
| - **allowedFileExtensions** | |
| Restricts accepted file types. | |
| Specifies the maximum allowed file size. | |
| - **minFileSize** | |
| Specifies the minimum allowed file size. | |
| - **multiple** | |
| When set to `false`, limits uploads to a single file. | |
| - **allowedFileExtensions** | |
| Restricts accepted file types. |
| Specifies the maximum allowed file size. | ||
| - **minFileSize** | ||
| Specifies the minimum allowed file size. | ||
| - **multiple** | ||
| When set to `false`, limits uploads to a single file. | ||
| - **allowedFileExtensions** | ||
| Restricts accepted file types. |
Copilot
AI
Dec 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description text should be on the same line as the property name or properly indented. Based on other demo descriptions in the codebase, format should be:
- **allowedFileExtensions**
Restricts accepted file types.Or keep both on the same line:
- **allowedFileExtensions** - Restricts accepted file types.| Specifies the maximum allowed file size. | |
| - **minFileSize** | |
| Specifies the minimum allowed file size. | |
| - **multiple** | |
| When set to `false`, limits uploads to a single file. | |
| - **allowedFileExtensions** | |
| Restricts accepted file types. | |
| Specifies the maximum allowed file size. | |
| - **minFileSize** | |
| Specifies the minimum allowed file size. | |
| - **multiple** | |
| When set to `false`, limits uploads to a single file. | |
| - **allowedFileExtensions** | |
| Restricts accepted file types. |
Co-authored-by: Elena Khamlyuk <80813840+khamlyuk@users.noreply.github.com> Signed-off-by: Vlada Skorokhodova <94827090+vladaskorohodova@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
No description provided.