sensei
sensei copied to clipboard
Hide inherited block settings that are not applicable to our block from our block variation
Goal
To research and find a way to hide some settings that our Courses block, which is variation of the Query Loop block, will inherit from the Query Loop block which should not be visible. For example, the "Post Type" dropdown should not be visible in the settings when Courses block is selected.
Scope
- Editor: No unnecessary settings from the Query Loop block in the Settings menu of our variation block. Initially, the settings to be removed are "Post Type" and "Inherit query from template".

Acceptance Criteria:
Scenario: Not showing the settings to be hidden after the course block is added Given I have added the Courses block in my GB editor page And I have clicked on the added block When I look at the settings panel Then I should not see the Post Type or Query Inheriting settings there.
Scenario: Not showing the settings to be hidden after the course block is added, and page is refreshed Given I have added the Courses block in my GB editor page And I have clicked on the added block And I have refreshed the page When I look at the settings panel Then I should not see the Post Type or Query Inheriting settings there.