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
Allow to fetch more history in public chats (up to 30 days) #8033
Conversation
275e32d
to
412b162
Compare
Jenkins BuildsClick to see older builds (29)
|
057e803
to
834022d
Compare
834022d
to
e1b686c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I feel like I have my memory back being able to go into history! Great work!
- I'll create that issue to polish and animate new messages being loaded.
- I believe we decided to keep 'Fetch more messages' rather than load to maintain consistency. But I prefer load as it's more conventional. I'll check other places we need to update to Load for consistency.
e1b686c
to
3e107e6
Compare
@hesterbruikman it is still "Fetch more messages" for gaps which appear between history requests. I just wanted to emphasize that this one is rather about loading/fetching of older messages than about fetching of missed messages. It looks and works similarly but that's two different cases imo. Let me know if it should be changed. |
Thanks @rasom. Let's stick with "Fetch more messages" for both, for now. It is the most accurate capture of what happens. The more I think about it 'Load' might set the wrong expectations. In time, a more suitable solution for older messages would be to fetch on scroll, which I realize comes with it's own challenges. It would however require less effort from the user to mentally process as it's a response to existing behavior rather than demand for something extra ('tap this button'). Cc @ERRORIST |
I would add fetching by scroll separately and we will still need to have current ui, for the case when fetching history is disabled by default on mobile connection. Because this fetching comes with some traffic cost |
This features relies on mailservers being able to store 30 days of all whisper traffic doesn't it? How much is it right now? How does it grows with increased user base? |
@yenda it's 30 days currently I believe, I don't know how much it grows with current user base as I don't know how large it is, but at the moment 30 days worth of data are around 2.2/2.5 GB |
Correct, around
And it is indeed 30 days: But considering the amount of space left we could easily double it. Though of course the more users we get the bigger it will grow over time. |
3e107e6
to
23cf56a
Compare
@rasom thanks for additional "Fetch 48-60h", "Fetch 84-96h", you can remove it now.
I know, that it is not about this particular PR right now, just want to emphasize that these problems will be more visible if we decide to merge this PR now. Tested on IOS and Android:
@rachelhamlin @annadanchenko let me know if you think we should include this PR in 0.12.0. |
both problems are out of the scope of this PR. That behavior on video doesn't seem to be a problem imo. Regarding slow scroll - it's a problem for anyone who used app regularly for more than month. I would say that ability to fetch history gives more advantages than slow scrolling disadvantages (assuming that's only a revealing of an existing issue). |
98% of end-end tests have passed
Failed tests (1)Click to expand
Passed tests (47)Click to expand
|
I agree with that too |
I don't think the time stamp issues (#6946, #6419) or slow scroll should block this PR—user has to manually change or have custom time on their device? Sounds far out. But whether to include this PR in the current release is test team's decision. Very nice to have, imo, not a need. Nice work @rasom. |
c7c84a8
to
9b9eefb
Compare
Pull Request Checklist
|
Please review only the last commit, merge after #8025
status: ready