From 55f1690d9e74fd1f2a58f7d0fde3d3abfb447ee0 Mon Sep 17 00:00:00 2001 From: Vishnu Narayanan Date: Thu, 30 Jan 2025 15:52:01 +0530 Subject: [PATCH 1/2] fix: docker github action for ce images (#10800) - Fix the docker tag issue during push stage for ce image build --- .github/workflows/publish_foss_docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_foss_docker.yml b/.github/workflows/publish_foss_docker.yml index 8149ee290..3075a7f3d 100644 --- a/.github/workflows/publish_foss_docker.yml +++ b/.github/workflows/publish_foss_docker.yml @@ -79,7 +79,7 @@ jobs: file: docker/Dockerfile platforms: ${{ matrix.platform }} push: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} - outputs: type=image,name=${{ env.DOCKER_TAG }},push-by-digest=true,name-canonical=true,push=true + outputs: type=image,name=${{ env.DOCKER_REPO }},push-by-digest=true,name-canonical=true,push=true - name: Export digest run: | From b811c27ab5955413667bc48f9283403e6b792e99 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 31 Jan 2025 06:33:12 +0530 Subject: [PATCH 2/2] feat: Hide empty folders from sidebar (#10786) This PR updates the sidebar to hide empty folders. So, in case the user has not created any folders, or teams, the section in the sidebar will be hidden --- .../sidebar/SidebarSubGroup.vue | 25 ++++++------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/app/javascript/dashboard/components-next/sidebar/SidebarSubGroup.vue b/app/javascript/dashboard/components-next/sidebar/SidebarSubGroup.vue index a938a202e..8e3c3009e 100644 --- a/app/javascript/dashboard/components-next/sidebar/SidebarSubGroup.vue +++ b/app/javascript/dashboard/components-next/sidebar/SidebarSubGroup.vue @@ -2,7 +2,6 @@ import { computed, ref } from 'vue'; import SidebarGroupLeaf from './SidebarGroupLeaf.vue'; import SidebarGroupSeparator from './SidebarGroupSeparator.vue'; -import SidebarGroupEmptyLeaf from './SidebarGroupEmptyLeaf.vue'; import { useSidebarContext } from './provider'; import { useEventListener } from '@vueuse/core'; @@ -26,11 +25,6 @@ const accessibleItems = computed(() => ); const hasAccessibleItems = computed(() => { - if (props.children.length === 0) { - // cases like segment, folder and labels where users can create new items - return true; - } - return accessibleItems.value.length > 0; }); @@ -55,7 +49,7 @@ useEventListener(scrollableContainer, 'scroll', () => { :icon class="my-1" /> -