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

After Practice Quiz and clicking back button, user does not see latest score #12663

Open
nucleogenesis opened this issue Sep 16, 2024 · 1 comment
Assignees
Labels
APP: Learn Re: Learn App (content, quizzes, lessons, etc.) DEV: frontend help wanted Open source contributors welcome P1 - important Priority: High impact on UX

Comments

@nucleogenesis
Copy link
Member

Observed behavior

This is a follow-up from #12564 which added the latest Practice Quiz's score to the content's card's "Progress" section.

I suspect that the TopicsPage is not calling this again. I tried adding force: true in the params to no effect. This might take a bit of digging, but we just need to be sure that we're fetching the progress again whenever the page loads.

This is where it is called (the _loadTopicsTopic calls the API for progress):

return _loadTopicsTopic({ baseurl, shouldResolve });
});
} else {
promise = _loadTopicsTopic({ shouldResolve });

Expected behavior

When a user's progress for any content has been updated, the user interface should reflect their latest progress.

User-facing consequences

User does not see their progress reflected in the UI.

Steps to reproduce

  • Take a practice quiz
  • Click the "Back" arrow
  • No score there
  • Refresh page, see your score now
  • Take the practice quiz again - score differently on purpose
  • Click the "Back" arrow
  • See first attempt's score
  • Refresh page
  • See latest score

Context

develop

@nucleogenesis nucleogenesis added P1 - important Priority: High impact on UX APP: Learn Re: Learn App (content, quizzes, lessons, etc.) DEV: frontend help wanted Open source contributors welcome labels Sep 16, 2024
@rtibbles
Copy link
Member

For non-practice quiz content types, we do some special frontend cache manipulation to do this update, we would need to add the equivalent here for the practice quiz extra progress data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Learn Re: Learn App (content, quizzes, lessons, etc.) DEV: frontend help wanted Open source contributors welcome P1 - important Priority: High impact on UX
Projects
None yet
Development

No branches or pull requests

3 participants