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 { Link } from "react-router-dom";
|
||||
import { api, type PrivacyOverview } from "../api/client";
|
||||
import { formatDateTime } from "../utils/date";
|
||||
@@ -114,7 +115,7 @@ export default function Privacy() {
|
||||
{s.ip ?? "—"} {s.current && <span className="badge bg-green-lt text-green ms-1">this browser</span>}
|
||||
</td>
|
||||
<td className="text-secondary text-break">{s.userAgent ?? "—"}</td>
|
||||
<td className="text-secondary">{formatAgo(s.lastAccess)}</td>
|
||||
<td className="text-secondary"><TimeAgo value={s.lastAccess} /></td>
|
||||
<td className="text-secondary">{s.expiresAt ? formatDateTime(new Date(s.expiresAt)) : "—"}</td>
|
||||
</tr>
|
||||
))}
|
||||
|
||||
Reference in new issue
Block a user