Fix regression issues between Layout Builder UX and Bootstrap Layout Builder Styles

Created on 18 January 2023, over 1 year ago
Updated 22 January 2023, over 1 year ago

Problem/Motivation

πŸ“Œ Update Bootstrap Styles module from 1.0.3 to 1.1.0 and keep needed patches Fixed
πŸ“Œ Update Bootstrap Layout Builder module from 2.0.1 to 2.1.1 Fixed

Steps to reproduce

Scenario: Check if a site admin can create a landing page and add sections to it with different container types                                                                                                                                                                                                   
    Given I am a logged in user with the "Site admin" user                                                                                                                                                                                                                                                          
    When I go to "/node/add/landing_page_lb"                                                                                                                                                                                                                                                                        
    And I wait                                                                                                                                                                                                                                                                                                      
    Then I should see "Create Landing page (Layout Builder)"                                                                                                                                                                                                                                                        
    When I fill in "Test Landing page (Layout Builder) by Site Admin" for "Title"                                                                                                                                                                                                                                   
    And I fill in "Test Landing page (Layout Builder) description" for "Page description"                                                                                                                                                                                                                           
    And I select "published" from "Save as"                                                                                                                                                                                                                                                                         
    And I press the "Save" button                                                                                                                                                                                                                                                                                   
    And I wait                                                                                                                                                                                                                                                                                                      
    Then I should see "Landing page (Layout Builder) Test Landing page (Layout Builder) by Site Admin has been created"                                                                                                                                                                                             
    And I should see "This layout builder tool allows you to configure the layout of the main content area."                                                                                                                                                                                                        
    When I scroll to the bottom of the page                                                                                                                                                                                                                                                                         
    And I wait 1s                                                                                                                                                                                                                                                                                                   
    Then I should see "Add section at end of layout"                                                                                                                                                                                                                                                                
    When I add a basic "2 Cols" section at the end of layout                                                                                                                                                                                                                                                        
    And I select the "Boxed" container type with a "Tiny" width                                                                                                                                                                                                                                                     
    And I select the "md" "33% 67%" section breakpoint                                                                                                                                                                                                                                                              
    And I add section gutters                                                                                                                                                                                                                                                                                       
    Then I should not see "Keep gutters between columns"                                                                                                                                                                                                                                                            
    And I wait for AJAX to finish                                                                                                                                                                                                                                                                                   
    And I select the "Primary" section background color


The automated functional test will stop at this point with the follow screenshot by the robot
It can not see the section background color, as it is under the Bootstrap Navigation Tabs

Before the update of Bootstrap Styles .. and Using the Layout Builder UX

After the update of Bootstrap Styles .. and Using the Layout Builder UX

Only using Bootstrap Styles ... "NO" Layout Builder UX styles

After the update of Bootstrap Styles and Bootstrap Layout Builder
Having a sticky Bootstrap Navigation Tabs is failing the functional automated testing with media and small screens.

Proposed resolution

  • Switch to relative position for bs_nav-tabs Bootstrap Navigation Tabs
  • Keep the Layout Builder UX style for the ui-resizable-handle UI Re-sizable Handle for the ui-dialog-off-canvas UI dialog off canvas

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-9.0.11 β†’ , varbase_layout_builder-10.0.25 β†’

Varbase update type

  • βœ… No Update
  • βž– Optional Update
  • βž– Forced Update
  • βž– Forced Update if Unchanged

User interface changes

After the fix, Even with small screens

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3334544 β†’ : Fixed regression issues between Layout Builder UX and Bootstrap Layout Builder Styles
πŸ“Œ Task
Status

Fixed

Version

10.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.69.0 2024