-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show replies that have timed out as pending #604
Comments
That would be my preferred approach, but a good topic for the next sync w/ Nina. Nina, the context here is that the client is in an error state ("Trouble connecting to the server") but the user sends a reply anyway.
I don't think that's correct since the reply should send once the user successfully re-establishes connectivity. It should be in "failed" state if they terminate the client before resolving the connectivity issue.
I don't think that's desirable; if we do that for replies, we'd IMO also have to lock other connectivity-dependent features of the client or switch it into offline mode. |
Adding to epic #650 |
Tracking as release blocker because the current behavior (where some failed replies will suddenly send when connectivity is restored) has high potential to be confusing and disorienting. |
Description
Follow-up issue to draft-replies PR
Right now when a reply fails to send due to a timeout we display it as failed in the GUI and following replies are shown as pending (in a translucent reply bubble) while the queue is paused.
Should replies sent while the queue is paused:
A) show up as pending (in a translucent reply bubble that'll eventually have an animated progress icon to show that it's being sent)
B) show up as failed (in a reply bubble that has a red bar to show that it actually isn't being sent)
C) show up as drafts that can't be sent because of the network issue (so not the translucent in-progress state, not the red-bar failed state)? Also, should we disable the "Send" button and instead have a "Save" button when the queue is paused? Should the entire reply box be disabled?
UPDATE as of 2/19/20
We decided that for the pilot we are going to stick with option A above (without plans for an animated progress icon): replies sent while the queue is paused will continue to show up as pending. In addition, we will no longer show a reply that times out as failed, and instead will show it as pending until the user is logged out or a retry succeeds. Pending indicates to the user that a reply will be retried as soon as the network recovers. Failed indicates to the user that a reply will not be retried.
Note: A user may want to cancel or change a pending reply. Thoughts on this are captured here: #810
The text was updated successfully, but these errors were encountered: