Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-15227 Permalink is not loading more posts into the view when reacheded to the top #2800

Merged
merged 1 commit into from
May 17, 2019

Conversation

sudheerDev
Copy link
Contributor

@sudheerDev sudheerDev commented May 15, 2019

Selector getPostIdsAroundPost takes options arguments for slicing the required posts

https://github.com/mattermost/mattermost-redux/blob/master/src/selectors/entities/posts.js#L131-L134

As with virtualised list we can return the entire post chunk so adding -1 index as option so selector can return all the posts in the chunk. With bi-directional scrolling we can add -1 for postsAfterCount as well given we add the initial range to mount for virtualised list

https://mattermost.atlassian.net/browse/MM-15227

@sudheerDev sudheerDev added the 2: Dev Review Requires review by a core commiter label May 15, 2019
@sudheerDev sudheerDev added this to the v5.12.0 milestone May 15, 2019
@hmhealey hmhealey added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels May 16, 2019
@sudheerDev sudheerDev removed their assignment May 17, 2019
@sudheerDev sudheerDev merged commit eb03776 into master May 17, 2019
@hanzei hanzei deleted the MM-15227 branch May 17, 2019 10:35
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels May 17, 2019
composednitin pushed a commit to composednitin/mattermost-webapp that referenced this pull request May 22, 2019
@lindy65 lindy65 added Tests/Not Needed Does not require new release tests and removed 4: Reviews Complete All reviewers have approved the pull request labels May 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation Tests/Not Needed Does not require new release tests
Projects
None yet
5 participants