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(ShowNodeInfoDialog): Convert to standalone component #2006

Merged

Conversation

hirokiterashima
Copy link
Member

Changes

This pull request includes changes to the show-node-info-dialog component and its related files to improve modularity and fix import issues. The most important changes include modifying imports, updating component declarations, and adjusting test cases.

Import and Dependency Updates:

  • Removed MatDialogModule and NodeInfoComponent imports from show-node-info-dialog.component.spec.ts and added ShowNodeInfoDialogComponent to the imports instead [1] [2].
  • Added MatDialogModule, MatButtonModule, and NodeInfoComponent imports to show-node-info-dialog.component.ts and marked the component as standalone.

Component and Module Adjustments:

  • Moved ShowNodeInfoDialogComponent import from classroom-monitor.module.ts to the correct position and removed unnecessary NodeInfoComponent import [1] [2] [3].

Test Case Updates:

  • Updated test case to check for stepTitle instead of component.stepNumberAndTitle in show-node-info-dialog.component.spec.ts.
  • Removed unnecessary blank line in the node object definition in show-node-info-dialog.component.spec.ts.

Test

  • Show node info dialog works as before from step grading and milestone views

@hirokiterashima hirokiterashima added this to the Standalone Components milestone Nov 26, 2024
@hirokiterashima hirokiterashima self-assigned this Nov 26, 2024
@hirokiterashima hirokiterashima marked this pull request as ready for review November 26, 2024 17:52
@hirokiterashima hirokiterashima merged commit 0cbffa9 into develop Nov 26, 2024
5 checks passed
@hirokiterashima hirokiterashima deleted the convert-ShowNodeInfoDialogComponent-to-standalone branch November 26, 2024 18:03
@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