## Device Tracking (conversation-service) - Add DeviceInfoDto class for validating device information - Extract client IP from X-Forwarded-For and X-Real-IP headers - Capture User-Agent header automatically on conversation creation - Support optional fingerprint and region from client - Pass deviceInfo through service layer to entity for persistence Files changed: - conversation.controller.ts: Add extractClientIp() method and header capture - conversation.dto.ts: Add DeviceInfoDto with validation decorators - conversation.service.ts: Update CreateConversationParams interface ## Build Optimization (admin-client) - Implement code splitting via Rollup manualChunks - Separate vendor libraries into cacheable chunks: - vendor-react: react, react-dom, react-router-dom (160KB) - vendor-antd: antd, @ant-design/icons (1013KB) - vendor-charts: recharts (409KB) - vendor-data: @tanstack/react-query, axios, zustand (82KB) - Main bundle reduced from 1732KB to 61KB (96% reduction) - Set chunkSizeWarningLimit to 1100KB for antd Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||