Skip to content
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

refactor(MultipleChoiceComponents): Split to MC[Radio/Checkbox]StudentComponent #1989

Merged

Conversation

hirokiterashima
Copy link
Member

Changes

This pull request refactors the multiple choice components in the wise5 project by introducing new standalone components for radio and checkbox inputs, and updating the main multiple choice component to use these new components. The changes also include making several methods private for better encapsulation.

Refactoring multiple choice components:

  • Introduced MultipleChoiceCheckboxStudentComponent and MultipleChoiceRadioStudentComponent as standalone components with their own HTML and TypeScript files. [1] [2] [3] [4]
  • Updated MultipleChoiceStudentComponent to use the new standalone components instead of directly using Angular Material components. [1] [2]

Code encapsulation:

  • Changed several methods in MultipleChoiceStudentComponent to private to improve encapsulation. [1] [2]

Localization updates:

  • Updated line numbers in src/messages.xlf to reflect changes in the HTML structure of MultipleChoiceStudentComponent. [1] [2] [3]

Test

  • MC Radio and Checkbox component works as before in student mode

…ioStudentComponent and MCCheckoxStudentComponent
@hirokiterashima hirokiterashima self-assigned this Nov 13, 2024
@hirokiterashima hirokiterashima marked this pull request as ready for review November 13, 2024 17:50
@hirokiterashima hirokiterashima merged commit 220c359 into develop Nov 13, 2024
5 checks passed
@hirokiterashima hirokiterashima deleted the split-MCStudent-to-MCRadioStudent-MCCheckboxStudent branch November 13, 2024 18:11
@hirokiterashima
Copy link
Member Author

🎉 This issue has been resolved in version 5.162.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant