From f2d602a8fe6c130404746f1e41a7d878862de8f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Thu, 26 Feb 2026 14:00:00 +0100 Subject: [PATCH] nicolium: provide data used by Readability.js 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/status.tsx | 4 ++-- .../src/features/status/components/thread.tsx | 17 +++++++++++------ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/packages/pl-fe/src/components/status.tsx b/packages/pl-fe/src/components/status.tsx index f930c9f4d..71c2af7d4 100644 --- a/packages/pl-fe/src/components/status.tsx +++ b/packages/pl-fe/src/components/status.tsx @@ -551,7 +551,7 @@ const Status: React.FC = (props) => { handlers={minHandlers} focusable={focusable} element='article' - lang={actualStatus.language} + lang={actualStatus.language || undefined} > {body} @@ -667,7 +667,7 @@ const Status: React.FC = (props) => { handlers={handlers} focusable={focusable} element='article' - lang={actualStatus.language} + lang={actualStatus.language || undefined} data-testid='status' > {body} diff --git a/packages/pl-fe/src/features/status/components/thread.tsx b/packages/pl-fe/src/features/status/components/thread.tsx index 1a4cfc453..c7b58f54c 100644 --- a/packages/pl-fe/src/features/status/components/thread.tsx +++ b/packages/pl-fe/src/features/status/components/thread.tsx @@ -248,7 +248,7 @@ const Thread = ({ deleted /> ) : ( - +
- {status.account.local === false && ( - - - - )} + + {status.spoiler_text && } + + + + + {status.edited_at && } + + {status.account.local === false && } +