Feature: #108842 - Add badge for slide mode in Layout module
See forge#108842
Description
This feature introduces a visual badge in the Content > Layout module to indicate when slide mode is active. The badge is a clear indicator for editors, enhancing the user experience by providing immediate feedback on the current mode of operation.
Each slide mode has a corresponding badge and description text. The badge shows two icons, and the description text is shown as its tooltip:
- For
slide, no badge is shown.Mode = none - For
slide, a badge with the iconsMode = slide actions-andsearch actions-is shown, but only if there are no content elements on the current page.sort- amount- up - For
slide, a badge with the iconsMode = collect actions-andcart actions-is shown.sort- amount- down - For
slide, a badge with the iconsMode = collect Reverse actions-andcart actions-is shown.sort- amount- up
No badge is shown on pages on the root level of the page tree.