Block: submenu

Serving as dynamic Table of Content, creating a clickable menu based on the headers of the paragraphs.

Read more

In release v2.56 we removed the back to top button on the pages where the Submenu block is present, we fixed buggy indicators in Gallery Carousel style and also fixed the Happy point mailing list iframe toggle.


🐞Bug Fixes

  • PLANET-6105 – Buggy indicators in Gallery Carousel style
    • Clicking on the indicators of the Gallery Carousel is not working as expected, it seems to be going to the next slide regardless of which dot you click on.
    • The arrows were also a bit too far from the edges in large screens (> 1200px), fixed considering the Design System.
  • PLANET-6002 – Remove back-to-top button in “Submenu” block
    • When there is a Submenu block on a page, a back-to-top button appears at the bottom of the page after scrolling for a bit. We decided to completely remove this back-to-top button after we’ve looked at Analytics for Privacy pages (one type of content pages that had submenus), which received less than 1% of total Planet 4 unique pageviews in Q1 2021.
  • PLANET-5489 – Happypoint mailing list iframe toggle doesn’t work
    • There is currently a small bug in the Happypoint block: if the editor enters an iframe url in the input, the iframe is shown even if the `mailing list iframe` checkbox is unchecked. This is not the expected behaviour, at least according to the help text below the input.
    • Tasks
      • Implement one of the two options, in priority:
        1. disabling the iframe url field when the toggle button is Off.
        2. automatically switching On the toggle button as soon as users enter a Iframe url in the field
      • Make sure existing content is still displayed.
      • If toggle button switch to off, then iframe not displayed in the frontend
  • PLANET-6153 – Archived posts on the search result page are missing the link to the archived post
    • When looking for specific content using the Search option, it looked like the href to the actual archived post was not present.

🔧 Infrastructure

  • PLANET-6145 – Upgrade to Wordpres 5.6.4
    • Just a security update