diff --git a/frontend/src/components/BatchFeedback.vue b/frontend/src/components/BatchFeedback.vue new file mode 100644 index 00000000..380d0ba8 --- /dev/null +++ b/frontend/src/components/BatchFeedback.vue @@ -0,0 +1,239 @@ + + diff --git a/frontend/src/components/BatchStudents.vue b/frontend/src/components/BatchStudents.vue index 649d096e..23bf4c85 100644 --- a/frontend/src/components/BatchStudents.vue +++ b/frontend/src/components/BatchStudents.vue @@ -383,7 +383,7 @@ const getChartOptions = (categories) => { }, rotate: 0, formatter: function (value) { - return value.length > 30 ? `${value.substring(0, 30)}...` : value // Trim long labels + return value.length > 30 ? `${value.substring(0, 30)}...` : value }, }, }, diff --git a/frontend/src/components/JobCard.vue b/frontend/src/components/JobCard.vue index e59978f8..a67e69cf 100644 --- a/frontend/src/components/JobCard.vue +++ b/frontend/src/components/JobCard.vue @@ -1,5 +1,5 @@ @@ -190,12 +193,11 @@ import { BookOpen, Laptop, BookOpenCheck, - Contact2, Mail, SendIcon, MessageCircle, Globe, - ShieldCheck, + ClipboardPen, } from 'lucide-vue-next' import { formatTime, updateDocumentTitle } from '@/utils' import BatchDashboard from '@/components/BatchDashboard.vue' @@ -208,6 +210,7 @@ import AnnouncementModal from '@/components/Modals/AnnouncementModal.vue' import Discussions from '@/components/Discussions.vue' import DateRange from '@/components/Common/DateRange.vue' import BulkCertificates from '@/components/Modals/BulkCertificates.vue' +import BatchFeedback from '@/components/BatchFeedback.vue' const user = inject('$user') const showAnnouncementModal = ref(false) @@ -271,7 +274,7 @@ const tabs = computed(() => { }) batchTabs.push({ - label: 'Live Class', + label: 'Classes', icon: Laptop, }) @@ -291,6 +294,11 @@ const tabs = computed(() => { label: 'Discussions', icon: MessageCircle, }) + + batchTabs.push({ + label: 'Feedback', + icon: ClipboardPen, + }) return batchTabs }) diff --git a/frontend/src/pages/Batches.vue b/frontend/src/pages/Batches.vue index 335ae216..9e69eb72 100644 --- a/frontend/src/pages/Batches.vue +++ b/frontend/src/pages/Batches.vue @@ -1,256 +1,269 @@ diff --git a/frontend/src/pages/Courses.vue b/frontend/src/pages/Courses.vue index 16ae3ba0..54bf3687 100644 --- a/frontend/src/pages/Courses.vue +++ b/frontend/src/pages/Courses.vue @@ -71,7 +71,7 @@