From 4260a5c7fe96424c50dbbae487ed64cc3dfacec3 Mon Sep 17 00:00:00 2001 From: Paulo Castellano Date: Mon, 22 Jun 2026 17:30:34 -0300 Subject: [PATCH] refactor(sidebar): drop Share feedback item (Crisp bubble already on screen) Remove the Share feedback entry from the Support section and its share_feedback i18n key in all three locales; NavSupport is links-only again. --- lang/en/sidebar.php | 1 - lang/es/sidebar.php | 1 - lang/pt-BR/sidebar.php | 1 - resources/js/components/AppSidebar.vue | 12 ------------ resources/js/components/NavSupport.vue | 13 ++----------- 5 files changed, 2 insertions(+), 26 deletions(-) diff --git a/lang/en/sidebar.php b/lang/en/sidebar.php index e813b6f8..aaf06b50 100644 --- a/lang/en/sidebar.php +++ b/lang/en/sidebar.php @@ -55,7 +55,6 @@ 'support' => [ 'discord' => 'Discord', - 'share_feedback' => 'Share feedback', 'last_updates' => 'Last Updates', 'docs' => 'Documentation', 'referral' => 'Earn 30% referral', diff --git a/lang/es/sidebar.php b/lang/es/sidebar.php index b619e075..5e9dbd7e 100644 --- a/lang/es/sidebar.php +++ b/lang/es/sidebar.php @@ -55,7 +55,6 @@ 'support' => [ 'discord' => 'Discord', - 'share_feedback' => 'Dar feedback', 'last_updates' => 'Últimas actualizaciones', 'docs' => 'Documentación', 'referral' => 'Gana 30% de comisión', diff --git a/lang/pt-BR/sidebar.php b/lang/pt-BR/sidebar.php index e2dba7a9..42ab10d7 100644 --- a/lang/pt-BR/sidebar.php +++ b/lang/pt-BR/sidebar.php @@ -55,7 +55,6 @@ 'support' => [ 'discord' => 'Discord', - 'share_feedback' => 'Enviar feedback', 'last_updates' => 'Últimas Atualizações', 'docs' => 'Documentação', 'referral' => 'Ganhe 30% de indicação', diff --git a/resources/js/components/AppSidebar.vue b/resources/js/components/AppSidebar.vue index 6b95cbf3..8f9e1328 100644 --- a/resources/js/components/AppSidebar.vue +++ b/resources/js/components/AppSidebar.vue @@ -14,7 +14,6 @@ import { IconFileText, IconGift, IconHash, - IconMessageCircle, IconPhoto, IconPencil, IconPlus, @@ -149,18 +148,7 @@ const workspaceNavItems = computed(() => [ : []), ]); -const openFeedbackChat = () => { - const crisp = (window as Window & { $crisp?: { push: (command: unknown[]) => void } }).$crisp; - crisp?.push(['do', 'chat:show']); - crisp?.push(['do', 'chat:open']); -}; - const supportNavItems = computed(() => [ - { - title: trans('sidebar.support.share_feedback'), - icon: IconMessageCircle, - action: openFeedbackChat, - }, { title: trans('sidebar.support.referral'), href: 'https://affiliates.trypost.it/', diff --git a/resources/js/components/NavSupport.vue b/resources/js/components/NavSupport.vue index 736fc619..d3ed0e3d 100644 --- a/resources/js/components/NavSupport.vue +++ b/resources/js/components/NavSupport.vue @@ -12,8 +12,7 @@ import { interface SupportNavItem { title: string; icon: Component; - href?: string; - action?: () => void; + href: string; } interface Props { @@ -29,15 +28,7 @@ defineProps(); {{ label }} - - - {{ item.title }} - - + {{ item.title }}