style(web): put the timestamp first in HistoryEntry to match NetworkEntry

Move the Client/Server direction badge to the right of the timestamp so the
monospace timestamp is leftmost, matching the NetworkEntry header layout.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
cliffhall 2026-07-08 20:28:48 -04:00
commit bcf10c75dd

View file

@ -124,12 +124,12 @@ export function HistoryEntry({
<Stack gap="sm">
<HeaderRow>
<Group gap="sm">
<TimestampText>{formatTimestamp(entry.timestamp)}</TimestampText>
{entry.origin && (
<MessageDirectionBadge
direction={entry.origin === "client" ? "outgoing" : "incoming"}
/>
)}
<TimestampText>{formatTimestamp(entry.timestamp)}</TimestampText>
<Badge color="dark">{method}</Badge>
{target && <TargetText>{target}</TargetText>}
</Group>