From 3cdf4575d1757954f44deb4a544045a2804dcaf5 Mon Sep 17 00:00:00 2001 From: Wanjin Noh Date: Tue, 7 Jan 2025 22:36:09 +0900 Subject: [PATCH 1/3] fix: add flex-shrink property to TopBarSuggestionList component Signed-off-by: Wanjin Noh --- .../modules/navigations/top-bar/modules/TopBarSuggestionList.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/common/modules/navigations/top-bar/modules/TopBarSuggestionList.vue b/apps/web/src/common/modules/navigations/top-bar/modules/TopBarSuggestionList.vue index a861c7739a..217117ecc1 100644 --- a/apps/web/src/common/modules/navigations/top-bar/modules/TopBarSuggestionList.vue +++ b/apps/web/src/common/modules/navigations/top-bar/modules/TopBarSuggestionList.vue @@ -253,6 +253,7 @@ onUnmounted(() => { @apply block; margin-right: 0.125rem; margin-left: auto; + flex-shrink: 0; &:hover { transform: scale(1.3); } From 286a5b854c50ef541cebf0d0deab1138ed85e945 Mon Sep 17 00:00:00 2001 From: Wanjin Noh Date: Tue, 7 Jan 2025 22:46:20 +0900 Subject: [PATCH 2/3] chore(file-manager): remove debug log from file upload function Signed-off-by: Wanjin Noh --- apps/web/src/lib/file-manager/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/web/src/lib/file-manager/index.ts b/apps/web/src/lib/file-manager/index.ts index 64fc8a66bd..02bbf1f222 100644 --- a/apps/web/src/lib/file-manager/index.ts +++ b/apps/web/src/lib/file-manager/index.ts @@ -11,8 +11,6 @@ import ErrorHandler from '@/common/composables/error/errorHandler'; const uploadFile = async (file: File, resourceGroup: FileManagerResourceGroupType, resourceId?: string): Promise => { const formData = new FormData(); formData.append('file', file); - // TODO: Remove after test is done - console.log('file', file); let resourceGroupPath: string; let params = ''; if (resourceGroup === 'DOMAIN') { From b94825da4043a1b71d319c68db26d9d390d5fe34 Mon Sep 17 00:00:00 2001 From: Wanjin Noh Date: Tue, 7 Jan 2025 22:52:05 +0900 Subject: [PATCH 3/3] fix(notice-detail-store): prevent duplicate requests while loading data Signed-off-by: Wanjin Noh --- apps/web/src/services/info/stores/notice-detail-store.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/services/info/stores/notice-detail-store.ts b/apps/web/src/services/info/stores/notice-detail-store.ts index 4c05ffeb18..a22d244270 100644 --- a/apps/web/src/services/info/stores/notice-detail-store.ts +++ b/apps/web/src/services/info/stores/notice-detail-store.ts @@ -24,6 +24,7 @@ export const useNoticeDetailStore = defineStore('notice-detail', () => { const actions = { getNoticePost: async (postId: string) => { try { + if (state.loading) return; state.loading = true; const result = await SpaceConnector.clientV2.board.post.get({ post_id: postId,