Enhance course request views and notification handling - #1948
Merged
vikrantwiz02 merged 5 commits intoAug 12, 2026
Conversation
…reate_discipline functions
NotificationSerializer now returns data as valid JSON (json.dumps), fixing the dashboard parse that broke on Python-repr None for role-tagged notifications and blanked the whole list. Adds a clear_notifications endpoint + notificationclear route to clear a tab's notifications in one action, honouring the role-visibility rule.
…placement Enforce the UG below-C+ grade rule for BL-slot course requests at submit, and annotate BL courses with eligibility so the form can warn on selection. On approval, derive registration_type from the prior grade (Backlog/Improvement/Regular) and create a course_replacement for the prior registration, mirroring the UG add-course approval.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and bug fixes across academic procedures, notifications, and student management. The most significant changes include stricter and more accurate eligibility checks for PhD/PG course registration, improved notification handling (including a new bulk-clear endpoint), and more precise discipline assignment logic for student batches. Below are the most important changes grouped by theme:
Academic Procedures: PhD/PG Registration and Course Handling
Notifications: API and Bulk Operations
NotificationSerializerto robustly parse and return notification data as JSON, handling both string and dict payloads.Student Management: Discipline Assignment