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: Bookmarks not linking anywhere in resource selection #12360

Conversation

nucleogenesis
Copy link
Member

Summary

Fixes #12331

The contentLink method in ResourceSelection was returning an empty object with the expectation that it would basically serve as a no-op which worked find except for the fact that we show bookmarks based on a query param.

This returns the current route's name params and query for non-topic content nodes. I think I worried that this approach would result in redundant navigation errors but it seems that router-link just ignores clicks on the links.

Reviewer guidance

Test clicking bookmarks and exercise cards in EQM resource selection.

@github-actions github-actions bot added APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) DEV: frontend labels Jun 25, 2024
@nucleogenesis nucleogenesis added TODO: needs review Waiting for review and removed APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) DEV: frontend labels Jun 25, 2024
Copy link
Member

@pcenov pcenov left a comment

Choose a reason for hiding this comment

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

Thanks @nucleogenesis - I confirm that the issue described in #12331 is fixed now.

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.

LGTM!

@rtibbles rtibbles merged commit 4e93fc0 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
TODO: needs review Waiting for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quiz - Clicking on a card from the bookmarked resources brings the user back
4 participants