From 08e212365d9820222c41ebb3ead10b880694b29a Mon Sep 17 00:00:00 2001 From: dmitriylaukhin Date: Sun, 26 Jul 2026 10:27:03 +0500 Subject: [PATCH] Link homework review entry points to pending filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dashboard tiles and the curator CTA pointed to /curator/homework without a status filter, so the default all-submissions list (newest first) buried old PENDING items pages deep — 19 June submissions sat unseen for 6 weeks while the top of the list showed freshly approved work. Co-Authored-By: Claude Fable 5 --- src/app/admin/dashboard/page.tsx | 2 +- src/app/curator/dashboard/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/admin/dashboard/page.tsx b/src/app/admin/dashboard/page.tsx index df15946..7b667f2 100644 --- a/src/app/admin/dashboard/page.tsx +++ b/src/app/admin/dashboard/page.tsx @@ -94,7 +94,7 @@ export default async function AdminDashboard() { value={homeworkPending} sub={`${homeworkTotal} всего сдано`} subAccent={homeworkPending > 0} - href="/curator/homework" + href="/curator/homework?status=pending" /> diff --git a/src/app/curator/dashboard/page.tsx b/src/app/curator/dashboard/page.tsx index 2079dab..a26f3f0 100644 --- a/src/app/curator/dashboard/page.tsx +++ b/src/app/curator/dashboard/page.tsx @@ -31,7 +31,7 @@ export default async function CuratorDashboard() { {pending > 0 ? ( - + Перейти к проверке ({pending}) → ) : (