diff --git a/app/javascript/dashboard/components-next/message/stories/InstagramBubbles.story.vue b/app/javascript/dashboard/components-next/message/stories/InstagramBubbles.story.vue
new file mode 100644
index 000000000..7d58d8eaf
--- /dev/null
+++ b/app/javascript/dashboard/components-next/message/stories/InstagramBubbles.story.vue
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/javascript/dashboard/components-next/message/stories/MediaBubbles.story.vue b/app/javascript/dashboard/components-next/message/stories/MediaBubbles.story.vue
new file mode 100644
index 000000000..2b4152f47
--- /dev/null
+++ b/app/javascript/dashboard/components-next/message/stories/MediaBubbles.story.vue
@@ -0,0 +1,260 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/javascript/dashboard/components-next/message/stories/Bubbles.story.vue b/app/javascript/dashboard/components-next/message/stories/MessageBubbles.story.vue
similarity index 65%
rename from app/javascript/dashboard/components-next/message/stories/Bubbles.story.vue
rename to app/javascript/dashboard/components-next/message/stories/MessageBubbles.story.vue
index 9869cbd02..5bbd5aa28 100644
--- a/app/javascript/dashboard/components-next/message/stories/Bubbles.story.vue
+++ b/app/javascript/dashboard/components-next/message/stories/MessageBubbles.story.vue
@@ -80,116 +80,6 @@ const activityMessage = computed(() =>
})
);
-const audioMessage = computed(() =>
- getMessage({
- content: null,
- attachments: [
- getAttachment(
- 'audio',
- 'https://cdn.freesound.org/previews/769/769025_16085454-lq.mp3'
- ),
- ],
- ...baseSenderData.value,
- })
-);
-
-const brokenImageMessage = computed(() =>
- getMessage({
- content: null,
- attachments: [getAttachment('image', 'https://chatwoot.dev/broken.png')],
- ...baseSenderData.value,
- })
-);
-
-const imageMessage = computed(() =>
- getMessage({
- content: null,
- attachments: [
- getAttachment(
- 'image',
- 'https://images.pexels.com/photos/28506417/pexels-photo-28506417/free-photo-of-motorbike-on-scenic-road-in-surat-thani-thailand.jpeg'
- ),
- ],
- ...baseSenderData.value,
- })
-);
-
-const videoMessage = computed(() =>
- getMessage({
- content: null,
- attachments: [
- getAttachment(
- 'video',
- 'https://videos.pexels.com/video-files/1739010/1739010-hd_1920_1080_30fps.mp4'
- ),
- ],
- ...baseSenderData.value,
- })
-);
-
-const attachmentsOnly = computed(() =>
- getMessage({
- content: null,
- attachments: [
- getAttachment('image', 'https://chatwoot.dev/broken.png'),
- getAttachment(
- 'video',
- 'https://videos.pexels.com/video-files/1739010/1739010-hd_1920_1080_30fps.mp4'
- ),
- getAttachment(
- 'image',
- 'https://images.pexels.com/photos/28506417/pexels-photo-28506417/free-photo-of-motorbike-on-scenic-road-in-surat-thani-thailand.jpeg'
- ),
- getAttachment('file', 'https://chatwoot.dev/invoice.pdf'),
- getAttachment('file', 'https://chatwoot.dev/logs.txt'),
- getAttachment('file', 'https://chatwoot.dev/contacts.xls'),
- getAttachment('file', 'https://chatwoot.dev/customers.csv'),
- getAttachment('file', 'https://chatwoot.dev/warehousing-policy.docx'),
- getAttachment('file', 'https://chatwoot.dev/pitch-deck.ppt'),
- getAttachment('file', 'https://chatwoot.dev/all-files.tar'),
- getAttachment(
- 'audio',
- 'https://cdn.freesound.org/previews/769/769025_16085454-lq.mp3'
- ),
- ],
- ...baseSenderData.value,
- })
-);
-
-const singleFile = computed(() =>
- getMessage({
- content: null,
- attachments: [getAttachment('file', 'https://chatwoot.dev/all-files.tar')],
- ...baseSenderData.value,
- })
-);
-
-const contact = computed(() =>
- getMessage({
- content: null,
- attachments: [
- getAttachment('contact', null, {
- fallbackTitle: '+919999999999',
- }),
- ],
- ...baseSenderData.value,
- })
-);
-
-const location = computed(() =>
- getMessage({
- content: null,
- attachments: [
- getAttachment('location', null, {
- coordinatesLat: 37.7937545,
- coordinatesLong: -122.3997472,
- fallbackTitle: 'Chatwoot Inc',
- }),
- ],
- ...baseSenderData.value,
- })
-);
-
const email = computed(() =>
getMessage({
content: null,
@@ -251,71 +141,11 @@ const email = computed(() =>
...baseSenderData.value,
})
);
-
-const instagramStory = computed(() =>
- getMessage({
- content: 'cwtestinglocal mentioned you in the story: ',
- contentAttributes: {
- imageType: 'story_mention',
- },
- attachments: [
- getAttachment(
- 'image',
- 'https://images.pexels.com/photos/2587370/pexels-photo-2587370.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'
- ),
- ],
- ...baseSenderData.value,
- })
-);
-
-const unsupported = computed(() =>
- getMessage({
- content: null,
- contentAttributes: {
- isUnsupported: true,
- },
- ...baseSenderData.value,
- })
-);
-
-const igReel = computed(() =>
- getMessage({
- content: null,
- attachments: [
- getAttachment(
- 'ig_reel',
- 'https://videos.pexels.com/video-files/2023708/2023708-hd_720_1280_30fps.mp4'
- ),
- ],
- ...baseSenderData.value,
- })
-);
-
-const dyte = computed(() => {
- return getMessage({
- messageType: 1,
- contentType: 'integrations',
- contentAttributes: {
- type: 'dyte',
- data: {
- meetingId: 'f16bebe6-08b9-4593-899a-849f59c47397',
- roomName: 'zcufnc-adbjcg',
- },
- },
- senderId: 1,
- sender: {
- id: 1,
- name: 'Shivam Mishra',
- availableName: 'Shivam Mishra',
- type: 'user',
- },
- });
-});
@@ -329,77 +159,11 @@ const dyte = computed(() => {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-