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

Unpublished New Lesson in course builder "View" click opens course builder in new tab instead of lesson draft preview #2662

Open
4 tasks done
brianhogg opened this issue May 16, 2024 · 1 comment
Assignees

Comments

@brianhogg
Copy link
Contributor

Reproduction Steps

  • Add a new lesson to course builder and save
  • Click "view" on an unpublished lesson
  • Notice how the course builder loads in a new tab instead of the lesson in draft preview status

Expected Behavior

Clicking "view" on an unpublished lesson from the course builder should load the lesson preview in draft status in a new tab similar to how a blog post creator can preview a post on the frontend of the website before publishing

Actual Behavior

Unpublished New Lesson in course builder "View" click opens course builder in new tab instead of lesson draft preview

Video of issue: https://share.cleanshot.com/fzHF5xj5

This issue has be recreated:

  • Locally
  • On a staging site
  • On a production website
  • With only LifterLMS and a default theme
@ideadude ideadude self-assigned this May 16, 2024
@brianhogg brianhogg assigned brianhogg and unassigned ideadude May 16, 2024
@brianhogg
Copy link
Contributor Author

The new lesson appears to be Published even though the Published flag hasn't been set. Saving changes then refreshing will show both the "View" permalink and will show the lesson as Published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants