feat(Teacher Tools): Important activities#2292
Conversation
…contains a component with important tag
❌ 4 blocking issues (4 total)
|
...omMonitor/classroomMonitorComponents/nodeGrading/node-grading/node-grading.component.spec.ts
Show resolved
Hide resolved
...omMonitor/classroomMonitorComponents/nodeGrading/node-grading/node-grading.component.spec.ts
Show resolved
Hide resolved
...classroomMonitor/classroomMonitorComponents/nodeProgress/nav-item/nav-item.component.spec.ts
Show resolved
Hide resolved
...classroomMonitor/classroomMonitorComponents/nodeProgress/nav-item/nav-item.component.spec.ts
Show resolved
Hide resolved
|
Coverage Impact Unable to calculate total coverage change because base branch coverage was not found. Modified Files with Diff Coverage (5)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|
| (icon: any) => (icon as Element).textContent.trim() === 'bookmark' | ||
| ) as any; | ||
| } | ||
| expect(starIcon).toBeTruthy(); |
| (icon: any) => (icon as Element).textContent.trim() === 'bookmark' | ||
| ) as any; | ||
| } | ||
| expect(starIcon).toBeFalsy(); |
| const icons = Array.from(fixture.nativeElement.querySelectorAll('mat-icon')); | ||
| const starIcon = icons.find((icon: any) => icon.textContent.trim() === 'bookmark'); | ||
| expect(starIcon).toBeTruthy(); | ||
| expect(component['hasImportantComponent']).toBeTrue(); |
| const icons = Array.from(fixture.nativeElement.querySelectorAll('mat-icon')); | ||
| const starIcon = icons.find((icon: any) => icon.textContent.trim() === 'bookmark'); | ||
| expect(starIcon).toBeFalsy(); | ||
| expect(component['hasImportantComponent']).toBeFalse(); |
breity
left a comment
There was a problem hiding this comment.
Looks great. 👍
I switched to the bookmark icon instead of the star and updated terminology.
… all components in the node.
|
🎉 This PR is included in version 5.222.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |

This new feature allows teachers to quickly see important activities in the Teacher Tools. To implement this, we add an "!important" tag to an activity. These activities appear with a star icon in the teacher tools, in the step listing page and in the activities tabs in the step grading page.
Notes
Please style as you see fit.
Changes
Test