Add system messages to chat for WebRTC events - Add 'system' author type to ChatMessage interface - Add system message rendering with styled bubble - Add system messages for connection attempts, call status, missed calls - Integrate with useWebRTC to dispatch system message events - Use MediaSession GUID (sessionGuid) for Janus session identification
Replace 'any' types with proper TypeScript types in useWebRTC and ChatDock - Replace all 'any' types with Record<string, unknown>, RTCSessionDescriptionInit, string | Error, etc. - Fix ChatDock message type to use proper interface instead of 'any' - Fix unused parameter warnings by prefixing with underscore
Auto-open chat window when receiving messages from another user - unminimize if minimized, open if closed
Remove useEffect dependencies causing connection to abort - empty dependency array so effect only runs once on mount
Remove invalid SockJS.OPEN constants causing TypeScript build error
Add extensive SockJS connection error logging to diagnose connection failures
Add EXTENSIVE logging to useChatWebSocket hook and ChatBox component - every single step logged
Enhanced WebSocket connection logging and fixed URL construction
WebSocket connection - use public domain kamocrm.com:8443 instead of private IP
- Use public domain with port 8443 (e.g., kamocrm.com:8443) - Public address forwards to NodePort 30843 on private IP 192.168.42.191 - Extracts base domain from...
WebSocket连接 - 通过NodePort 30843 (bypasses Traefik) 使用直接节点IP
- 为WebSocket直接连接IP 192.168.42.191-30843节点 - NodePort 30843 直接曝光MediaService port 8443 - Bypasses Traefik以避免WebSocket升级问题 - 总是使用HTTPS协议进行WebSocket连接
WebSocket连接 - 使用Traefik ingress而不是直接端口 8443
- 更改了WebSocket URL,以便在标准HTTPS端口上通过Traefik连接(443) - 将8443号港口从域名连接中移除(Traefik线路至80号港口服务) - 仅对本地主机/IP连接使用直接节点门户访问
Prevent self-chat and improve session creation error handling - Add validation in MemberItem to prevent opening chat with own member ID - Add backend validation in MediaController to prevent self-chat sessions - Improve error handling in ChatDock to not retry 4xx client errors
Ensure page fits viewport while preserving internal content scrollbars
Resolve vertical overflow on settings member page by removing viewport height calculations
Increase logo size and adjust welcome text layout
- Increased logo size from 200x80 to 300x120 - Positioned welcome text to start at right edge of logo - Added explicit left text alignment - Improved responsive...
Replace MUI Grid with CSS Grid for compatibility with MUI v7
- Replaced Grid component with Box using CSS Grid layout - Maintains responsive breakpoints (xs: 1, sm: 2, md: 3, lg: 4 columns) - Fixes TypeScript build error ...
Create welcome presentation page with feature cards
- Added full logo display at top left using ThemeLogo component - Created modern, polished welcome page with feature cards grid - Each feature card includes ico...
Remove glitchy row animations when toggling checkboxes - Replace 'transition: all' with specific property transitions to prevent layout animations - Memoize sortedFields array to prevent unnecessary recreations - Only animate visual properties (colors, opacity) instead of layout properties
Move subStatusOptions definition after availableStatuses to fix declaration order
Move statusTabMap definition after availableStatuses to fix build error
Add missing Next.js API route handlers for custom-forms
- Create /api/security/custom-forms route handler for GET and POST - Create /api/security/custom-forms/[id] route handler for GET, PUT, and DELETE - Proxy reque...
Improve form creation error handling and validation
- Filter out fields with empty fieldIds before sending to backend - Filter out empty stacks from form data - Add validation error if fieldId is invalid during d...
Add missing imports in FormEditor
- Add FIELD_TYPES_ARRAY import from fieldTypes - Add validateFieldId and normalizeFieldId imports from fieldValidation - Fixes TypeScript compilation errors
Replace Grid with CSS Grid layout in FieldTypeSelector
- Remove Grid component usage that was causing TypeScript errors - Replace with Box using CSS Grid for responsive layout - Maintains same visual layout and resp...
Fix TypeScript errors in FieldTypeSelector and remove unused imports
- Replace dynamic icon lookup with explicit icon map to avoid type assertion issues - Import all required icons directly from lucide-react - Remove unused Field...
Fix TypeScript errors in FieldConfigurationPanel
- Replace array.includes() with direct equality checks to avoid type narrowing issues - Remove unused Card import from FormEditor - Prefix unused stackIndex par...
Fix build errors in custom forms components
- Fix import error: getAllFields should be imported from utils, not fieldValidation - Fix TypeScript errors: Replace 'any' types with proper FieldType - Fix une...
Add comprehensive custom forms builder with drag-and-drop
- Update CRM page: Change tab name from "Custom Online Forms" to "Custom Forms" - Add CustomFormManager component for form list/browse with create/edit/delete -...
