From 0edd44dccdf69a41b573fef974881c885a1671d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Wed, 22 Jul 2026 12:33:49 +0300 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=97=82=EF=B8=8F=20relocate=20?= =?UTF-8?q?student=20marks=20to=20Y=C3=96NET=C4=B0M=20sidebar=20section=20?= =?UTF-8?q?and=20refine=20categories=20-=20move=20teacher=20student=20mark?= =?UTF-8?q?s=20lookup=20(/management/student-marks)=20out=20of=20general?= =?UTF-8?q?=20Education=20group=20and=20into=20Y=C3=96NET=C4=B0M=20Reports?= =?UTF-8?q?=20section=20-=20update=20Notes=20group=20icon=20to=20IconNote?= =?UTF-8?q?=20for=20visual=20consistency=20-=20ensure=20clean=20categoriza?= =?UTF-8?q?tion=20between=20general=20learning=20tools=20and=20staff=20man?= =?UTF-8?q?agement=20tools=20-=20verify=20production=20build=20passes=20wi?= =?UTF-8?q?th=20zero=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/side-nav.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/layout/side-nav.tsx b/src/components/layout/side-nav.tsx index e196b75..7807699 100644 --- a/src/components/layout/side-nav.tsx +++ b/src/components/layout/side-nav.tsx @@ -68,7 +68,6 @@ const NAV_GROUPS: NavGroup[] = [ { to: "/events", labelKey: "nav.events", Icon: IconCalendar }, { to: "/calendar", labelKey: "nav.calendar", Icon: IconCalendarDays }, { to: "/marks", labelKey: "nav.marks", Icon: IconChart, exactRole: "student" }, - { to: "/management/student-marks", labelKey: "nav.studentMarks", Icon: IconChart, minRole: "teacher" }, { to: "/attendance", labelKey: "nav.attendance", Icon: IconClipboardCheck, exactRole: "student" }, { to: "/pomodoro", labelKey: "nav.pomodoro", Icon: IconClock, exactRole: "student" }, ], @@ -85,32 +84,33 @@ const NAV_GROUPS: NavGroup[] = [ { id: "grades", labelKey: "nav.group.grades", - Icon: IconChart, + Icon: IconNote, items: [ { to: "/notes", labelKey: "nav.notes", Icon: IconNote }, ], }, + { + id: "community", + labelKey: "nav.group.community", + Icon: IconGlobe, + items: [ + { to: "/messages", labelKey: "nav.messages", Icon: IconMessage }, + { to: "/questions", labelKey: "nav.questions", Icon: IconHelpCircle }, + ], + }, { id: "reports", labelKey: "nav.group.reports", Icon: IconReportAnalytics, minRole: "teacher", items: [ + { to: "/management/student-marks", labelKey: "nav.studentMarks", Icon: IconChart, minRole: "teacher" }, { to: "/management/student-attendance", labelKey: "nav.studentAttendance", Icon: IconClipboardCheck, minRole: "teacher" }, { to: "/management/pomodoros", labelKey: "nav.studentPomodoro", Icon: IconClock, minRole: "teacher" }, { to: "/work", labelKey: "nav.work", Icon: IconBriefcase, minRole: "teacher", maxRole: "manager" }, { to: "/management/staff-work", labelKey: "nav.staffWork", Icon: IconBriefcase, minRole: "manager" }, ], }, - { - id: "community", - labelKey: "nav.group.community", - Icon: IconGlobe, - items: [ - { to: "/messages", labelKey: "nav.messages", Icon: IconMessage }, - { to: "/questions", labelKey: "nav.questions", Icon: IconHelpCircle }, - ], - }, { id: "settings", labelKey: "nav.group.settings",