-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[MM-40825] Account setting to always land users at the newest messages in a channel #10402
Conversation
Hello @kyeongsoosoo, Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here. |
Thanks @kyeongsoosoo for your contribution! 🎉 |
Awesome, great work @kyeongsoosoo! Will defer to dev for code review |
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.
Sorry for the delay in reviewing this. It's a big change to a complicated and sensitive part of the code base, so I wanted to make sure I had time to understand it.
I still have to give this a test, but this logic looks pretty sound to me. I have a few questions, but they're just to make sure I understand 100% of what's happening here
components/post_view/post_list_virtualized/post_list_virtualized.jsx
Outdated
Show resolved
Hide resolved
Successfully triggered e2e testing! |
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.
@kyeongsoosoo
Manually re-tested, looks good.
E2E report shows few toast related failures. Can you please take a look and fix? Thanks 🙂
@jgilliam17 |
Mattermost test server updated with git commit Access here: https://mattermost-webapp-pr-10402.test.mattermost.cloud |
New commit detected. SpinWick will upgrade if the updated docker image is available. |
Mattermost test server updated with git commit Access here: https://mattermost-webapp-pr-10402.test.mattermost.cloud |
/e2e-test |
Successfully triggered e2e testing! |
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.
Thanks @kyeongsoosoo
E2E report looks good, no PR related failures.
Test server destroyed |
@koox00 Can you please check and approve the workflow and merge? Thanks 🙂 |
Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour. |
Trying to auto merge this PR. |
Pull Request successfully merged |
Summary
unreadScrollPosition
.start_from_newest
, recent posts are loaded together when unread posts are loaded.start_from_newest
, scroll is set to newest message.start_from_newest
and scroll is at bottom,unreadWithBottomStart
toast is shown.unreadWithBottomStart
toast action moves scroll to the oldest unread message.Ticket Link
Fixes mattermost/mattermost#19278
Jira ticket: https://mattermost.atlassian.net/browse/MM-40825
Related Pull Requests
Screenshots
2022-05-27.2.25.14.mov
Release Note