-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert TeacherSections component to functional component #58137
Conversation
coteacherInviteForPl, | ||
studentSectionIds, | ||
plSectionIds, | ||
hiddenPlSectionIds, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see this prop being used anywhere in this component. is it some legacy prop that we could get rid of, or is it missing from shouldRenderPlSections
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this - I'll ask in the teacher tools channel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for updating this!
As part of the Colorado Privacy Act work the Platform team does, we add warning banners to different
Sections
components.P20-815 requires adding a Warning Notification to the TeacherSections component in the TeacherHomepage.
I'd like to update the existing code and convert the class component into a functional component.
Links
Testing story
Caching
PR Checklist: