feat(catalog): SSR stats in Visual Manager, honest deletes, newPageParent

Pass DB totals into StatsBar, mirror Catalog Structure delete copy, and open New Page with ?newPageParent= for shop and BC.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
simoleo89
2026-07-18 21:14:55 +02:00
co-authored by Cursor
parent b7fd19b6d9
commit 8d1cf86105
7 changed files with 118 additions and 38 deletions
@@ -127,7 +127,7 @@ export function RootTabs({
if (!canEdit) return;
const ok = await confirm({
title: "Delete root page",
description: `Delete root page "${tab.caption}"? Children will be reparented.`,
description: `Delete root page "${tab.caption}"? Child pages (if any) will be moved to root; items on this page will be deleted.`,
confirmLabel: "Delete",
});
if (!ok) return;