Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

[Android App] Detect when connectivity is unavailable and queue messages for the VA #1753

Closed
3 tasks
ryanisgrig opened this issue Jul 8, 2019 · 3 comments
Closed
3 tasks
Labels
Needs Mockup This issue needs a mockup provided before it can be added to the backlog Needs Requirements This issue needs requirements provided before it can be added to the backlog Needs User Story This issue needs a user story provided before it can be added to the backlog stale The issue hasn't been updated in a long time and will be automatically closed.

Comments

@ryanisgrig
Copy link
Collaborator

ryanisgrig commented Jul 8, 2019

User Story

As ...
I want ...
so that ...

Acceptance Criteria

List your requirements.

  • ...
  • ...
  • ...

Resources

Provide any screenshots or conversation mockups to support your request.
Learn how to mock up bot conversations with .chat files.

Notes

Provide any additional information.

Detect when connectivity is not available and queue up questions which are then sent once connectivity is restored. Android OS seems to have a Connectivity Manager to help with this.

This will enable us to talk to scenarios when a device is occasionally disconnected (e.g. car) and how we are able to queue things and then resume.

Showing an indicator that the app is "offline" would be helpful too.

We can then demo with plane mode on/off.

This will require some investigation on what is functionally possible first, as well as UX design to determine how many messages from a user should be queued. For example, if the following is queued up:

  1. "Who is Bill Gates?"
  2. "What's on my calendar?"
  3. "Find me a coffee shop!"

Should the VA really respond with all:

  1. Bill Gates is ....
  2. Here are your meetings ...
  3. Here are some points of interest ...

or just respond to the last question?

@ryanisgrig ryanisgrig changed the title Detect when connectivity is not available and queue up questions which are then sent once connectivity is restored. Android OS seems to have a [Connectivity Manager](https://developer.android.com/training/monitoring-device-state/connectivity-monitoring) to help with this. [Android App] Detect when connectivity is unavailable and queue messages for the VA Jul 8, 2019
@ryanisgrig ryanisgrig added the Status: Backlog This will go in the product backlog label Jul 8, 2019
@Dewain27 Dewain27 added the P1 Painful if we don't fix, won't block releasing label Aug 12, 2019
@Dewain27 Dewain27 added this to the Vibranium 0.6 Release milestone Aug 12, 2019
@abiemann
Copy link
Contributor

abiemann commented Aug 15, 2019

The following will be implemented:

  1. Show in the main app when connectivity to the bot is lost
  2. Broadcast an event to widgets when connectivity is lost and regained
    3. Buffer most recent audio files of last request and auto re-send when connectivity is gained see Top Level Intent needed for "Repeat That" #2152 the client would just request "repeat that"

@abiemann
Copy link
Contributor

abiemann commented Aug 19, 2019

SpeechSDK also needs a callback for when the connection is re-established
for now, send a Cancel (silent/back channel) when bot is reconnected. see #2153

@Dewain27 Dewain27 added the Status: In Progress This work item in underway. label Aug 19, 2019
@Dewain27 Dewain27 added Status: Committed This has been confirmed for the next release. and removed Status: In Progress This work item in underway. Status: Backlog This will go in the product backlog labels Aug 19, 2019
@Dewain27 Dewain27 added the Status: Blocked Current progress is blocked label Aug 28, 2019
@ryanisgrig ryanisgrig modified the milestones: Vibranium 0.6 Release, Vibranium Aug 28, 2019
@ryanisgrig ryanisgrig removed the Status: Committed This has been confirmed for the next release. label Aug 28, 2019
@Dewain27 Dewain27 added the Status: Backlog This will go in the product backlog label Aug 28, 2019
@ryanisgrig ryanisgrig added the Needs Mockup This issue needs a mockup provided before it can be added to the backlog label Sep 26, 2019
@ryanisgrig ryanisgrig added Needs Requirements This issue needs requirements provided before it can be added to the backlog Needs User Story This issue needs a user story provided before it can be added to the backlog and removed Status: Backlog This will go in the product backlog Status: Blocked Current progress is blocked P1 Painful if we don't fix, won't block releasing labels Sep 26, 2019
@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the stale The issue hasn't been updated in a long time and will be automatically closed. label Dec 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs Mockup This issue needs a mockup provided before it can be added to the backlog Needs Requirements This issue needs requirements provided before it can be added to the backlog Needs User Story This issue needs a user story provided before it can be added to the backlog stale The issue hasn't been updated in a long time and will be automatically closed.
Projects
None yet
Development

No branches or pull requests

4 participants