-
Notifications
You must be signed in to change notification settings - Fork 992
Show loading until all messages are processed #12834
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
Conversation
Jenkins BuildsClick to see older builds (27)
|
e327ed4
to
c1102f6
Compare
4d7d17e
to
f2f0baa
Compare
94% of end-end tests have passed
Failed tests (4)Click to expand
Passed tests (65)Click to expand |
75% of end-end tests have passed
Failed tests (1)Click to expand
Passed tests (3)Click to expand
|
f5fabaf
to
f2f0baa
Compare
@cammellos thank you for the instructions for testing, appreciate it!
Is everything expected here? |
f2f0baa
to
90f6538
Compare
97% of end-end tests have passed
Failed tests (2)Click to expand
Passed tests (67)Click to expand |
50% of end-end tests have passed
Failed tests (1)Click to expand
Passed tests (1) |
@cammellos
ISSUE 1: On build 9 (90f6538) endless "loading..." is shown when all history was fetched (instead of "Fetch more") Steps:
|
90f6538
to
ce1bbe9
Compare
@churik it should be fixed now, sorry I have messed up the rebase |
0% of end-end tests have passed
Failed tests (1)Click to expand
|
e2e failures are not related to PR. Devices:
|
ce1bbe9
to
1b16086
Compare
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
1b16086
to
153204e
Compare
This build fixes an issue with receiving messages.
Before we would stop showing loading and mark a request as completed as soon as the messages made it to our device, but not necessarily processed.
This caused 2 issues:
Testing
It's hard to replicate in real scenario, so I prepared a couple of builds that intentionally slow down the processing of messages.
One is faulty (old behavior), while the other one includes the fix.
Test faulty behavior:
#4
(https://status-im-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-211126-101731-c1102f-pr12834-universal.apk).Expected:
messages are retrieved
Actual:
messages are not retrieved
Also notice that on 3, the "loading..." spinner is gone in the chat, while messages are not there.
To test the fixed behavior, follow the same steps, but use build 5.
The chat should still show "loading..." in step 3, and on reopening the app.
Messages should be eventually retrieved in step 6.