Ship site UI checklist, move admin to /mstcontroller, and add safe taxonomy label migration.
Deploy edu.mstaut.ir / deploy (push) Has been cancelled

Production already has migrations through 008; 009 only updates four seed labels by id. Faculty sync remains upsert-by-email/name and does not wipe curated data.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
smhk1376andCursor committed 2026-10-16 16:26:21 +03:30
1 parent 3eea1c35a6
commit 2b0db26a93
171 files changed
+1477 -807

No files matched your search

@@ -31,12 +31,12 @@ export function FacultySyncButton() {
const res = await fetch("/api/admin/faculty/sync", { method: "POST" });
const body = (await res.json()) as SyncPayload;
if (!res.ok || !body.ok || !body.data) {
setError(body.error ?? "همگام‌سازی ناموفق بود");
setError(body.error ?? "همگام سازی ناموفق بود");
return;
}
const { total, inserted, updated, imagesSaved } = body.data;
setMessage(
`${total} استاد خوانده شد — ${inserted} جدید، ${updated} به‌روز` +
`${total} استاد خوانده شد — ${inserted} جدید، ${updated} به روز` +
(imagesSaved > 0 ? `، ${imagesSaved} تصویر` : ""),
);
startTransition(() => {