Add messaging feature so users can communicate within the application
Adds a chat feature with lucide-react MessageCircle icon and i18n support. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c5f0c281-8dd8-4846-b452-4a07bcd21062 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9777c70b-fc38-4831-8d6b-78dfffe041b0/6dcb6ab3-b230-4a8d-b7c0-1a50c9073254.jpg
This commit is contained in:
@@ -20,7 +20,8 @@ import {
|
|||||||
Monitor,
|
Monitor,
|
||||||
UserCheck,
|
UserCheck,
|
||||||
Focus,
|
Focus,
|
||||||
Palette
|
Palette,
|
||||||
|
MessageCircle
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
|
|
||||||
interface SidebarProps {
|
interface SidebarProps {
|
||||||
@@ -44,6 +45,12 @@ const getNavigation = (t: any) => [
|
|||||||
href: "/finances",
|
href: "/finances",
|
||||||
icon: DollarSign,
|
icon: DollarSign,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: t('navigation.chat'),
|
||||||
|
href: "/chat",
|
||||||
|
icon: MessageCircle,
|
||||||
|
badge: "2", // This would come from unread message count
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: t('navigation.professionals'),
|
name: t('navigation.professionals'),
|
||||||
href: "/professionals",
|
href: "/professionals",
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
"voice": "الأوامر الصوتية",
|
"voice": "الأوامر الصوتية",
|
||||||
"analytics": "التحليلات",
|
"analytics": "التحليلات",
|
||||||
"monitoring": "مراقبة النظام",
|
"monitoring": "مراقبة النظام",
|
||||||
|
"chat": "الرسائل",
|
||||||
"settings": "الإعدادات",
|
"settings": "الإعدادات",
|
||||||
"logout": "تسجيل الخروج",
|
"logout": "تسجيل الخروج",
|
||||||
"profile": "الملف الشخصي"
|
"profile": "الملف الشخصي"
|
||||||
|
|||||||
Reference in New Issue
Block a user