{/* Add-flow errors render inside the modal; keep this page-level banner
for the table's toggle/reindex/delete errors only. */}
- {!addOpen && error &&
{error}
}
+ {!addOpen && !importOpen && error &&
{error}
}
@@ -164,11 +236,26 @@ export default function Manage({ capabilities }: { capabilities: string[] }) {
- {canManage && (
-
- )}
+
+ {canTransfer && (
+ <>
+
+
+ >
+ )}
+ {canManage && (
+
+ )}
+
@@ -322,8 +409,21 @@ export default function Manage({ capabilities }: { capabilities: string[] }) {
)}
- {history.length > 0 ? (
+ {history.length > 0 || importResults.length > 0 ? (
+ {importResults.map((j) => (
+
+
{j.entry_key}
+ {j.status === "ok" ? (
+
+ ok · {Object.entries(j.streams ?? {}).map(([s, n]) => `${s} ${n}`).join(" · ")}
+
+ ) : (
+
failed · {j.error || "unknown error"}
+ )}
+
{formatRelative(j.finished_at ?? j.submitted_at)}
+
+ ))}
{history.map((r) => (
{r.entry_key}
@@ -350,6 +450,55 @@ export default function Manage({ capabilities }: { capabilities: string[] }) {
+ {importOpen && (
+
+
e.stopPropagation()}>
+
+
+
+
+ )}
+
{addOpen && (
e.stopPropagation()}>
diff --git a/web/src/app.css b/web/src/app.css
index 9886a9a..f6051fe 100644
--- a/web/src/app.css
+++ b/web/src/app.css
@@ -689,6 +689,7 @@ h2 { font-size: 14px; font-weight: 600; margin-top: 24px; color: var(--gray-200)
.tk-manage-title { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--gray-200); }
.tk-manage-subtitle { font-size: 12px; color: var(--gray-500); }
.tk-manage-header-spacer { flex: 1; }
+.tk-manage-header-actions { display: flex; gap: 8px; align-items: center; }
.tk-manage-error { color: var(--red-500); font-size: 12px; }
/* Users/Roles tab bar */