* 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 |
||
|---|---|---|
| .. | ||
| channel_utils.js | ||
| deep_freeze.js | ||
| event_emitter.js | ||
| file_utils.js | ||
| key_mirror.js | ||
| post_utils.js | ||
| preference_utils.js | ||
| user_utils.js | ||