Skip to content
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

fix: Report item answers not rendering in activity level feedback report [PT-188671164] #487

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

dougmartin
Copy link
Member

The report item answers iframe was not loaded when the user navigated directly to the activity level feedback panel. This caused the "Show Student Answers" dropdown to show a blank answer for any questions that had report items.

With this change all questions in the feedback panel that have report items pre-load all their report item iframes as hidden iframes before any of the student feedback rows are shown. In addition a loading indicator was added while the report item answer is being loaded so that the answer does not look blank while the answer is loading.

…ort [PT-188671164]

The report item answers iframe was not loaded when the user navigated directly to the activity level feedback panel.  This caused the "Show Student Answers" dropdown to show a blank answer for any questions that had report items.

With this change all questions in the feedback panel that have report items pre-load all their report item iframes as hidden iframes before any of the student feedback rows are shown.  In addition a loading indicator was added while the report item answer is being loaded so that the answer does not look blank while the answer is loading.
@dougmartin dougmartin requested a review from scytacki December 10, 2024 13:10
Copy link

cypress bot commented Dec 10, 2024

portal-report    Run #1903

Run Properties:  status check passed Passed #1903  •  git commit 63df0b8672: fix: Report item answers not rendering in activity level feedback report [PT-188...
Project portal-report
Branch Review 188671164-fix-feedback-view-student-answers
Run status status check passed Passed #1903
Run duration 04m 02s
Commit git commit 63df0b8672: fix: Report item answers not rendering in activity level feedback report [PT-188...
Committer Doug Martin
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 5
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 187
View all changes introduced in this branch ↗︎

Copy link
Member

@scytacki scytacki left a comment

Choose a reason for hiding this comment

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

Seems fine to me. Hopefully it won't eat up too much memory and bandwidth.

@dougmartin dougmartin merged commit 06e78b9 into master Dec 10, 2024
6 of 7 checks passed
@dougmartin dougmartin deleted the 188671164-fix-feedback-view-student-answers branch December 10, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants