Repository navigation
feat(TeacherPresentation): Classroom Presentation view for Discussion student work - #2351
Open
hirokiterashima wants to merge 12 commits into
Open
hirokiterashima wants to merge 12 commits into
hirokiterashima wants to merge 12 commits into
Conversation
…teacher to choose a post or comment first
…nd clean up component code
…rom selection store
❌ 2 blocking issues (2 total)
|
|
|
||
| private initPresentationStore(): void { | ||
| const runId = this.configService.getRunId(); | ||
| if (runId && this.periodId != null && this.periodId !== -1 && this.nodeId && this.componentId) { |
| this.componentType.set(componentType); | ||
| this.reflectionQuestions.set(reflectionQuestions); | ||
|
|
||
| if (runId && periodId && periodId !== -1 && nodeId && componentId) { |
|
Coverage Impact Unable to calculate total coverage change because base branch coverage was not found. Modified Files with Diff Coverage (8)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|
…ation button text, and update translation file
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.

Notes
Please style as you see fit
Summary
Introduces the TeacherPresentation feature in the grading tool summary display. Teachers can select student work items (posts and comments) via checkboxes, customize student name display modes, edit the classroom prompt, and launch a dedicated presentation dialog designed to be projected on a classroom display.
Selection rules and store management are fully decoupled from discussion-specific hierarchies to support future component types. Authoring support is provided under
content.teacher.presentation.prompt.Changes
1. Presentation Dialog & Presentation Mode
TeacherPresentationDialogComponent: Fullscreen modal dialog styled for classroom projectors.show,hide,anonymize), a refresh button, and an editable classroom prompt (with pencil icon).mode="presentation").content.teacher.presentation.prompt(with fallback to default localized prompt).TeacherPresentationButtonComponent: "Present" button located on the summary display header.2. State Management & Debounced Autosave
TeacherPresentationSelectionStore:selectedIds: Set<number>),studentNamesDisplay, and customprompt.isSelected(),select(),deselect(),toggle(),selectMultiple(),deselectMultiple(),setSelections(), andclearSelections().TeacherPresentationConfigService). Prompt changes persist immediately.3. Discussion Component Integration & Hierarchical Selection
ClassResponseTeacherComponent:DiscussionTeacherComponent: Filters responses to display only teacher-selected posts and comments when in presentation mode.4. Authoring Tool
ComponentContent.ts, addedteacher?: { presentation?: { prompt?: string } }.DiscussionAuthoringComponent, added authoring input for default presentation prompt under a "Classroom Presentation Settings" expansion panel.5. Summary Display
DiscussionSummaryComponent:discussion-summary.component.html.teacher-presentation-buttonin the summary header.TeacherPresentationSelectionStoreacross periods and component changes.How to Test
Test with WISE-Community/WISE-API#362