From 12504c4f34848c234b52431e746cfaed2883969d Mon Sep 17 00:00:00 2001 From: 2458773093 <2458773093@protonmail.com> Date: Thu, 1 Aug 2019 02:46:23 +0300 Subject: [PATCH] quote ui --- app/javascript/gabsocial/components/status.js | 5 +++ .../gabsocial/components/status_quote.js | 42 +++++++++++++++++++ .../styles/gabsocial/components.scss | 10 +++++ 3 files changed, 57 insertions(+) create mode 100644 app/javascript/gabsocial/components/status_quote.js diff --git a/app/javascript/gabsocial/components/status.js b/app/javascript/gabsocial/components/status.js index 5f6a225b..ec4b0263 100644 --- a/app/javascript/gabsocial/components/status.js +++ b/app/javascript/gabsocial/components/status.js @@ -7,6 +7,7 @@ import AvatarComposite from './avatar_composite'; import RelativeTimestamp from './relative_timestamp'; import DisplayName from './display_name'; import StatusContent from './status_content'; +import StatusQuote from './status_quote'; import StatusActionBar from './status_action_bar'; import AttachmentList from './attachment_list'; import Card from '../features/status/components/card'; @@ -445,6 +446,10 @@ class Status extends ImmutablePureComponent { {media} + {status.get('quote') && } + {showThread && status.get('in_reply_to_id') && status.get('in_reply_to_account_id') === status.getIn(['account', 'id']) && (