-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Changing the pagination in Direct users modal from buttons to infinit… #1855
Conversation
Thank you @JayaKrishnaNamburu! Looking forward to testing this out and when it's ready 👍 |
Hi @jasonblais please review this :) |
Thanks @JayaKrishnaNamburu! Can you help rebase and I'll re-generate a test server after your latest changes Big thanks for your help! |
Sure @jasonblais but yesterday I tried rebasing with master but it was saying everything was updated, let me check once again 👍 |
Hi @jasonblais done with rebasing 👍 |
Hey @JayaKrishnaNamburu, thanks again for your contribution! It's definitely a step in the right direction. Two notes below. Let us know if you have questions on either one. 1 - I think your previous rebase picked up changes not directly related to this PR. Here's a guide on how to rebase your code using Git if you'd be open to trying again? https://www.digitalocean.com/community/tutorials/how-to-rebase-and-update-a-pull-request 2 - I see the paging taking place as I scroll on the list However, it appears to bring me back to the top after the loading is completed. Video of the observed is below. https://drive.google.com/file/d/1YxRX6IxRQ4CemQeCdbTKd5na_lyYrF-e/view?usp=sharing The expected is that the user stays in the same place as before, and sees the next page of users loaded. |
/cc @esethna on above as you might have UX notes to share too. |
Hi @jasonblais I think something is missing in the branch because during Dev after pagination it started scrolling to the next page instead of going to top, let me check the issue and I will update the branch 👍 Thank you 😃 |
Hi, @jasonblais can you please review the functionality once again, I made a few changes. |
Thank you @JayaKrishnaNamburu! Functionally the scrolling works and I didn't find major bugs (apart from a known issue with creating a new direct message channel https://mattermost.atlassian.net/browse/MM-12570). Great work. I'm asking our UX/UI team to help review the loading screen and see if there are potential improvements we can make. The existing one works well, but there might be an opportunity to make the experience even smoother, such as showing the loading the indicator at the bottom of the list similar to our mobile apps. |
@JayaKrishnaNamburu just checking in on this PR, can we help clarify anything? |
Hi @esethna just changed the threshold calculation from a constant value to percentages, it would be helpful to if you check the PR and let me know if i miss out something 😊 |
|
Spinmint test server created at: https://i-010ed399b775c09e7.test.spinmint.com Test Admin Account: Username: Test User Account: Username: Instance ID: i-010ed399b775c09e7 |
@sudheerDev @JayaKrishnaNamburu sorry I'm not noticing any infinite scroll on the Direct Messages + modal anymore. Looks like the entire list of users is loaded immediately? |
Spinmint test running for more than 7 days. This test server was terminated. |
Hey @JayaKrishnaNamburu - did you have any questions on the above feedback? Let us know if we can help |
Hey @JayaKrishnaNamburu, Thank you for this contribution. This PR has been inactive for quite a while. I'm closing this one. Let me know, if you still want to work on this. |
Summary
Changing the behavior from pagination to infinite scroll for Direct Messages.
Ticket Link
MM-4687
Issue Link
5790
Checklist
make check-style
to check for style errors (required for all pull requests)make test
to ensure unit and component tests passed