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

Add unstarted quiz string to quiz reports for learners who haven't started a quiz #13112

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LianaHarris360
Copy link
Member

Summary

This pull request updates the coach’s display of quiz reports with the message: “Quiz not started” for learners that have not started a quiz to properly indicate that the quiz has not been started.

Before:
UnstartedQuizBefore

After:
unstartedQuizAfter

References

Fixes #13057

Reviewer guidance

  • Assign a quiz to a learner
  • Navigate to Coach > Learners, and open the assigned quiz that has not been started

@LianaHarris360
Copy link
Member Author

Flagging @radinamatic @pcenov because I believe this will need a QA review, thank you!

Copy link
Member

@AllanOXDi AllanOXDi left a comment

Choose a reason for hiding this comment

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

Hi @LianaHarris360! Everything looks good to me code wise. Just left a thought.

@@ -565,6 +565,10 @@ export const coreStrings = createTranslator('CommonCoreStrings', {
message: 'Important: please remember this account information. Write it down if needed.',
context: 'Helper/information text to remind user to take note of their account information.',
},
quizNotStartedText: {
message: 'Quiz not started',
Copy link
Member

Choose a reason for hiding this comment

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

Just wondering if this can sit commonCoach Or searchAndFilter?

Copy link
Member Author

Choose a reason for hiding this comment

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

It could perhaps go in searchAndFilter. My first thought was to put this string in commonCoach, but since it’s primary usage would be the QuizReport in kolibri-common, I figured it would be best to place it in a more general place. I guess it’s not super clear to me where this string should go since it’s not within the release feature. Should I move this string? @marcellamaki

Copy link
Member

@MisRob MisRob left a comment

Choose a reason for hiding this comment

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

Thank you @LianaHarris360. Code looks good to me - the string placement in question makes sense to me, but let's wait for the confirm from @marcellamaki since I may a bit outdated around how we plan strings for features.

@pcenov pcenov removed their assignment Feb 27, 2025
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.

Unstarted quiz page opened from learner summary opens empty and is unclear
5 participants