From d0dba73a299c26055c318d51c02cedd692a4c877 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sat, 25 Apr 2026 18:03:39 +0200 Subject: [PATCH] feat: add email connector route and sidebar navigation Co-Authored-By: Claude Sonnet 4.6 --- ui/src/components/Layout.tsx | 13 +++++++++++-- ui/src/router.tsx | 6 ++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ui/src/components/Layout.tsx b/ui/src/components/Layout.tsx index 2dbe7e9..13835c4 100644 --- a/ui/src/components/Layout.tsx +++ b/ui/src/components/Layout.tsx @@ -4,7 +4,7 @@ import { Sidebar, TopBar, } from '@cameleer/design-system'; -import { LayoutDashboard, ShieldCheck, Users, Settings, Shield, Building, ScrollText } from 'lucide-react'; +import { LayoutDashboard, ShieldCheck, Users, Settings, Shield, Building, ScrollText, Mail } from 'lucide-react'; import { useQuery } from '@tanstack/react-query'; import { useAuth } from '../auth/useAuth'; import { useScopes } from '../auth/useScopes'; @@ -125,11 +125,20 @@ export function Layout() { > Infrastructure +
navigate('/vendor/email')} + > + + Email Connector +
window.open(`${window.location.protocol}//${window.location.hostname}:3002`, '_blank', 'noopener')} > - Identity (Logto) + Logto Console
)} diff --git a/ui/src/router.tsx b/ui/src/router.tsx index 670b34c..0537048 100644 --- a/ui/src/router.tsx +++ b/ui/src/router.tsx @@ -16,6 +16,7 @@ import { VendorAuditPage } from './pages/vendor/VendorAuditPage'; import { CertificatesPage } from './pages/vendor/CertificatesPage'; import { InfrastructurePage } from './pages/vendor/InfrastructurePage'; import { VendorMetricsPage } from './pages/vendor/VendorMetricsPage'; +import { EmailConfigPage } from './pages/vendor/EmailConfigPage'; import { TenantDashboardPage } from './pages/tenant/TenantDashboardPage'; import { TenantLicensePage } from './pages/tenant/TenantLicensePage'; import { SsoPage } from './pages/tenant/SsoPage'; @@ -102,6 +103,11 @@ export function AppRouter() { } /> + }> + + + } /> {/* Tenant portal */} } />