From 96dbfda75164af5be1cdf8138c4de421f74e626a Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:11:11 +0000 Subject: [PATCH 01/31] feat(nc-gui): workspace icon selector setup --- packages/nc-gui/components/general/WorkspaceIcon.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/components/general/WorkspaceIcon.vue b/packages/nc-gui/components/general/WorkspaceIcon.vue index 963078eb3f..59ca01998c 100644 --- a/packages/nc-gui/components/general/WorkspaceIcon.vue +++ b/packages/nc-gui/components/general/WorkspaceIcon.vue @@ -5,7 +5,7 @@ import { isColorDark, stringToColor } from '~/utils/colorsUtils' const props = defineProps<{ workspace: WorkspaceType | undefined hideLabel?: boolean - size?: 'small' | 'medium' | 'large' + size?: 'small' | 'medium' | 'large' | 'xlarge' isRounded?: boolean }>() @@ -25,6 +25,7 @@ const size = computed(() => props.size || 'medium') 'min-w-4 w-4 h-4 rounded': size === 'small', 'min-w-6 w-6 h-6 rounded-md': size === 'medium', 'min-w-10 w-10 h-10 rounded-lg !text-base': size === 'large', + 'min-w-16 w-16 h-16 rounded-lg !text-2xl': size === 'xlarge', '!rounded-[50%]': props.isRounded, }" :style="{ backgroundColor: workspaceColor }" From 1318aa1309e82db34dba9c2d4e7ba414ba57b3a7 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:11:11 +0000 Subject: [PATCH 02/31] feat(nc-gui): workspace image logo support --- packages/nc-gui/components/general/ImageCropper.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/general/ImageCropper.vue b/packages/nc-gui/components/general/ImageCropper.vue index 81de6d1368..ded4cbdf04 100644 --- a/packages/nc-gui/components/general/ImageCropper.vue +++ b/packages/nc-gui/components/general/ImageCropper.vue @@ -95,7 +95,7 @@ watch(showCropper, () => {