Skip to content

Conversation

@hirokiterashima
Copy link
Member

Changes

  • Convert all show work components to standalone and clean up related files

Test

  • Show work components work as before

@qltysh
Copy link

qltysh bot commented Sep 23, 2025

❌ 5 blocking issues (5 total)

Tool Category Rule Count
qlty Structure Function with many parameters (count = 10): constructor 2
qlty Duplication Found 23 lines of similar code in 4 locations (mass = 66) 2
qlty Structure Deeply nested control flow (level = 5) 1

Comment on lines 56 to +66
constructor(
protected AnnotationService: AnnotationService,
protected ComponentService: ComponentService,
protected ConfigService: ConfigService,
protected annotationService: AnnotationService,
protected componentService: ComponentService,
protected configService: ConfigService,
protected dialog: MatDialog,
private DiscussionService: DiscussionService,
protected NodeService: NodeService,
protected NotebookService: NotebookService,
private NotificationService: NotificationService,
protected StudentAssetService: StudentAssetService,
protected StudentDataService: StudentDataService
private discussionService: DiscussionService,
protected nodeService: NodeService,
protected notebookService: NotebookService,
private notificationService: NotificationService,
protected studentAssetService: StudentAssetService,
protected dataService: StudentDataService
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found 2 issues:

1. Function with many parameters (count = 10): constructor [qlty:function-parameters]


2. Found 23 lines of similar code in 4 locations (mass = 66) [qlty:similar-code]

Comment on lines 26 to 32
constructor(
private AnnotationService: AnnotationService,
private ConfigService: ConfigService,
private EmbeddedService: EmbeddedService,
private annotationService: AnnotationService,
private configService: ConfigService,
private embeddedService: EmbeddedService,
protected nodeService: NodeService,
protected ProjectService: ProjectService,
protected projectService: ProjectService,
private sanitizer: DomSanitizer
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function with many parameters (count = 6): constructor [qlty:function-parameters]

@hirokiterashima hirokiterashima marked this pull request as ready for review October 2, 2025 23:04
@hirokiterashima hirokiterashima merged commit 4c16f96 into develop Oct 2, 2025
4 checks passed
@hirokiterashima hirokiterashima deleted the convert-show-work-components-to-standalone branch October 2, 2025 23:29
@hirokiterashima
Copy link
Member Author

🎉 This PR is included in version 5.198.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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants