mattermost-mobile/assets/base
Chris Duarte 496068e99c PLT-5496 Allow user to load more posts in channel posts list (#307)
* Group addDatesToPostList options into object

* Clean up imports in PostList

* Dry up code for adding dates to posts in PostList

* Allow user to load more posts in channel post list

* Load more posts upon scrolling to end instead of with button

* Wait for initial posts to be loaded before loading more

* Return data in getPosts actions

* Check how many posts were fetched to determine if there are more

* Insert load-more-posts into list in PostList not post_utils.js

* Rename component for LoadMorePosts

* Use LoadMorePosts to indicate if more posts are loading

* Only try to load more posts if initial posts have been loaded

* Don’t show LoadMorePosts if posts list is empty

* Don’t try to load more posts if first post has been loaded

* Don’t show LoadMorePosts if first post has been loaded

* Set hasFirstPost in willReceiveProps of PostList

* Use constant for load-more-posts token string

* Only show LoadMorePosts if pagination is enabled on PostList

* Fix logic for determining if posts loaded in PostList

* Ensure PostList ListView rerenders

* Move load more posts logic into ChannelPostList

* Remove unused getTheme from ChannelPostList container

* Avoid clever variable assignment in LoadMorePosts
2017-03-09 14:07:35 -03:00
..
i18n PLT-5496 Allow user to load more posts in channel posts list (#307) 2017-03-09 14:07:35 -03:00
images PLT-5530 Render placeholder icons + metadata for file attachments in posts list (#249) 2017-02-17 17:40:40 -05:00
config.json PLT-5566 Added clientside handling to automatically show direct channels (#270) 2017-02-17 10:53:46 -05:00
themes.json Added whitelabeling support using assets/override (#156) 2017-01-05 16:32:24 -03:00