feat(admin): ACL repair, mod users, ticket clarity, ops online hub
Add Repair nav grants on permissions, /mod/users without email/IP, shared ticket queue banners, and shared online roster on CommandoCentrum. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
686279eb25
commit
6eab5e5343
39 files changed
+841
-106
No files matched your search
@@ -0,0 +1,29 @@
|
||||
import Link from "next/link";
|
||||
|
||||
/** Shared clarity banner for dual ticket products (CMS desk vs help-center). */
|
||||
export function TicketQueueBanner({
|
||||
hint,
|
||||
otherHref,
|
||||
otherLabel,
|
||||
}: {
|
||||
hint: string;
|
||||
otherHref: string;
|
||||
otherLabel: string;
|
||||
}) {
|
||||
return (
|
||||
<div
|
||||
className="rounded-lg border border-[var(--admin-info-border)] bg-[var(--admin-info-subtle)] px-4 py-3 text-sm"
|
||||
role="status"
|
||||
>
|
||||
<p className="m-0">{hint}</p>
|
||||
<p className="m-0 mt-1">
|
||||
<Link
|
||||
href={otherHref}
|
||||
className="font-medium text-[var(--admin-accent)] underline-offset-2 hover:underline"
|
||||
>
|
||||
{otherLabel}
|
||||
</Link>
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user