CHIM-1187 Preserve school profile selection flow#4738
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a fromSchoolModeSwitchProfile flag when navigating from the ProfileMenu to SelectMode. This flag is used to suppress automatic entry into the teacher application for teacher-role users, ensuring they remain in the school selection flow. Corresponding unit tests have been added to verify this behavior. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 66665ffcef
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
SelectModefrom explicit user actions.Switch ProfilesoSelectModedoes not auto-route back to the teacher dashboard.SelectModetests to cover explicit school/profile selection flows while keeping normal teacher restore behavior intact.