[xwiki/xwiki-platform] 42c08a: XWIKI-12824: Add buttons to hide/show panels (#2831)
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 42c08aa1e38db64d8a84f09435a74421830c0a9a https://github.com/xwiki/xwiki-platform/commit/42c08aa1e38db64d8a84f09435a74... Author: LucasC <[email protected]> Date: 2025-05-06 (Tue, 06 May 2025) Changed paths: M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/flamingo.js M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/less/layout.less M xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/ApplicationResources.properties M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/leftpanels.vm M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/rightpanels.vm Log Message: ----------- XWIKI-12824: Add buttons to hide/show panels (#2831) * Add animation for the panel collapsing/expanding * Added logic for animation of panel columns * Add the transition in itself on the aria-expanded attribute of the toggler. * Review the style changes to optimize * Disabled the toggle buttons when the screen is not wide enough to have the panel columns next to the content. * Decided to keep the button in the accessibility tree at all times (removing visibility style switching) * Added selectors so that the toggles are visible when hovered and focused. * Added localstorage for the togglers, that works in the same way as the resizers. * Updated the DOM of the handles for better accessibility. * Added the translation keys, with keys that match better their context. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications