Skip to content

feat(ShowMyWork): Additional option to show detected ideas for OR and DG components#2280

Merged
hirokiterashima merged 1 commit intodevelopfrom
show-c-rater-work-option-to-show-detected-ideas
Mar 2, 2026
Merged

feat(ShowMyWork): Additional option to show detected ideas for OR and DG components#2280
hirokiterashima merged 1 commit intodevelopfrom
show-c-rater-work-option-to-show-detected-ideas

Conversation

@hirokiterashima
Copy link
Member

@hirokiterashima hirokiterashima commented Mar 2, 2026

Changes

Add an option to show detected ideas to students in Show My Work for DG and OR components. Right now, they show up in preview if the teacher is logged in, but not as a student, which is confusing. This feature was requested by a teacher to let students see their ideas and have a discussion about it.

This is made possible by adding an "additionalSettings" field in the component content JSON for the ShowMyWork component.

Test prep

Add a field to enable showing of detected ideas in the ShowMyWork component. Right now, you'll need to do this via JSON editing. We'll create an authoring view in the future.

{
   "showWorkNodeId": "node9",
   "showWorkComponentId": "7pgxqw73jw",
   ...
   "additionalSettings": { "showDetectedIdeas": true }
   ...
}

Test

  • If this new field is authored for the OR or DG component that has idea detection, the component should show the detected ideas in all cases (teacher, student, anonymous previewer)

@hirokiterashima hirokiterashima self-assigned this Mar 2, 2026
@hirokiterashima hirokiterashima added the enhancement New feature of any size or improvement (UI, performance, security) label Mar 2, 2026
@hirokiterashima hirokiterashima marked this pull request as ready for review March 2, 2026 19:51
@qltysh
Copy link

qltysh bot commented Mar 2, 2026

Qlty

Coverage Impact

Unable to calculate total coverage change because base branch coverage was not found.

Modified Files with Diff Coverage (3)

RatingFile% DiffUncovered Line #s
New file Coverage rating: A
src/assets/wise5/components/component-show-work.directive.ts100.0%
New file Coverage rating: A
...alog-guidance-show-work/dialog-guidance-show-work.component.ts100.0%
New file Coverage rating: A
...e/open-response-show-work/open-response-show-work.component.ts100.0%
Total100.0%
🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@hirokiterashima hirokiterashima merged commit ac9619c into develop Mar 2, 2026
4 checks passed
@hirokiterashima hirokiterashima deleted the show-c-rater-work-option-to-show-detected-ideas branch March 2, 2026 20:16
@hirokiterashima
Copy link
Member Author

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

Labels

enhancement New feature of any size or improvement (UI, performance, security) released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant