Add a since-you-last-looked summary, 30-day uptime ribbons, a maintenance timeline and hover timestamps
- Dashboard card on what changed since the user pressed Got it (users.last_looked_at, migration 0021), folding each problem and its recovery into one line. - Uptime ribbons on servers and integrations, built from the audit log; integrations' failing/working-again moments are now recorded. - Timeline of running and scheduled maintenance windows on the Maintenance page. - TimeAgo component: relative times with the exact time in the chosen format on hover. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3945c60681
commit
906220040e
32 files changed
+3380
-15
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { useEffect, useState } from "react";
|
||||
import TimeAgo from "../components/TimeAgo";
|
||||
import { api, type SessionSummary } from "../api/client";
|
||||
import { formatDateTime } from "../utils/date";
|
||||
import { useSortable } from "../hooks/useSortable";
|
||||
@@ -148,7 +149,7 @@ export default function Sessions() {
|
||||
<td>{s.role ?? <span className="text-secondary">unknown user</span>}</td>
|
||||
<td>{s.ip ?? "—"}</td>
|
||||
<td className="text-secondary">{friendlyUserAgent(s.userAgent)}</td>
|
||||
<td>{formatDateTime(new Date(s.lastAccess))}</td>
|
||||
<td><TimeAgo value={s.lastAccess} /></td>
|
||||
<td>{s.expiresAt ? formatDateTime(new Date(s.expiresAt)) : "—"}</td>
|
||||
<td>
|
||||
<button
|
||||
|
||||
Reference in new issue
Block a user