AI Tutor: refactor Reflection components into subdirectory with updated styles#72547
Merged
AI Tutor: refactor Reflection components into subdirectory with updated styles#72547
Conversation
…ed styles Move ReflectionBox, LessonObjectiveReflection, LessonReflection, and reflection.module.scss into a Reflection/ subdirectory. Replace MUI Typography/Button with native elements styled via SCSS. Update rating button labels (Struggling/Getting there/Got it) and submit text. Add unitLabel and onNext props. Expose unitLabel from the lessons controller. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced May 6, 2026
Nokondi
approved these changes
May 6, 2026
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.
Reducing the diff for #72520
Summary
ReflectionBox,LessonObjectiveReflection,LessonReflection, andreflection.module.scssfrom thelessonDeepDive/root into aReflection/subdirectory for better organizationTypography/Buttonwith native HTML elements styled via a new comprehensive SCSS moduleunitLabelandonNextprops toReflectionBox;unitLabelis now surfaced from the lessons controllerExtracted from #72520 to make review easier.
Test plan
ReflectionBoxTestassertions pass (yarn test:unit test/unit/aiTutor/views/lessonDeepDive/ReflectionBoxTest.tsx)yarn run typecheck)./tools/hooks/pre-commit)🤖 Generated with Claude Code