[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
/api/v1/statuses/{id}/history:
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
parameters:
- description: Target status ID.

View File

@@ -29,8 +29,6 @@ import (
//
// 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:
// - statuses

View File

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

View File

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