From 2aa4b41528e0b3fda3382876dc838efb94f3fdae Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 3 Jun 2022 12:31:23 -0500 Subject: [PATCH] StatusListContainer --> Timeline --- app/soapbox/features/community_timeline/index.js | 4 ++-- app/soapbox/features/direct_timeline/index.tsx | 4 ++-- app/soapbox/features/groups/timeline/index.js | 4 ++-- app/soapbox/features/hashtag_timeline/index.js | 4 ++-- app/soapbox/features/home_timeline/index.js | 4 ++-- app/soapbox/features/list_timeline/index.tsx | 4 ++-- app/soapbox/features/public_timeline/index.js | 4 ++-- app/soapbox/features/remote_timeline/index.tsx | 4 ++-- app/soapbox/features/test_timeline/index.tsx | 4 ++-- .../status_list_container.tsx => components/timeline.tsx} | 6 +++--- 10 files changed, 21 insertions(+), 21 deletions(-) rename app/soapbox/features/ui/{containers/status_list_container.tsx => components/timeline.tsx} (92%) diff --git a/app/soapbox/features/community_timeline/index.js b/app/soapbox/features/community_timeline/index.js index 1ccc6076f..cb64b49b3 100644 --- a/app/soapbox/features/community_timeline/index.js +++ b/app/soapbox/features/community_timeline/index.js @@ -9,7 +9,7 @@ import { expandCommunityTimeline } from 'soapbox/actions/timelines'; import SubNavigation from 'soapbox/components/sub_navigation'; import { Column } from 'soapbox/components/ui'; -import StatusListContainer from '../ui/containers/status_list_container'; +import Timeline from '../ui/components/timeline'; import ColumnSettings from './containers/column_settings_container'; @@ -81,7 +81,7 @@ class CommunityTimeline extends React.PureComponent { return ( - { onSelected={handleSuggestion} /> - { const me = state.get('me'); @@ -90,7 +90,7 @@ class GroupTimeline extends React.PureComponent { )}
- ({ hasUnread: state.getIn(['timelines', `hashtag:${props.params.id}`, 'unread']) > 0, @@ -114,7 +114,7 @@ class HashtagTimeline extends React.PureComponent { return ( - } ) : ( - {
*/} - } - = ({ params }) => { /> } - { return ( - } diff --git a/app/soapbox/features/ui/containers/status_list_container.tsx b/app/soapbox/features/ui/components/timeline.tsx similarity index 92% rename from app/soapbox/features/ui/containers/status_list_container.tsx rename to app/soapbox/features/ui/components/timeline.tsx index 196d58fc8..3265509f5 100644 --- a/app/soapbox/features/ui/containers/status_list_container.tsx +++ b/app/soapbox/features/ui/components/timeline.tsx @@ -14,11 +14,11 @@ const messages = defineMessages({ queue: { id: 'status_list.queue_label', defaultMessage: 'Click to see {count} new {count, plural, one {post} other {posts}}' }, }); -interface IStatusListContainer extends Omit { +interface ITimeline extends Omit { timelineId: string, } -const StatusListContainer: React.FC = ({ +const Timeline: React.FC = ({ timelineId, onLoadMore, ...rest @@ -68,4 +68,4 @@ const StatusListContainer: React.FC = ({ ); }; -export default StatusListContainer; +export default Timeline;