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

Feature/4378/add temporary messages while sending #4422

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

mahibi
Copy link
Collaborator

@mahibi mahibi commented Nov 6, 2024

resolve #4378

WIP

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 TODO

  • recycler view problem
  • implement resend logic
  • with very slow internet connection, it happened that same message is sent twice (so with different reference id). Check how this can be avoided.
  • change implementation of temporary messages in offline mode (dataStore -> Room)
  • change usage of TemporaryMessageViewHolder (use for sending failed messages and "no-internet-connection" mode)
  • check "Unread messages" bug

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

@mahibi mahibi force-pushed the feature/4378/addTemporaryMessagesWhileSending branch from d335f4f to 17995ee Compare November 21, 2024 21:45
@mahibi mahibi force-pushed the feature/4378/addTemporaryMessagesWhileSending branch 4 times, most recently from 43335b2 to 85aeab0 Compare December 4, 2024 14:47
@mahibi mahibi force-pushed the feature/4378/addTemporaryMessagesWhileSending branch 3 times, most recently from 12eb375 to a255b91 Compare December 11, 2024 14:29
Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/4422-talk.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud Talk app.

@mahibi mahibi force-pushed the feature/4378/addTemporaryMessagesWhileSending branch from 3356718 to 14caa73 Compare December 13, 2024 12:51
Copy link
Contributor

Codacy

Lint

TypemasterPR
Warnings158156
Errors7272

SpotBugs

CategoryBaseNew
Bad practice66
Correctness1616
Dodgy code7171
Internationalization33
Malicious code vulnerability33
Performance44
Security11
Total104104

Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/4422-talk.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud Talk app.

TODO:
check id type --> see TODO "currentTimeMillies fails as id because later on in the model it's not Long but Int!!!!" in OfflineFirstChatRepository.kt

Signed-off-by: Marcel Hibbe <[email protected]>
@mahibi mahibi force-pushed the feature/4378/addTemporaryMessagesWhileSending branch from 8aad686 to 4fcc62c Compare December 20, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show pending indicator for messages that are being sent (incl retry)
1 participant