-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: Scroll to bottom element #7851
feat: Scroll to bottom element #7851
Conversation
Hello @tanmaythole, 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. |
Related to this PR: #6672 |
Thanks @tanmaythole, from the other PR, this one is still outstanding:
|
Hey @matthewbirtch, I have updated the changes as required. Please check. |
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.
Seems great to me now @tanmaythole. Thanks for finishing this up!
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.
LGTM, just one nit.
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
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.
tested on iOS device and android simulator.
@enahum Friendly reminder to review this. |
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.
lgtm
Co-authored-by: Elias Nahum <[email protected]>
Thanks @larkox |
@tanmaythole There seems to be still one small ci issue. Can you run |
* feat: Scroll to bottom element * fix: Scroll to bottom element message * refactor: Removed unnecessary code * refactor: code quality improved * Update app/components/post_list/scroll_to_end_view.tsx Co-authored-by: Elias Nahum <[email protected]> * ci: update i18n --------- Co-authored-by: Daniel Espino García <[email protected]> Co-authored-by: Elias Nahum <[email protected]>
Scroll to the bottom element added in channels and threads, new messages button was also added.
Summary
It adds new functionality to the pull request channel and thread screen of the mobile app. The problem is there is no easy way to get to the bottom of the channel when you are scrolled up in the channel's history and users are forced to scroll manually, which can be frustrating if you have scrolled up far. This problem is solved by adding a new scroll-down button when the user scrolls up to some height by reading the previous messages. The same button notifies for incoming new messages as the user scrolls.
Ticket Link
Fixes mattermost/mattermost#21269
Checklist
Device Information
This PR was tested on: Android v12 and Android v10
Screenshots
Release Note