feat(mobile): Add animated TypingIndicator for AI chat responses
Merged
FE
8mo ago+335+335+012345678901234567890123456789-165-165-012345678901234567890123456789
Summary
- Adds
mobile/lib/widgets/typing_indicator.dartβ a new animated widget with pulsing dots to indicate the AI is generating a response - Replaces the static
CircularProgressIndicator+ "AI is thinking..." text in the chat conversation screen
Details
The TypingIndicator uses a single AnimationController with staggered dot opacity for a smooth looping pulse. It uses colorScheme.onSurfaceVariant so it works correctly in both light and dark themes.
Test plan
- Send a message in a chat conversation
- Verify the animated dots appear while the AI is responding
- Verify the indicator disappears once the response completes
- Confirm it looks correct in light and dark theme
π€ Generated with Claude Code
Summary by CodeRabbit
-
New Features
- In-line animated typing indicator added to the message list showing "Thinking" with three bouncing dots.
- "New Conversation" flow opens a fresh chat screen immediately (no pre-creation delay).
-
Improvements
- Typing indicator rendered as a chat bubble for consistent message flow.
- Chat auto-scrolls to bottom while messages are being sent or the assistant is preparing a response.
- Refresh and title-edit controls are only available for existing conversations.