-
Notifications
You must be signed in to change notification settings - Fork 5
feat(Grade by step): Display component summary views #2090
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
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) || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| .hasRubricData(); | ||
| this.hasSummaryData = | ||
| (this.component?.type === 'MultipleChoice' && this.hasStudentWork) || | ||
| (this.hasScoresSummary && this.hasScoreAnnotation) || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...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.
| constructor( | ||
| protected annotationService: AnnotationService, | ||
| protected classroomStatusService: ClassroomStatusService, | ||
| protected configService: ConfigService, | ||
| protected dataService: TeacherDataService, | ||
| protected notificationService: NotificationService, | ||
| protected projectService: TeacherProjectService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| constructor( | ||
| protected dataService: TeacherDataService, | ||
| protected dir: Directionality, | ||
| protected nodeService: GradingNodeService, | ||
| protected projectService: TeacherProjectService | ||
| protected projectService: TeacherProjectService, | ||
| private route: ActivatedRoute, | ||
| private router: Router |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| constructor( | ||
| protected annotationService: AnnotationService, | ||
| protected classroomStatusService: ClassroomStatusService, | ||
| private componentServiceLookupService: ComponentServiceLookupService, | ||
| protected configService: ConfigService, | ||
| protected dataService: TeacherDataService, | ||
| protected notificationService: NotificationService, | ||
| protected projectService: TeacherProjectService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| constructor( | ||
| protected annotationService: AnnotationService, | ||
| protected configService: ConfigService, | ||
| protected cRaterService: CRaterService, | ||
| protected dataService: StudentDataService, | ||
| protected projectService: ProjectService, | ||
| protected summaryService: SummaryService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| constructor( | ||
| protected annotationService: AnnotationService, | ||
| protected configService: ConfigService, | ||
| protected cRaterService: CRaterService, | ||
| protected dataService: TeacherDataService, | ||
| protected projectService: ProjectService, | ||
| protected projectService: TeacherProjectService, | ||
| protected summaryService: SummaryService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
breity
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go. 🚀
|
🎉 This PR is included in version 5.196.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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