feat(Grade by step): Display component summary views#2090
Merged
hirokiterashima merged 152 commits intodevelopfrom Sep 11, 2025
Merged
feat(Grade by step): Display component summary views#2090hirokiterashima merged 152 commits intodevelopfrom
hirokiterashima merged 152 commits intodevelopfrom
Conversation
…mponent): Convert to standalone (#2018)
…onent structure to use components array instead of node
…average score and completion percentage
…it to work for some components like OR and MC. Had to comment out some component grading modules in ComponentGradingComponent because they cause multiple instances of TeacherDataService to be created
…Component and got the Grading Tool to work without having to instantiate multiple TeacherDataServices
…y first time the NodeGradingComponent was initialized
…WorkgroupItemComponent
…ate component completion.
Replace by loading step in preview mode.
src/assets/wise5/classroomMonitor/classroomMonitorComponents/AbstractClassResponsesComponent.ts
Show resolved
Hide resolved
...onitor/classroomMonitorComponents/component-grading-view/component-grading-view.component.ts
Show resolved
Hide resolved
...onitor/classroomMonitorComponents/component-grading-view/component-grading-view.component.ts
Show resolved
Hide resolved
...assroomMonitor/classroomMonitorComponents/grading-step-tools/grading-step-tools.component.ts
Show resolved
Hide resolved
...lassroomMonitorComponents/nodeGrading/node-class-responses/node-class-responses.component.ts
Show resolved
Hide resolved
.../classroomMonitorComponents/nodeGrading/node-workgroup-item/node-workgroup-item.component.ts
Show resolved
Hide resolved
src/assets/wise5/directives/student-summary-display/student-summary-display.component.ts
Show resolved
Hide resolved
...ts/wise5/directives/teacher-summary-display/ideas-summary-display/ideas-summary.component.ts
Show resolved
Hide resolved
.../directives/teacher-summary-display/match-summary-display/match-summary-display.component.ts
Outdated
Show resolved
Hide resolved
src/assets/wise5/directives/teacher-summary-display/teacher-summary-display.component.ts
Show resolved
Hide resolved
src/assets/wise5/classroomMonitor/classroomMonitorComponents/AbstractClassResponsesComponent.ts
Show resolved
Hide resolved
...assroomMonitor/classroomMonitorComponents/grading-step-tools/grading-step-tools.component.ts
Show resolved
Hide resolved
...lassroomMonitorComponents/nodeGrading/node-class-responses/node-class-responses.component.ts
Show resolved
Hide resolved
...assroomMonitor/classroomMonitorComponents/nodeGrading/node-grading/node-grading.component.ts
Show resolved
Hide resolved
.../classroomMonitorComponents/nodeGrading/node-workgroup-item/node-workgroup-item.component.ts
Show resolved
Hide resolved
src/assets/wise5/directives/student-summary-display/student-summary-display.component.ts
Show resolved
Hide resolved
...ts/wise5/directives/teacher-summary-display/ideas-summary-display/ideas-summary.component.ts
Show resolved
Hide resolved
.../directives/teacher-summary-display/match-summary-display/match-summary-display.component.ts
Outdated
Show resolved
Hide resolved
src/assets/wise5/directives/teacher-summary-display/teacher-summary-display.component.ts
Show resolved
Hide resolved
src/assets/wise5/classroomMonitor/classroomMonitorComponents/AbstractClassResponsesComponent.ts
Show resolved
Hide resolved
| .getCRaterRubric(this.node.id, this.component.id) | ||
| .hasRubricData(); | ||
| this.hasSummaryData = | ||
| (this.component?.type === 'MultipleChoice' && this.hasStudentWork) || |
| .hasRubricData(); | ||
| this.hasSummaryData = | ||
| (this.component?.type === 'MultipleChoice' && this.hasStudentWork) || | ||
| (this.hasScoresSummary && this.hasScoreAnnotation) || |
...assroomMonitor/classroomMonitorComponents/grading-step-tools/grading-step-tools.component.ts
Show resolved
Hide resolved
...lassroomMonitorComponents/nodeGrading/node-class-responses/node-class-responses.component.ts
Show resolved
Hide resolved
.../classroomMonitorComponents/nodeGrading/node-workgroup-item/node-workgroup-item.component.ts
Show resolved
Hide resolved
src/assets/wise5/directives/student-summary-display/student-summary-display.component.ts
Show resolved
Hide resolved
...ts/wise5/directives/teacher-summary-display/ideas-summary-display/ideas-summary.component.ts
Show resolved
Hide resolved
.../directives/teacher-summary-display/match-summary-display/match-summary-display.component.ts
Outdated
Show resolved
Hide resolved
src/assets/wise5/directives/teacher-summary-display/teacher-summary-display.component.ts
Show resolved
Hide resolved
… Also clean up generateIdeasSummary()
…cted and switching to another period did not display the new period's ideas.
src/assets/wise5/classroomMonitor/classroomMonitorComponents/AbstractClassResponsesComponent.ts
Show resolved
Hide resolved
...assroomMonitor/classroomMonitorComponents/grading-step-tools/grading-step-tools.component.ts
Show resolved
Hide resolved
...lassroomMonitorComponents/nodeGrading/node-class-responses/node-class-responses.component.ts
Show resolved
Hide resolved
.../classroomMonitorComponents/nodeGrading/node-workgroup-item/node-workgroup-item.component.ts
Show resolved
Hide resolved
src/assets/wise5/directives/student-summary-display/student-summary-display.component.ts
Show resolved
Hide resolved
...ts/wise5/directives/teacher-summary-display/ideas-summary-display/ideas-summary.component.ts
Show resolved
Hide resolved
src/assets/wise5/directives/teacher-summary-display/teacher-summary-display.component.ts
Show resolved
Hide resolved
src/assets/wise5/classroomMonitor/classroomMonitorComponents/AbstractClassResponsesComponent.ts
Show resolved
Hide resolved
...assroomMonitor/classroomMonitorComponents/grading-step-tools/grading-step-tools.component.ts
Show resolved
Hide resolved
...lassroomMonitorComponents/nodeGrading/node-class-responses/node-class-responses.component.ts
Show resolved
Hide resolved
.../classroomMonitorComponents/nodeGrading/node-workgroup-item/node-workgroup-item.component.ts
Show resolved
Hide resolved
src/assets/wise5/directives/student-summary-display/student-summary-display.component.ts
Show resolved
Hide resolved
...ts/wise5/directives/teacher-summary-display/ideas-summary-display/ideas-summary.component.ts
Show resolved
Hide resolved
src/assets/wise5/directives/teacher-summary-display/teacher-summary-display.component.ts
Show resolved
Hide resolved
…ad of listening to periodChanged event.
Comment on lines
+24
to
+30
| constructor( | ||
| protected annotationService: AnnotationService, | ||
| protected classroomStatusService: ClassroomStatusService, | ||
| protected configService: ConfigService, | ||
| protected dataService: TeacherDataService, | ||
| protected notificationService: NotificationService, | ||
| protected projectService: TeacherProjectService |
Comment on lines
38
to
+44
| constructor( | ||
| protected dataService: TeacherDataService, | ||
| protected dir: Directionality, | ||
| protected nodeService: GradingNodeService, | ||
| protected projectService: TeacherProjectService | ||
| protected projectService: TeacherProjectService, | ||
| private route: ActivatedRoute, | ||
| private router: Router |
Comment on lines
+41
to
+48
| constructor( | ||
| protected annotationService: AnnotationService, | ||
| protected classroomStatusService: ClassroomStatusService, | ||
| private componentServiceLookupService: ComponentServiceLookupService, | ||
| protected configService: ConfigService, | ||
| protected dataService: TeacherDataService, | ||
| protected notificationService: NotificationService, | ||
| protected projectService: TeacherProjectService |
Comment on lines
+128
to
+157
| private updateStatus(): void { | ||
| switch (this.status) { | ||
| case -1: | ||
| this.statusClass = ' '; | ||
| this.statusText = $localize`Not Assigned`; | ||
| break; | ||
| case 2: | ||
| this.statusClass = 'success'; | ||
| if (this.nodeHasWork) { | ||
| this.statusText = $localize`Completed`; | ||
| } else { | ||
| this.statusText = $localize`Visited`; | ||
| } | ||
| break; | ||
| case 1: | ||
| this.statusClass = 'text'; | ||
| this.statusText = $localize`Partially Completed`; | ||
| break; | ||
| default: | ||
| this.statusClass = 'text-secondary'; | ||
| if (this.nodeHasWork) { | ||
| this.statusText = $localize`No Work`; | ||
| } else { | ||
| this.statusText = $localize`Not Visited`; | ||
| } | ||
| } | ||
| if (this.hasNewAlert) { | ||
| this.statusClass = 'warn'; | ||
| } | ||
| this.disabled = this.status === -1; |
Comment on lines
32
to
38
| constructor( | ||
| protected annotationService: AnnotationService, | ||
| protected configService: ConfigService, | ||
| protected cRaterService: CRaterService, | ||
| protected dataService: StudentDataService, | ||
| protected projectService: ProjectService, | ||
| protected summaryService: SummaryService |
Comment on lines
44
to
51
| constructor( | ||
| protected annotationService: AnnotationService, | ||
| protected configService: ConfigService, | ||
| private cRaterService: CRaterService, | ||
| protected cRaterService: CRaterService, | ||
| protected dataService: TeacherDataService, | ||
| private ideasSortingService: IdeasSortingService, | ||
| protected projectService: TeacherProjectService, | ||
| protected summaryService: SummaryService |
Comment on lines
25
to
31
| constructor( | ||
| protected annotationService: AnnotationService, | ||
| protected configService: ConfigService, | ||
| protected cRaterService: CRaterService, | ||
| protected dataService: TeacherDataService, | ||
| protected projectService: ProjectService, | ||
| protected projectService: TeacherProjectService, | ||
| protected summaryService: SummaryService |
Member
Author
|
🎉 This PR is included in version 5.196.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
This PR adds summaries for each component in a step in a set of tabs. Each component shows the prompt and completion %. Some components also show summary data (Multiple Choice, Match, items with idea detection enabled, any items with scores). It adds a select drop-down to choose which components to view in the student work view.
Test
Choose a step in the Grade-by-step view. It should show the summary view for the first component in the step.
Verify the following:
Closes #2099