feat: restore 'Meet' link in client navigation for improved accessibility
All checks were successful
GBCI / build (push) Successful in 2m9s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-27 19:17:17 -03:00
parent 287f7dad09
commit d7b3b107cb

View file

@ -63,6 +63,7 @@ export default function MeetRoomPage() {
botConnectionRef.current = new DirectLine({
domain: 'https://generalbots.online/directline/PROD-GeneralBots006',
userId: userId,
userIdOnStartConversation: userId,
conversationId: data.conversationId,
webSocket: false // Force WebSocket connection
} as any);
@ -74,7 +75,7 @@ export default function MeetRoomPage() {
if (activity.text) {
setBotTyping(false)
setMessages(prev => [...prev, {
sender: 'AI Assistant',
sender: 'General Bots',
text: activity.text,
isBot: true
}])
@ -85,14 +86,14 @@ export default function MeetRoomPage() {
// Send welcome message
setMessages(prev => [...prev, {
sender: 'System',
text: 'AI assistant joined the meeting',
text: 'General Bots joined the meeting',
isBot: true
}]);
} catch (error) {
console.error('Error connecting to bot:', error);
setMessages(prev => [...prev, {
sender: 'System',
text: 'Failed to connect AI assistant',
text: 'Failed to connect General Bots',
isBot: true
}]);
}
@ -178,9 +179,9 @@ export default function MeetRoomPage() {
className="flex-1"
>
<div className="flex flex-1 h-full">
{/* Video Area - Enhanced with better contrast and controls */}
<div className="flex-1 bg-gray-900 relative overflow-hidden">
<VideoConference className="h-[85%]" />
<VideoConference className="h-full" />
<div className="absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2 bg-gray-800/80 backdrop-blur-sm p-2 rounded-full">
<Button
variant={micEnabled ? 'link' : 'outline'}
@ -236,7 +237,7 @@ export default function MeetRoomPage() {
<Bot className="h-4 w-4" />
</AvatarFallback>
</Avatar>
<span className="font-medium text-sm text-gray-800">AI Assistant</span>
<span className="font-medium text-sm text-gray-800">General Bots</span>
</div>
<div className="flex space-x-1 pl-9">
<div className="w-2 h-2 rounded-full bg-gray-400 animate-bounce"></div>