Fix Block context in theme layout and Layout Builder

Created on 29 January 2023, almost 2 years ago
Updated 30 May 2023, over 1 year ago

Problem/Motivation

Not able to see the context after saving a block at the front-end

Steps to reproduce

Given a blocked was placed using the theme layout or the Layout Builder
When the page is reloaded
Then editors are not able to edit the block in Layout Builder
And the theme layout too

Proposed resolution

Constrict the right needed html_tag with the right condition for blocks in @atoms, @molecules, @organisms
with the right needed attributes and configuration
Using the right twig {% include with %} values for the context to work

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-10.0.0-alpha1 , vartheme_bs5-2.0.0-alpha4

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3337386 : Fixed Block context in theme layout and Layout Builder
🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024