fix(admin): ops page — add section description, remove redundant footer (#107)
Adds a one-line purpose description under the Ops heading so it is clear what the section is for (shadow policy toggles, signal replay, per-user actions). Removes the duplicate "User-level actions" subsection whose content is now covered by the header description. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -47,7 +47,14 @@ export default function OpsPage() {
|
||||
return (
|
||||
<AdminShell>
|
||||
<div className="space-y-8">
|
||||
<h1 className="text-xl font-semibold">Ops actions</h1>
|
||||
<div>
|
||||
<h1 className="text-xl font-semibold">Ops</h1>
|
||||
<p className="text-sm text-gray-500 mt-1">
|
||||
Live system controls — toggle shadow recommendation policies, replay past signals
|
||||
for backfill or debugging, and find per-user actions (token revoke, bandit reset)
|
||||
on the <a href="/users" className="text-indigo-400 hover:underline">Users page</a>.
|
||||
</p>
|
||||
</div>
|
||||
{msg && <p className="text-green-400 text-sm">{msg}</p>}
|
||||
{error && <p className="text-red-400 text-sm">{error}</p>}
|
||||
|
||||
@@ -100,14 +107,6 @@ export default function OpsPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* User-level ops */}
|
||||
<section className="space-y-3">
|
||||
<h2 className="text-base font-medium text-gray-300">User-level actions</h2>
|
||||
<p className="text-sm text-gray-500">
|
||||
Revoke integration tokens and reset bandit state are available on the{' '}
|
||||
<a href="/users" className="text-indigo-400 hover:underline">Users page</a> — navigate to a user detail view.
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
</AdminShell>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user