feat: Add DorkNet.DebugMod for optional diagnostic features and improved debugging capabilities

This commit is contained in:
Alexa
2026-06-26 11:03:14 +03:00
parent dc978ebd8b
commit 870baea34a
4 changed files with 121 additions and 5 deletions
+10 -1
View File
@@ -172,9 +172,18 @@ export function Rooms() {
<td className="px-4 py-2.5 text-right text-ink-200 tabular-nums">{r.blobCount}</td>
<td className="px-4 py-2.5 text-right whitespace-nowrap">
<Link to={`/rooms/${r.id}`} className="btn-ghost text-xs">Manage</Link>
<button onClick={() => setPendingDelete(r)} className="btn-ghost text-xs text-danger ml-1" title="Soft archive">
<button onClick={() => setPendingDelete(r)} className="btn-ghost text-xs text-danger ml-1" title="Soft archive (reversible)">
<Trash />
</button>
{!r.isDormRoom && (
<button
onClick={() => setPendingPurge(r)}
className="btn-ghost text-xs text-danger ml-1"
title="Purge — permanent hard delete (requires typing the room name twice)"
>
Purge
</button>
)}
</td>
</tr>
))}