Skip to content

Conversation

@hirokiterashima
Copy link
Member

@hirokiterashima hirokiterashima commented Feb 7, 2026

Notes

Please style as you see fit. It would be great to distinguish between the responses a bit more, with maybe a border or background. Maybe make the responses italic?

Also, as you can see in the image below, the expanded idea has 3 students who had this idea, but we only show 2 users. Would this be a bit confusing because users might expect to see 3 students? Maybe we should explain this in the UI, like displaying a message "showing 2 of 3 responses" or "sample responses" in the expanded panel, or "click to see sample responses" when hovering over the expand icon?

Changes

Screenshot 2026-02-06 at 4 06 06 PM
  • For Dialog Guidance and Open Response idea summaries in the teacher tools, clicking on the ideas will show up to 2 examples of the students' actual responses that contained that idea.
  • These are toggled divs, so you can have multiple details opened at the same time
  • This should work in both the condensed and full views of the summary display.

Test

  • Test both Dialog Guidance and Open Response items and make sure that the feature works as described above.

@qltysh
Copy link

qltysh bot commented Feb 7, 2026

❌ 4 blocking issues (4 total)

Tool Category Rule Count
qlty Duplication Found 20 lines of similar code in 2 locations (mass = 78) 4

{ text: 'Computer response 2', ideas: [{ detected: true, name: 'idea2' }] }
]
}
})
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found 20 lines of similar code in 2 locations (mass = 78) [qlty:similar-code]

{ text: 'Computer response 1b', ideas: [{ detected: true, name: 'idea1' }] }
]
}
})
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found 20 lines of similar code in 2 locations (mass = 78) [qlty:similar-code]

@qltysh
Copy link

qltysh bot commented Feb 7, 2026

Qlty

Coverage Impact

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

Modified Files with Diff Coverage (1)

RatingFile% DiffUncovered Line #s
New file Coverage rating: C
...teacher-summary-display/idea-summary/idea-summary.component.ts77.8%22-31
Total77.8%
🤖 Increase coverage with AI coding...

In the `cm-idea-summary-show-student-responses` branch, add test coverage for this new code:

- `src/assets/wise5/directives/teacher-summary-display/idea-summary/idea-summary.component.ts` -- Line 22-31

🚦 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 self-assigned this Feb 7, 2026
@hirokiterashima hirokiterashima marked this pull request as ready for review February 7, 2026 00:25
@hirokiterashima hirokiterashima added the enhancement New feature of any size or improvement (UI, performance, security) label Feb 9, 2026
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)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant