Repository navigation
feat: introduce role-based student and mentor portals with enhanced doubt management - #69
Open
rishithareddychalla wants to merge 3 commits into
Conversation
…or portals - Add users and auth_tokens tables for both SQLite and MySQL schemas - Implement AuthService, AuthController, bearer token authentication, and bcrypt password hashing - Enforce strict server-side role and resource authorization with privacy masking and mentor registration secrets - Introduce PortalEntryScreen with distinct student and mentor login/register flows - Introduce StudentPortalScreen with Sessions, My Doubts (tracking & self-resolve), Learn, and Account tabs - Introduce MentorPortalScreen with My Sessions, Live Queue (take next student & resolution notes), Intelligence, and Account tabs - Add comprehensive test coverage in PHPUnit (57 tests) and Flutter (132 tests)
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.
What changed?
Introduces role-based workflows, dedicated student and mentor portals, smart solution assistance, and an interactive learning hub to DoubtQueue:
Role-Based Authentication & Portals:
/auth/login,/auth/register,/auth/me,/auth/logout) with strict role-based access control (UserRole,ForbiddenException).Smart Solution Suggester & Topic Intelligence:
DoubtSimilarityService) to identify similar previously resolved doubts.SolutionSuggestionsCardandTopicIntelligenceCardto surface immediate answers and suggested solutions while students wait in queue.Learning Hub & Spaced Repetition:
LearnService,PreferencesLearnStorage).Queue Experience & Responsive Layouts:
Queue Position: #X (Y ahead)) with a voluntarySelf-resolved?button to help clear queues faster.How was it tested?