Skip to content
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

FEAT: draft-saving feature for messages, which automatically sends them when the internet is restored. #721

Open
4 tasks
dhairyashiil opened this issue Dec 23, 2024 · 0 comments · May be fixed by #722
Open
4 tasks
Labels
enhancement New feature or request

Comments

@dhairyashiil
Copy link

As an EmbeddedChat developer

I need to:
Implement a draft-saving feature for messages, with automatic sending when the internet is restored.

So That:
It will prevent message loss during internet drops by saving drafts automatically.
No need to manually save drafts or retry sending later.

Acceptance Criteria

  • Add a draft-saving feature for messages, which automatically sends them when the internet is restored.
  • If multiple messages are queued while offline, ensure that all of them are sent in order once the connection is restored, as long as the user remains on that screen.
  • There is no need to send the messages if the user closes the tab.
  • For the last unsent message that was typed, populate it back into the input box when the user returns to the page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant