Use Case 1: Account Login
- The user opens the Smart Lang app, and login options are displayed on the landing page.
- The user enters their username and password (or uses the app without registration in offline mode).
- The app sends credentials to the superlogin authentication service.
- superlogin validates the credentials against the CouchDB user database.
- If valid, a session token is returned and the app syncs local PouchDB data with the remote CouchDB server.
- The user is directed to the homepage and can access the AAC board. If credentials are invalid, the user is notified that login failed.
Use Case 2: Offline Accessibility
- The user opens the Smart Lang app and continues in offline mode, which is displayed on the landing page.
- The system loads any cached data stored by the Service Worker.
- The user is directed to the homepage and can access the AAC board.
Use Case 3: Sentence Creation (Without Suggestion)
- The user views words from the AAC board on the homepage.
- The user selects a word.
- The system adds the selected word to the speech box.
- The user searches for the next word on the board.
- The user adds more words to the speech box.
- The system continues to add each word to the speech box after the last selected word.
- The user presses the Speak button.
- The system reads the complete sentence using text-to-speech.
Use Case 4: Sentence Creation (With Suggestion)
- The user views words from the AAC board on the homepage.
- The user selects a word.
- The system adds the selected word to the speech box.
- The user searches for the next word on the board.
- The user views suggested words on the “Suggested Words Box” displayed on the AAC board.
- The user clicks and adds a word from the suggested words box.
- The system continues to add each word to the speech box after the last selected word.
- The user presses the Speak button.
- The system reads the complete sentence using text-to-speech.
Use Case 5: Sentence Editing
- The user views the sentence on the speech box from the AAC board on the homepage.
- The user selects a word to be deleted.
- The system deletes the selected word from the speech box.
- The user views and searches for the next word on the board.
- The user selects a word.
- The system adds the selected word to the speech box.
- The user presses the Speak button.
- The system reads the updated sentence using text-to-speech.
Use Case 6: Caregiver Adds Vocabulary (Without Suggestion)
- The caregiver clicks on the Caregiver page.
- The system displays the caregiver page and the vocabulary management button.
- The caregiver clicks on the vocabulary management button.
- The caregiver selects Add New Word.
- The system displays vocab words from the board.
- The caregiver views and searches for vocab words.
- The caregiver clicks and submits the selected word.
- The system saves the new word to the database.
- The system updates the AAC board with the new vocabulary word.
Use Case 7: Caregiver Adds Vocabulary (With Suggestion)
- The caregiver clicks on the Caregiver page.
- The system displays the caregiver page and the vocabulary management button.
- The caregiver clicks on the vocabulary management button.
- The caregiver selects Add New Word.
- The system displays suggested vocab words based on the user's experience.
- The caregiver views and searches through the suggested vocab words.
- The caregiver clicks and submits the suggested vocabulary word
- The system saves the new word to the database.
- The system updates the AAC board with the new vocabulary word.
Use Case 8: Caregiver Removes Vocabulary
- The caregiver clicks on the Caregiver page.
- The system displays the caregiver page and the vocabulary management button.
- The caregiver clicks on the vocabulary management button.
- The caregiver selects Remove Word.
- The system displays the user's current AAC vocab words from the board.
- The caregiver views and searches for the vocab word to remove.
- The caregiver clicks and submits the selected word to remove.
- The system saves and removes the word from the database.
- The system updates the AAC board with the removed vocabulary word.