G1: Implementation of Other Academic Procedures for Fusion_Client#225
Open
SayanChakraborty08 wants to merge 19 commits into
Open
Conversation
- Implement ProtectedRoute component for role-based access control - Protect routes: /academics, /profile, /facultyprofessionalprofile, /other-academics - Add Graduate Seminar form and admin components - Add department admin components for NoDues clearance - Refactor NoDuesStatus component with improved UX - Update Bonafide form with rejection remarks support - Fix UI bugs and improve styling - Add comprehensive CSS modules for new components Task: Implement frontend security and complete UI implementation for T1-T24 tasks
feat: Add role-based access control and improve UI components
Revert "feat: Add role-based access control and improve UI components"
…ient into test-OAP-V1 # Conflicts: # src/components/sidebarContent.jsx
…ient into test-OAP-V1
…ient into test-OAP-V1
Restore no-dues stable
Refine otheracademic leave forms
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.
📋 Description
This pull request implements the frontend UI for supervisor role support in the Other Academic Procedures module, enabling Thesis Supervisors, Teaching Assistant (TA) Supervisors, and Faculty Supervisors to access and manage their respective dashboards with proper role-based tab filtering.
What This Does
🔄 Related Issues
Related to: Backend PR for supervisor roles in Fusion repository
📁 Changes Made
1. Other Academic Procedures Component
File:
src/Modules/Otheracademic/OtherAcademicProcedures.jsxAdded Imports (Lines 23-26)
Added Tab Configuration (Lines 60-66)
Four new tabs added to
allTabItemsarray:Implemented Role-Based Filtering (Lines 111-125)
Added conditional logic for new supervisor roles:
2. Supervisor Component Files
All component files present and functional:
src/Modules/Otheracademic/Assistantship/Admins/ThesisSupervisor.jsx(Tab 15)src/Modules/Otheracademic/Assistantship/Admins/TAsupervisor.jsx(Tab 16)src/Modules/Otheracademic/Assistantship/Admins/TAAssignment.jsx(Tab 17)src/Modules/Otheracademic/Assistantship/Admins/FacultySupervisorAssignment.jsx(Tab 18)📊 Testing Performed
Frontend Functionality
thesis_supervisor→ Only Tab 15 visibleta_supervisor→ Only Tab 16 visiblefaculty_supervisor→ Only Tab 18 visibledept_admin→ Tabs 12, 17, 18 visibleUI/UX Testing
Integration Testing
🔄 Relationship with Backend
This PR depends on the backend PR (Fusion repository) which provides:
HoldsDesignationModuleAccessNote: Backend must be deployed first for this PR to function properly.
📋 Tab Index Reference
⚙️ Technical Details
Role-Based Tab Filtering Logic
Supervisor Role → Tab Mapping
No Breaking Changes
🚀 Deployment Instructions
Pre-Deployment
thesis_supervisor,ta_supervisor,faculty_supervisor)Deployment Steps
Post-Deployment Verification
📋 Checklist
🔗 Related Files
Primary File Modified
src/Modules/Otheracademic/OtherAcademicProcedures.jsx- Main component with role filteringSupervisor Component Files (already exist, no changes)
src/Modules/Otheracademic/Assistantship/Admins/ThesisSupervisor.jsxsrc/Modules/Otheracademic/Assistantship/Admins/TAsupervisor.jsxsrc/Modules/Otheracademic/Assistantship/Admins/TAAssignment.jsxsrc/Modules/Otheracademic/Assistantship/Admins/FacultySupervisorAssignment.jsx💬 Additional Notes
Prerequisites
Known Limitations
Future Enhancements
✅ Summary
This PR successfully implements the frontend UI for supervisor roles in the Other Academic Procedures module. All supervisor tabs are properly configured with role-based filtering, and components are ready to display supervisor-specific data.
Type of Change:
Ready for Review & Merge ✅