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(MCStudent): remove modules #2011

Merged
merged 4 commits into from
Nov 27, 2024
Merged

Conversation

hirokiterashima
Copy link
Member

Changes

  • This pull request includes several changes to the src/assets/wise5/components directory, primarily focused on renaming and refactoring the MultipleChoiceStudent component and its related modules. The changes aim to improve code clarity and maintainability.

Component and module renaming:

  • Renamed MultipleChoiceStudent to MultipleChoiceStudentComponent in Components.ts and updated the corresponding import statements and component references. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

Type improvements:

  • Changed the return type of getChoiceType method in MultipleChoiceComponent to a union type 'radio' | 'checkbox' for better type safety.

Code cleanup:

  • Removed the MultipleChoiceStudentModule and its associated import statements, as it is no longer needed after the refactor.

These changes help improve the readability and maintainability of the code by clarifying component names and ensuring consistent use of types.

Test

  • MC student works as before

@hirokiterashima hirokiterashima added this to the Tech Debt 17 -> 16 milestone Nov 27, 2024
@hirokiterashima hirokiterashima self-assigned this Nov 27, 2024
@hirokiterashima hirokiterashima marked this pull request as ready for review November 27, 2024 17:41
@hirokiterashima hirokiterashima merged commit 75d12c1 into develop Nov 27, 2024
4 of 5 checks passed
@hirokiterashima hirokiterashima deleted the mc-remove-modules branch November 27, 2024 17:56
@hirokiterashima
Copy link
Member Author

🎉 This issue has been resolved in version 5.163.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