chore: ADR-0007/0012 superseded status + admin users ID column
ADR-0007 and ADR-0012 both superseded by ADR-0013 as of 2026-05-01. UsersTable gains a truncated ID column for quick user identification. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -37,7 +37,7 @@ export function UsersTable() {
|
|||||||
<table className="w-full text-sm">
|
<table className="w-full text-sm">
|
||||||
<thead className="bg-gray-900 border-b border-gray-800">
|
<thead className="bg-gray-900 border-b border-gray-800">
|
||||||
<tr>
|
<tr>
|
||||||
{['Email', 'Name', 'Role', 'Consent', 'Joined', 'Status'].map((h) => (
|
{['ID', 'Email', 'Name', 'Role', 'Consent', 'Joined', 'Status'].map((h) => (
|
||||||
<th
|
<th
|
||||||
key={h}
|
key={h}
|
||||||
className="text-left px-4 py-2.5 text-xs text-gray-500 font-medium uppercase tracking-wide"
|
className="text-left px-4 py-2.5 text-xs text-gray-500 font-medium uppercase tracking-wide"
|
||||||
@@ -50,13 +50,13 @@ export function UsersTable() {
|
|||||||
<tbody className="divide-y divide-gray-800">
|
<tbody className="divide-y divide-gray-800">
|
||||||
{loading ? (
|
{loading ? (
|
||||||
<tr>
|
<tr>
|
||||||
<td colSpan={6} className="px-4 py-6 text-center text-gray-500">
|
<td colSpan={7} className="px-4 py-6 text-center text-gray-500">
|
||||||
Loading…
|
Loading…
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
) : users.length === 0 ? (
|
) : users.length === 0 ? (
|
||||||
<tr>
|
<tr>
|
||||||
<td colSpan={6} className="px-4 py-6 text-center text-gray-500">
|
<td colSpan={7} className="px-4 py-6 text-center text-gray-500">
|
||||||
No users yet.
|
No users yet.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -66,6 +66,9 @@ export function UsersTable() {
|
|||||||
key={u.id}
|
key={u.id}
|
||||||
className="hover:bg-gray-900 transition-colors cursor-pointer"
|
className="hover:bg-gray-900 transition-colors cursor-pointer"
|
||||||
>
|
>
|
||||||
|
<td className="px-4 py-2.5 text-gray-500 text-xs font-mono tabular-nums">
|
||||||
|
{u.id.slice(0, 8)}
|
||||||
|
</td>
|
||||||
<td className="px-4 py-2.5">
|
<td className="px-4 py-2.5">
|
||||||
<Link href={`/users/${u.id}`} className="hover:underline text-indigo-400">
|
<Link href={`/users/${u.id}`} className="hover:underline text-indigo-400">
|
||||||
{u.email}
|
{u.email}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# ADR-0007: ε-greedy v1 as the active recommendation policy
|
# ADR-0007: ε-greedy v1 as the active recommendation policy
|
||||||
|
|
||||||
## Status
|
## Status
|
||||||
Accepted — 2026-04-16
|
Superseded by ADR-0013 — 2026-05-01
|
||||||
|
|
||||||
## Context
|
## Context
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# ADR-0012 — ε-greedy v2: profile features in the bandit (D=7→12)
|
# ADR-0012 — ε-greedy v2: profile features in the bandit (D=7→12)
|
||||||
|
|
||||||
**Status:** Promoted
|
**Status:** Superseded by ADR-0013 — 2026-05-01
|
||||||
**Date:** 2026-04-25 (accepted) / 2026-04-26 (promoted)
|
**Date:** 2026-04-25 (accepted) / 2026-04-26 (promoted)
|
||||||
**Issue:** #99
|
**Issue:** #99
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user