From 2180edc14a6e9e547e66348f30c68dc836a92c92 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Thu, 16 Oct 2025 12:04:53 +0530 Subject: [PATCH 01/80] chore: Hide "Learn More" button in feature spotlight for self-hosted (#12675) --- .../pageComponents/emptyStates/AssistantPageEmptyState.vue | 3 +++ .../pageComponents/emptyStates/DocumentPageEmptyState.vue | 3 +++ .../pageComponents/emptyStates/ResponsePageEmptyState.vue | 3 +++ .../components-next/feature-spotlight/FeatureSpotlight.vue | 3 ++- .../feature-spotlight/FeatureSpotlightPopover.vue | 3 ++- .../dashboard/routes/dashboard/captain/assistants/Index.vue | 6 +++++- .../dashboard/routes/dashboard/captain/documents/Index.vue | 3 +++ .../dashboard/routes/dashboard/captain/responses/Index.vue | 3 +++ 8 files changed, 24 insertions(+), 3 deletions(-) diff --git a/app/javascript/dashboard/components-next/captain/pageComponents/emptyStates/AssistantPageEmptyState.vue b/app/javascript/dashboard/components-next/captain/pageComponents/emptyStates/AssistantPageEmptyState.vue index 365b78222..a4087d79a 100644 --- a/app/javascript/dashboard/components-next/captain/pageComponents/emptyStates/AssistantPageEmptyState.vue +++ b/app/javascript/dashboard/components-next/captain/pageComponents/emptyStates/AssistantPageEmptyState.vue @@ -1,4 +1,5 @@ + + diff --git a/app/javascript/dashboard/components-next/changelog-card/GroupedStackedChangelogCard.vue b/app/javascript/dashboard/components-next/changelog-card/GroupedStackedChangelogCard.vue new file mode 100644 index 000000000..617e5d0f8 --- /dev/null +++ b/app/javascript/dashboard/components-next/changelog-card/GroupedStackedChangelogCard.vue @@ -0,0 +1,74 @@ + + + diff --git a/app/javascript/dashboard/components-next/changelog-card/StackedChangelogCard.story.vue b/app/javascript/dashboard/components-next/changelog-card/StackedChangelogCard.story.vue new file mode 100644 index 000000000..26978b422 --- /dev/null +++ b/app/javascript/dashboard/components-next/changelog-card/StackedChangelogCard.story.vue @@ -0,0 +1,46 @@ + + + diff --git a/app/javascript/dashboard/components-next/changelog-card/StackedChangelogCard.vue b/app/javascript/dashboard/components-next/changelog-card/StackedChangelogCard.vue new file mode 100644 index 000000000..8b2d430a4 --- /dev/null +++ b/app/javascript/dashboard/components-next/changelog-card/StackedChangelogCard.vue @@ -0,0 +1,119 @@ + + + + + diff --git a/app/javascript/dashboard/components-next/sidebar/Sidebar.vue b/app/javascript/dashboard/components-next/sidebar/Sidebar.vue index cef4346e9..edcb4106e 100644 --- a/app/javascript/dashboard/components-next/sidebar/Sidebar.vue +++ b/app/javascript/dashboard/components-next/sidebar/Sidebar.vue @@ -13,6 +13,7 @@ import { vOnClickOutside } from '@vueuse/components'; import Button from 'dashboard/components-next/button/Button.vue'; import SidebarGroup from './SidebarGroup.vue'; import SidebarProfileMenu from './SidebarProfileMenu.vue'; +import SidebarChangelogCard from './SidebarChangelogCard.vue'; import ChannelLeaf from './ChannelLeaf.vue'; import SidebarAccountSwitcher from './SidebarAccountSwitcher.vue'; import Logo from 'next/icon/Logo.vue'; @@ -32,11 +33,15 @@ const emit = defineEmits([ 'closeMobileSidebar', ]); -const { accountScopedRoute } = useAccount(); +const { accountScopedRoute, isOnChatwootCloud } = useAccount(); const store = useStore(); const searchShortcut = useKbd([`$mod`, 'k']); const { t } = useI18n(); +const isACustomBrandedInstance = useMapGetter( + 'globalConfig/isACustomBrandedInstance' +); + const toggleShortcutModalFn = show => { if (show) { emit('openKeyShortcutModal'); @@ -532,20 +537,20 @@ const menuItems = computed(() => { ]" >
-
-
+
+
@@ -570,7 +575,7 @@ const menuItems = computed(() => {
-