1
0
Fork 0

style(events): replace dashes with ASCII in event log UI

This commit is contained in:
Jason Fraley 2026-09-07 05:19:48 -04:00
parent cdfd5c4278
commit 47d338c868
2 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@ export default function EventLogPage() {
<div>
<h1 className="text-2xl font-semibold tracking-tight">Event Log</h1>
<p className="text-muted-foreground text-sm">
The full game event ledger — system actions and GM narrative events. Filter by type,
The full game event ledger: system actions and GM narrative events. Filter by type,
target, source, or date range.
</p>
</div>

View file

@ -122,7 +122,7 @@ function actorLabel(actor: EventRow["actor"]): string {
}
function structureLabel(structure: EventRow["structure"]): string {
if (structure == null) return "—";
if (structure == null) return "-";
if (typeof structure === "number") return `#${structure}`;
return structure.name || "Unknown structure";
}
@ -338,7 +338,7 @@ export default function EventLogTable() {
className="w-36"
aria-label="From date"
/>
<span className="text-muted-foreground text-xs">–</span>
<span className="text-muted-foreground text-xs">-</span>
<Input
type="date"
value={dateTo}
@ -426,7 +426,7 @@ export default function EventLogTable() {
? `${TARGET_COLLECTION_LABELS[row.targetCollection] ?? row.targetCollection}${
row.targetId != null ? ` #${row.targetId}` : ""
}`
: "—"}
: "-"}
</TableCell>
</TableRow>
);
@ -439,7 +439,7 @@ export default function EventLogTable() {
{/* Pagination */}
<div className="flex flex-wrap items-center justify-between gap-2">
<span className="text-muted-foreground text-xs">
Showing {from.toLocaleString()}–{to.toLocaleString()} of {totalDocs.toLocaleString()}
Showing {from.toLocaleString()}-{to.toLocaleString()} of {totalDocs.toLocaleString()}
</span>
<div className="flex items-center gap-2">
<Select