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

EQM: Difficult questions reports fix #12372

Merged

Conversation

nucleogenesis
Copy link
Member

@nucleogenesis nucleogenesis commented Jun 27, 2024

Summary

Closes #12164 - where questions were needed in questionDetail/handlers.js we were still expecting the Exam.question_sources v2 schema. I did a cursory search for possible other uses of question_sources to derive questions but found nothing else.

🎆 BONUS FIXES 🎆

Before:

Not all issues shown in screenshot

  • Broken icons
  • Text and icon were inline-block, weird text overflow
  • px values
  • icon is a few pixels below centered

image

After:

Not all fixes shown in screenshot

  • Proper icons
  • Icon vertical centered
  • Text is padded from left, justified against icon's spacing
  • Icon absolute positioned
  • em values

image


Reviewer guidance

  • Can you view Difficult questions reports?
  • Does the page have working icons that look right?

@github-actions github-actions bot added APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) DEV: frontend labels Jun 27, 2024
Comment on lines +27 to +33
icon="notStarted"
/>
<KIcon
v-else-if="!learner.correct"
class="item svg-item"
:style="{ fill: $themeTokens.incorrect }"
icon="cancel"
icon="incorrect"
Copy link
Member Author

Choose a reason for hiding this comment

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

This feels like it should be the right thing to use here... not sure why cancel was used for both of these icons. cancel no longer exists and I assume it's what turned into incorrect given the $themeToken that was used here.

  • notStarted is used when the learner has no attempts
  • incorrect is used when the user answered incorrectly (and presumably needs help)

@pcenov
Copy link
Member

pcenov commented Jun 27, 2024

Hi @nucleogenesis I confirm that now it's possible to see the details of the difficult questions however when I go to Coach > Reports > Lesson > Difficult questions I am not seeing the incorrect answers of the learner:

2024-06-27_16-23-53.mp4

If that's not caused by the changes made here, I can file a follow-up issue.

@nucleogenesis
Copy link
Member Author

@pcenov I think that @rtibbles will have the issue you found resolved with his Perseus work

Thanks for giving this a look!

@rtibbles
Copy link
Member

@pcenov I filed your observation as an issue, and tagged it as resolved by my PR here: #12362 if you could verify the fix there, that would be great!

Copy link
Member

@rtibbles rtibbles left a comment

Choose a reason for hiding this comment

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

All changes make sense, and manual testing confirms the fix.

@rtibbles rtibbles merged commit 704bf36 into learningequality:develop Jun 27, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) DEV: frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EQM: Coach reports for specific "difficult question" viewing failing
3 participants