feat: full integration of support, wallet updates, and auth refactoring
Overview
This Merge Request completes the frontend integration for the AI Support system and includes necessary updates for the Wallet module and Auth service.
Key Changes
AI Support & Assistant
- AssistantWidget: Implemented the main floating assistant widget to handle real-time chat with the AI.
-
Support APIs: Integrated dedicated endpoints in
support.api.tsandsupportService.tsfor chatbot interactions and agent management. - NotificationCenter: Integrated the UI for user notifications related to support tickets and system alerts.
Wallet & UI Updates
-
Wallet Page: Applied UI enhancements and logic updates to
src/pages/Wallet.tsxto align with the latest backend requirements. -
Mock Data: Updated
mockData.tsto support testing of the new wallet and support features.
Auth Service Refactoring
- authService.ts: Optimized session management and token handling to ensure stability during long-running support sessions.
Technical Details
- Scope: Focused on the Support microservice integration while maintaining compatibility with Wallet features.
- Clean Code: Ensured that the global JWT interceptor remains untouched, limiting changes only to the support-specific client logic.
Testing Performed
- Manual verification of the Assistant widget visibility and functionality.
- Verified that Wallet navigation and data display are working as expected after the updates.
- Checked that authentication remains stable across all integrated modules.