chatwoot/app/javascript/dashboard/components-next/message
Muhsin Keloth 5c3b85334b
feat: Add support for shared post and story attachment types in Instagram messages (#12997)
When users share Instagram posts or stories via DM, Instagram sends
webhooks with type `ig_post` and `ig_story` attachments. The system was
failing on these types because they weren't defined in the file_types.
This PR fixes the issue by handling all shared types and rendering them
on the front end.

**Shared post**

<img width="2154" height="1828" alt="CleanShot 2025-12-03 at 16 29
14@2x"
src="https://github.com/user-attachments/assets/7e731171-4904-43a6-abeb-b1db2c262742"
/>

**Shared status**
<img width="1702" height="1676" alt="CleanShot 2025-12-03 at 16 10
25@2x"
src="https://github.com/user-attachments/assets/6a151233-ce47-429d-b7c2-061514b20e05"
/>


Fixes
https://linear.app/chatwoot/issue/CW-5441/argumenterror-ig-story-is-not-a-valid-file-type-argumenterror
2025-12-04 05:20:47 +05:30
..
bubbles feat: outbound voice call essentials (#12782) 2025-11-24 17:47:00 -08:00
chips feat: Implement single audio playback functionality across components (#12226) 2025-09-19 12:52:01 +05:30
fixtures feat: Add new message bubbles (#10481) 2024-12-12 17:42:22 -08:00
stories feat: Template types components (#12714) 2025-10-29 17:06:32 +05:30
constants.js feat: Add support for shared post and story attachment types in Instagram messages (#12997) 2025-12-04 05:20:47 +05:30
Message.vue feat: Add support for shared post and story attachment types in Instagram messages (#12997) 2025-12-04 05:20:47 +05:30
MessageError.vue feat: Retry failed messages within 24h (#12436) 2025-09-16 21:00:15 +05:30
MessageList.vue feat: Load reply-to messages dynamically when not present in message list (#10024) 2025-09-24 13:45:20 +05:30
MessageMeta.vue chore: Audit message characters across all channels (#11343) 2025-04-21 14:46:51 +05:30
MessageStatus.vue feat: Add new message bubbles (#10481) 2024-12-12 17:42:22 -08:00
provider.js chore: Update message bubble orientation (#11348) 2025-05-06 13:21:52 +05:30
TranslationToggle.vue chore: Improve translation service with HTML and plain text support (#11305) 2025-04-16 17:59:06 +05:30