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

Show pending indicator for messages that are being sent (incl retry) #4378

Open
mahibi opened this issue Oct 24, 2024 · 0 comments · May be fixed by #1259 or #4422
Open

Show pending indicator for messages that are being sent (incl retry) #4378

mahibi opened this issue Oct 24, 2024 · 0 comments · May be fixed by #1259 or #4422
Assignees
Labels
1. to develop Accepted and waiting to be taken care of (should be only set by nextcloud employees) enhancement New feature or request feature: 📵 offline support

Comments

@mahibi
Copy link
Collaborator

mahibi commented Oct 24, 2024

Messages that are being sent should be visible inside the chat, but there should be an indicator that sending is still in progress.
Or if sending failed, there should be an option to re-trigger sending.

Also see #1259 for an old draft. Now with offline support this may have to be handled differently.

Also make sure to set reference id's for messages that are sent when being offline: #4251.

Basic steps:

(discussed with @Ivansss)

When sending message (also while being offline):

  • create temporary message
  • set a reference id
  • put it into chatlist and show an icon (spinner or clock..)

When receiving send-response or get messages

  • check all reference ids
    • if reference id from a received message is equal to a reference id of temporary message
      • replace temporary message with received message
      • delete temorary message from DB

Links:

@mahibi mahibi added enhancement New feature or request feature: 📵 offline support 1. to develop Accepted and waiting to be taken care of (should be only set by nextcloud employees) labels Oct 24, 2024
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 💬 Talk team Oct 24, 2024
@mahibi mahibi moved this from 🧭 Planning evaluation (don't pick) to 🆕 New to evalutate in 💬 Talk team Oct 24, 2024
@nickvergessen nickvergessen linked a pull request Nov 4, 2024 that will close this issue
2 tasks
@mahibi mahibi self-assigned this Nov 4, 2024
@mahibi mahibi linked a pull request Nov 6, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of (should be only set by nextcloud employees) enhancement New feature or request feature: 📵 offline support
Projects
Status: 🏗️ In progress
1 participant