RocketChat / RocketChat/EmbeddedChat
Feature Request: Offline Message Handling and Resend/Delete UI
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 165
- Forks
- 381
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 1
Description
When a user sends a message while offline or when a network request fails, the application does not provide clear feedback or recovery options. Messages remain in a pending state indefinitely, cannot be retried or deleted through the UI, and are lost entirely on page reload.
This results in poor reliability, confusing user experience, and potential data loss.
Current Behavior
- User sends a message while offline or during a network failure.
- The message appears in the chat list with a pending or faded style.
- The network request fails or times out.
- The message remains in a pending state indefinitely.
- No error indication is shown.
- No retry or delete action is available.
- If the page is reloaded, the pending message disappears completely.
Screenshots
Proposed UI
Problems Identified
- No distinction between pending and failed messages
- No visual error feedback to the user
- No ability to retry or delete failed messages
- Failed and pending messages are stored only in memory
- Messages are lost on page reload
Desired Behavior
When a message fails to send due to offline status or a network error:
-
Message status should transition from
pendingtoerror -
An error icon (for example, an exclamation mark) should be displayed next to the message
-
Clicking the error icon should present the following actions:
- Resend: Retry sending the message
- Delete: Remove the message from the local list
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the message-sending flow, pending-state handling, and local message storage described in the issue. Verify the failed-message UI can show an error state with resend and delete actions, and that pending or failed messages survive a page reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100