Chatbot Eventual Connectivity Made by Nicolas Diaz Montaña - ISIS3510-MOBILE-T34/T34-Wiki-SpendiQ GitHub Wiki
Chatbot Connectivity Status in SpendIQ
To ensure a seamless user experience with the chatbot feature, SpendIQ incorporates a connectivity indicator and logical controls based on the bot's and user's online status. This helps users understand when the chatbot is available and prevents frustration caused by attempting to send messages in offline scenarios.
Connectivity Indicator
A connectivity status circle is located in the toolbar of the chatbot view, providing real-time feedback on the bot's availability and the user's internet connection:
-
Green Circle:
- Condition: The chatbot is active, and the user has an internet connection.
- Behavior: The chatbot is fully operational, and the user can send messages.
-
Red Circle:
- Condition: The user does not have an internet connection.
- Behavior: The "Send" button is disabled, and the user cannot interact with the chatbot.
-
Orange Circle:
- Condition: The chatbot is not active (e.g., due to server issues or maintenance).
- Behavior: The "Send" button is disabled, and the user cannot interact with the chatbot.
User Experience Scenarios
Scenario 1: Everything is Online
- Status: Green Circle
- User Action: The user types a message and presses "Send."
- Outcome: The chatbot processes the message and provides a response.
Scenario 2: User is Offline
- Status: Red Circle
- User Action: The user attempts to interact with the chatbot.
- Outcome: The "Send" button is disabled, and the user sees the text to the side of the red circle telling them: "You are Offline".
Scenario 3: Chatbot is Inactive
- Status: Orange Circle
- User Action: The user types a message but cannot press "Send."
- Outcome: The "Send" button is disabled, and the user sees the text to the side of the orange circle telling them: "Bot Innactive".
Benefits of the Connectivity Indicator
- Clarity: Users can quickly understand the status of the chatbot and their connection.
- Prevention of Errors: Disabling the "Send" button when interaction is not possible avoids user frustration.
- Real-Time Feedback: The indicator dynamically updates to reflect changes in connectivity status.
This design ensures that the chatbot feature in SpendIQ remains intuitive and user-friendly, even in scenarios where connectivity is interrupted.