From d214da41c6e5a080f084e07221658e6bef0f5aad Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Fri, 6 Mar 2026 22:14:11 -0800 Subject: [PATCH] Change names of community MQTT --- frontend/src/components/settings/SettingsFanoutSection.tsx | 4 ++-- frontend/src/test/fanoutSection.test.tsx | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/settings/SettingsFanoutSection.tsx b/frontend/src/components/settings/SettingsFanoutSection.tsx index a764e3f..38041d3 100644 --- a/frontend/src/components/settings/SettingsFanoutSection.tsx +++ b/frontend/src/components/settings/SettingsFanoutSection.tsx @@ -14,7 +14,7 @@ const BotCodeEditor = lazy(() => const TYPE_LABELS: Record = { mqtt_private: 'Private MQTT', - mqtt_community: 'Community MQTT/mesh2mqtt', + mqtt_community: 'meshtomqtt/LetsMesh/MeshRank', bot: 'Bot', webhook: 'Webhook', apprise: 'Apprise', @@ -22,7 +22,7 @@ const TYPE_LABELS: Record = { const TYPE_OPTIONS = [ { value: 'mqtt_private', label: 'Private MQTT' }, - { value: 'mqtt_community', label: 'Community MQTT/mesh2mqtt' }, + { value: 'mqtt_community', label: 'meshtomqtt/LetsMesh/MeshRank' }, { value: 'bot', label: 'Bot' }, { value: 'webhook', label: 'Webhook' }, { value: 'apprise', label: 'Apprise' }, diff --git a/frontend/src/test/fanoutSection.test.tsx b/frontend/src/test/fanoutSection.test.tsx index 6c399e7..41690dc 100644 --- a/frontend/src/test/fanoutSection.test.tsx +++ b/frontend/src/test/fanoutSection.test.tsx @@ -84,7 +84,9 @@ describe('SettingsFanoutSection', () => { fireEvent.click(screen.getByRole('button', { name: 'Add Integration' })); expect(screen.getByRole('menuitem', { name: 'Private MQTT' })).toBeInTheDocument(); - expect(screen.getByRole('menuitem', { name: 'Community MQTT/mesh2mqtt' })).toBeInTheDocument(); + expect( + screen.getByRole('menuitem', { name: 'meshtomqtt/LetsMesh/MeshRank' }) + ).toBeInTheDocument(); expect(screen.getByRole('menuitem', { name: 'Webhook' })).toBeInTheDocument(); expect(screen.getByRole('menuitem', { name: 'Apprise' })).toBeInTheDocument(); expect(screen.getByRole('menuitem', { name: 'Bot' })).toBeInTheDocument();