[chore] Little settings panel report view tweak (#4025)

This commit is contained in:
tobi
2025-04-19 13:36:35 +02:00
committed by GitHub
parent 2863561c89
commit d308fd0d0a
4 changed files with 11 additions and 11 deletions

View File

@@ -11171,7 +11171,6 @@ paths:
- statuses - statuses
/api/v1/statuses/{id}/history: /api/v1/statuses/{id}/history:
get: get:
description: 'UNIMPLEMENTED: Currently this endpoint will always return an array of length 1, containing only the latest/current version of the status.'
operationId: statusHistoryGet operationId: statusHistoryGet
parameters: parameters:
- description: Target status ID. - description: Target status ID.

View File

@@ -29,8 +29,6 @@ import (
// //
// View edit history of status with the given ID. // View edit history of status with the given ID.
// //
// UNIMPLEMENTED: Currently this endpoint will always return an array of length 1, containing only the latest/current version of the status.
//
// --- // ---
// tags: // tags:
// - statuses // - statuses

View File

@@ -299,7 +299,7 @@ function StatusFooter({ status }: { status: StatusType }) {
minute: '2-digit', minute: '2-digit',
hour12: false hour12: false
})} })}
</time> </time>{ status.edited_at && "*" }
</a> </a>
</dd> </dd>
</div> </div>
@@ -322,13 +322,15 @@ function StatusFooter({ status }: { status: StatusType }) {
</summary> </summary>
<dl className="stats-more-info-content"> <dl className="stats-more-info-content">
<div className="stats-grouping"> <div className="stats-grouping">
<div className="stats-item" title="Language"> { status.language &&
<dt> <div className="stats-item" title="Language">
<span className="sr-only">Language</span> <dt>
<i className="fa fa-language" aria-hidden="true"></i> <span className="sr-only">Language</span>
</dt> <i className="fa fa-language" aria-hidden="true"></i>
<dd>{status.language}</dd> </dt>
</div> <dd>{status.language}</dd>
</div>
}
<div className="stats-item" title="Replies"> <div className="stats-item" title="Replies">
<dt> <dt>
<span className="sr-only">Replies</span> <span className="sr-only">Replies</span>

View File

@@ -23,6 +23,7 @@ import { CustomEmoji } from "./custom-emoji";
export interface Status { export interface Status {
id: string; id: string;
created_at: string; created_at: string;
edited_at: string | null;
in_reply_to_id: string | null; in_reply_to_id: string | null;
in_reply_to_account_id: string | null; in_reply_to_account_id: string | null;
sensitive: boolean; sensitive: boolean;