Add internship-phase based FAQ personalization - #229
Open
vedhashree06 wants to merge 1 commit into
Open
Conversation
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
Added internship phase-based FAQ filtering to improve the FAQ experience for students. FAQs can now be filtered according to the student's current internship phase, allowing students to see FAQs that are relevant to their current stage of the internship instead of viewing unrelated phase-specific FAQs. The changes update the backend FAQ and internship-related logic to support phase-based FAQ visibility while retaining general FAQs.
Related issue
Not applicable.
Type of change
Area affected
/admin/*)/community— posts, comments, auto-answer)CI verification
cd apps/backend && npx tsc --noEmitexits 0cd apps/backend && npx vitest run— all tests passcd apps/frontend && npx tsc --noEmitexits 0main, no merge commitscd apps/frontend && npx vitest run— all tests passpnpm run lint— 0 errors (152 warnings is the baseline)Notes for reviewer
The main purpose of this change is to make FAQ visibility more relevant to the student's internship progress. General FAQs remain available, while phase-specific FAQs can be shown based on the student's current internship phase. The implementation is focused on the backend FAQ/internship logic and does not introduce unrelated changes.