From 85b76bc911f421ae4eb8b06542eb3dae9f9b5640 Mon Sep 17 00:00:00 2001 From: Kristina Date: Wed, 9 Oct 2024 07:09:43 +0400 Subject: [PATCH] Fix unreadable channels and duplicated inbox cards (#6838) --- models/notification/src/migration.ts | 2 +- .../src/components/AttachmentStyledBox.svelte | 29 ++++++-- .../ReverseChannelScrollView.svelte | 1 + .../src/components/chat/Chat.svelte | 7 +- .../src/components/CreateOrganization.svelte | 10 ++- .../components/CreateDocumentCategory.svelte | 7 +- .../components/product/CreateProduct.svelte | 5 +- .../src/components/CreateApplication.svelte | 2 +- .../src/components/CreateVacancy.svelte | 8 +- .../src/components/CreateIssue.svelte | 2 +- .../activity-resources/src/index.ts | 13 +++- .../notification-resources/src/index.ts | 73 ++++++++++++++----- .../notification-resources/src/types.ts | 7 +- server/core/src/types.ts | 3 + server/middleware/src/triggers.ts | 13 ++++ tests/sanity/tests/chat/chat.spec.ts | 21 ++---- 16 files changed, 143 insertions(+), 60 deletions(-) diff --git a/models/notification/src/migration.ts b/models/notification/src/migration.ts index 29f06caff4..7693cfb25d 100644 --- a/models/notification/src/migration.ts +++ b/models/notification/src/migration.ts @@ -381,7 +381,7 @@ export const notificationOperation: MigrateOperation = { } }, { - state: 'migrate-duplicated-contexts-v2', + state: 'migrate-duplicated-contexts-v3', func: migrateDuplicateContexts }, { diff --git a/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte b/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte index c9455032df..2f16f8ad50 100644 --- a/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte +++ b/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte @@ -14,7 +14,18 @@ -->