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

[BUG FIX] [MER-3671] Adaptive page styles broken after lesson publishing - part 2 #5044

Conversation

nicocirio
Copy link
Contributor

@nicocirio nicocirio commented Aug 22, 2024

Link to the comment in the ticket

Before

Screen.Recording.2024-08-22.at.11.36.57.AM.mov

After

Screen.Recording.2024-08-22.at.11.35.52.AM.mov

The issue was identified after editing and publishing a page. So, when that event occurs, all active attempts of the edited page change their state from :in_progress to revised.
Since the RedirectAdaptiveChromeless livesession plug was not considering :revised states to perform the redirect, the user ended up in the /lesson route instead of the /adaptive_lesson one. Both layout templates for those routes are very similar, but the first one includes a modal, and that hidden modal was the one preventing the click from being correctly targeted to the dropdown.

The same fix was extended to the RedirectToLesson livesession plug.

All other cases were already addressed in this PR

Copy link
Contributor

@simonchoxx simonchoxx left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@eliknebel eliknebel merged commit 595d7d2 into hotfix-v0.28.4 Aug 22, 2024
7 checks passed
@eliknebel eliknebel deleted the MER-3671-adaptive-page-styles-broken-after-lesson-publishing-part-2 branch August 22, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants