From 914a57e951b7b0739a2992fd453847963190cbeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Mon, 13 Oct 2025 18:43:07 +0200 Subject: [PATCH] pl-fe: status ui changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-fe/src/components/account.tsx | 10 ----- packages/pl-fe/src/components/status.tsx | 49 ++++++++++++++--------- 2 files changed, 30 insertions(+), 29 deletions(-) diff --git a/packages/pl-fe/src/components/account.tsx b/packages/pl-fe/src/components/account.tsx index 0f27aa026..c8e707905 100644 --- a/packages/pl-fe/src/components/account.tsx +++ b/packages/pl-fe/src/components/account.tsx @@ -102,7 +102,6 @@ interface IAccount { withDate?: boolean; withLinkToProfile?: boolean; withRelationship?: boolean; - showEdit?: boolean; approvalStatus?: StatusApprovalStatus | null; emoji?: string; emojiUrl?: string; @@ -130,7 +129,6 @@ const Account = ({ withDate = false, withLinkToProfile = true, withRelationship = true, - showEdit = false, approvalStatus, emoji, emojiUrl, @@ -383,14 +381,6 @@ const Account = ({ )} - {showEdit ? ( - <> - · - - - - ) : null} - {actionType === 'muting' && account.mute_expires_at ? ( <> · diff --git a/packages/pl-fe/src/components/status.tsx b/packages/pl-fe/src/components/status.tsx index af377a828..12b631193 100644 --- a/packages/pl-fe/src/components/status.tsx +++ b/packages/pl-fe/src/components/status.tsx @@ -23,6 +23,7 @@ import { useStatusMetaStore } from 'pl-fe/stores/status-meta'; import { textForScreenReader } from 'pl-fe/utils/status'; import EventPreview from './event-preview'; +import RelativeTimestamp from './relative-timestamp'; import StatusActionBar from './status-action-bar'; import StatusContent from './status-content'; import StatusLanguagePicker from './status-language-picker'; @@ -383,25 +384,35 @@ const Status: React.FC = (props) => { > {statusInfo} - - - - - )} - /> +
+
+ +
+ +
+ event.stopPropagation()}> + + + + + {!!actualStatus.edited_at && ( + <> + · + + + + )} +
+