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

Editing a Template in a block theme has blocks missing #2707

Open
4 tasks
brianhogg opened this issue Aug 6, 2024 · 1 comment
Open
4 tasks

Editing a Template in a block theme has blocks missing #2707

brianhogg opened this issue Aug 6, 2024 · 1 comment
Assignees

Comments

@brianhogg
Copy link
Contributor

brianhogg commented Aug 6, 2024

This seems like a core LifterLMS bug since the "Course Progress" (vs. "Course Progress with Button") block is not searchable even on a default theme like Twenty Twenty Four.

Reproduction Steps

  • On a site with the Sky Pilot theme activated, go to Appearance > Editor, then go to the Single Lesson template

Expected Behavior

  • Template loads with no errors

Actual Behavior

  • Error that the site doesn't include support for the "llms/course-progress" block, but when you view a single lesson, it renders the course progress.
Captura de pantalla 2024-08-06 a las 11 27 19 a  m

Technical notes

The llms/course-progress block is loaded via the included lifterlms-blocks helper library/plugin. Might be the timing when the blocks JS is included or a condition of it being included in the back-end while editing a Template that is incorrect.

This issue has be recreated:

  • Locally
  • On a staging site
  • On a production website
  • With only LifterLMS and a default theme
@ideadude ideadude moved this to Awaiting Triage in Development Aug 6, 2024
@ideadude ideadude self-assigned this Aug 6, 2024
@brianhogg brianhogg assigned brianhogg and unassigned ideadude Aug 6, 2024
@brianhogg
Copy link
Contributor Author

It seems no blocks from the included lifterlms-blocks library are available on the Template edit screen. Also trying to copy a block that does appear and have it show on the Template edit screen is not working, though I haven't gone through adding to the src and doing a a re-build. There's something that's being done (or isn't being done) in the core blocks that isn't in lifterlms-block.

@brianhogg brianhogg moved this from Awaiting Triage to In Progress in Development Aug 8, 2024
@brianhogg brianhogg moved this from In Progress to Awaiting Triage in Development Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Awaiting Triage
Development

No branches or pull requests

2 participants