mattermost-mobile/app/scenes/channel
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
..
channel_post_list PLT-5496 Allow user to load more posts in channel posts list (#307) 2017-03-09 14:07:35 -03:00
channel.js Move periodic status check to channel scene (#318) 2017-03-03 20:32:51 -03:00
channel_container.js Move periodic status check to channel scene (#318) 2017-03-03 20:32:51 -03:00
channel_drawer_button.js PLT-5488 Add an Unread indicator on the button to open the channel drawer (#277) 2017-02-20 17:11:19 -03:00
channel_menu_button.js Navigation Drawer and Modal (#220) 2017-02-08 12:16:24 -08:00
channel_title.js Reworking navigation (#212) 2017-02-02 16:13:25 -05:00
index.js Add ability to post messages (#158) 2017-01-13 10:40:00 -03:00