amnestywebsite / humanity-theme

The Amnesty International WordPress Humanity Theme
https://wordpresstheme.amnesty.org/
Other
38 stars 10 forks source link

Bug - v2.0.0 - Temporary SSR blocks showing in the inserter #436

Closed jaymcp closed 1 month ago

jaymcp commented 1 month ago

Related to https://github.com/amnestywebsite/humanity-theme/issues/246

Describe the bug
SSR blocks that have been created to support functionality not currently implemented by "proper" blocks are visible in the inserter

To Reproduce
Steps to reproduce the behaviour:

  1. Checkout the v2.0.0 release branch: git checkout release/v2.0.0
  2. Run a build: cd private && yarn build
  3. Edit a post
  4. Open the block inserter
  5. See that blocks such as Search Form and Archive Header are available to insert

Expected behaviour
These SSR blocks should not be insertable

Actual behaviour
Some of the SSR blocks are available in the inserter

Screenshots
image (2)

jaymcp commented 1 month ago

Fixed in e140c4b6a5af04807af30f21747f45b24c830de1