feat(chat, dashboard): agent thinking state, auto-generated conversation title & work hours settings
Summary
This MR introduces three UI improvements across the chat interface and the customer service agent dashboard.
Changes
1. Agent Thinking Indicator (Chat)
Added a visual indicator that displays while waiting for the backend response, informing the user that the agent is currently processing/reflecting. This improves perceived responsiveness and reduces uncertainty during loading states.
2. Dynamic Conversation Title (Chat)
Instead of permanently showing Nouvelle Conversation, the conversation title now updates automatically after the first message is sent, displaying the AI-generated title returned by the backend.
3. Work Hours Management (Agent Dashboard)
In the ticket management section of the customer service agent dashboard:
- Added fetching of current work hours data on load.
- Added the ability to view and modify work hours directly from the dashboard.
Testing
-
Agent thinking indicator appears while awaiting backend response and disappears on reply. -
Conversation title updates correctly after the first message exchange. -
Work hours are fetched and displayed correctly on dashboard load. -
Work hours can be modified and changes are persisted successfully.