Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 957d3d3cb556037d98058d2f25098941ea3a992b https://github.com/xwiki/xwiki-platform/commit/957d3d3cb556037d98058d2f25098... Author: Anca Luca <[email protected]> Date: 2025-11-26 (Wed, 26 Nov 2025) Changed paths: M xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-fontawesome/src/main/resources/IconThemes/FontAwesome.xml M xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-ui/src/main/resources/IconThemes/Silk.xml A xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-web/src/main/webapp/resources/icons/silk/heart_empty.gif M xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-test/xwiki-platform-like-test-docker/src/test/it/org/xwiki/like/test/ui/LikeIT.java M xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-test/xwiki-platform-like-test-pageobjects/src/main/java/org/xwiki/like/test/po/LikeButton.java M xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-ui/src/main/resources/XWiki/Like/LikeTranslations.fr.xml M xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-ui/src/main/resources/XWiki/Like/LikeTranslations.xml M xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-ui/src/main/resources/XWiki/Like/LikeUIX.xml M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/icons/default.iconset A xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/icons/silk/heart_empty.png Log Message: ----------- XWIKI-18545 Align Like button visuals with known conventions (#2645) * Updated the LikeUIX page to the latest platform XML format, prior to making the actual changes fixing the issue * Moved all translations from the LikeUIX to usage of the l10n service instead of velocity evaluation of the javascript source (finishing the refactoring started in XWIKI-19139) * Formatted the Silk icon theme page XML to current xar format * Added a heart_empty icon, in the default icon set, in FontAwesome Theme and in Silk * The Silk icon images were produced based on the heart icon of silk, by clearing the inside the heart (transparency) * Updated formatting of the translation pages that will be updated for this feature * Split the likes UI in 2 elements: a button for the action, heart shaped, and a link that displays the number of current likes and allows to get to the list of likes * Styled the like button to align with current conventions: 'primary' when the element was liked already and default when it's not, so that it lights up when liked by current user * Updated translations to correspond to the new UI * Moved the gif version of the icon in the legacy web module, next to all other gif icons * Fixed code according to @michitux's comments: using let instead of var and escaping link label * Added a slightly colored background box to the heart icon on hover, to enhance visually it's reactivity on hover and better separate the 2 controls: the heart and the likers link * Removed the outline of the heart button as the outline border is too crammed up against the content and makes the button undistinguishable * Fixed some formatting --------- Co-authored-by: LucasC <[email protected]> Co-authored-by: Marius Dumitru Florea <[email protected]> Co-authored-by: Simon Urli <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications