From 203b1e3cc3a44483e5d8a65a976e42087b581cb6 Mon Sep 17 00:00:00 2001 From: Rodrigo Borba Date: Sun, 1 Mar 2026 22:21:22 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20adiciona=20'Notifica=C3=A7=C3=B5es=20Aut?= =?UTF-8?q?om=C3=A1ticas'=20no=20menu=20lateral=20do=20Captain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Sidebar.vue: novo item Captain > Notificações Automáticas apontando para a rota captain_settings_notifications - pt_BR/settings.json: CAPTAIN_NOTIFICATIONS key adicionada - en/settings.json: CAPTAIN_REPORTS e CAPTAIN_NOTIFICATIONS adicionadas --- .../dashboard/components-next/sidebar/Sidebar.vue | 6 ++++++ app/javascript/dashboard/i18n/locale/en/settings.json | 2 ++ app/javascript/dashboard/i18n/locale/pt_BR/settings.json | 1 + 3 files changed, 9 insertions(+) diff --git a/app/javascript/dashboard/components-next/sidebar/Sidebar.vue b/app/javascript/dashboard/components-next/sidebar/Sidebar.vue index cfc393b38..9b365d1a4 100644 --- a/app/javascript/dashboard/components-next/sidebar/Sidebar.vue +++ b/app/javascript/dashboard/components-next/sidebar/Sidebar.vue @@ -414,6 +414,12 @@ const menuItems = computed(() => { activeOn: ['captain_settings_reports'], to: accountScopedRoute('captain_settings_reports'), }, + { + name: 'Notifications', + label: t('SIDEBAR.CAPTAIN_NOTIFICATIONS'), + activeOn: ['captain_settings_notifications'], + to: accountScopedRoute('captain_settings_notifications'), + }, ], }, { diff --git a/app/javascript/dashboard/i18n/locale/en/settings.json b/app/javascript/dashboard/i18n/locale/en/settings.json index 8d417d797..f49bd4a4c 100644 --- a/app/javascript/dashboard/i18n/locale/en/settings.json +++ b/app/javascript/dashboard/i18n/locale/en/settings.json @@ -343,6 +343,8 @@ "CAPTAIN_PIX_UNITS": "Pix Units", "CAPTAIN_GALLERY": "Gallery", "CAPTAIN_RESERVATIONS": "Reservations", + "CAPTAIN_REPORTS": "AI Reports", + "CAPTAIN_NOTIFICATIONS": "Automatic Notifications", "HOME": "Home", "AGENTS": "Agents", "AGENT_BOTS": "Bots", diff --git a/app/javascript/dashboard/i18n/locale/pt_BR/settings.json b/app/javascript/dashboard/i18n/locale/pt_BR/settings.json index b21cf884b..06d0663bb 100644 --- a/app/javascript/dashboard/i18n/locale/pt_BR/settings.json +++ b/app/javascript/dashboard/i18n/locale/pt_BR/settings.json @@ -343,6 +343,7 @@ "CAPTAIN_GALLERY": "Galeria", "CAPTAIN_RESERVATIONS": "Reservas", "CAPTAIN_REPORTS": "Relatórios IA", + "CAPTAIN_NOTIFICATIONS": "Notificações Automáticas", "HOME": "Principal", "AGENTS": "Agentes", "AGENT_BOTS": "Robôs",