Update frontend: Online CMS features, authentication and Docker configuration - #278
Open
divyTechS wants to merge 3 commits into
Open
Update frontend: Online CMS features, authentication and Docker configuration#278divyTechS wants to merge 3 commits into
divyTechS wants to merge 3 commits into
Conversation
- Add a new Online CMS workspace under /online-cms: - course picker + tabbed navigation (courses, materials, assignments, quiz, forum, attendance) - materials as link-based uploads (no file blobs), with faculty-only add/delete controls - assignments flow for both roles (faculty: create/delete/grade; student: submit via link) - forum UI wired for threaded Q/A + replies + delete permissions - quiz UI for faculty create/remove + student attempt/submit with score feedback - attendance UI (faculty mark + roster; everyone can view records) - question bank + grading pages hooked up at the route/API level (UI scaffolding included) - Introduce a shared API client and token storage: - axios instance with request auth injection + 401 refresh-token retry - store access/refresh tokens via a single tokenStorage helper - centralize user validation on /api/auth/me/ and normalize role/module state in Redux - Route/auth cleanup: - move login route to /login (and update redirects/logout flows accordingly) - add /course-management -> /online-cms redirect to preserve old entry points - make logout aggressively clear all auth artifacts and force a clean session restart - Misc UX/dev cleanup: - fix React hook usage + prop-types issues blocking Husky ESLint checks - replace deprecated/incorrect “FolderNotch” icon usage with “Folder” in FileTracking empty-states - add small local scripts for scaffolding/testing endpoints during development
feat(online-cms): full-stack CMS alignment with DB—roles, forum, attendance, assignments, quizzes, and materials
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.
Changes
Testing