Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: 3bb55b5e94e925d5be51df0ca7a25b3b6f66b16d
https://github.com/xwiki/xwiki-platform/commit/3bb55b5e94e925d5be51df0ca7a2…
Author: Lucas C <lucas.charpentier(a)imt-atlantique.net>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/less/messages.less
M xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-fontawesome/src/main/resources/IconThemes/FontAwesome.xml
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/pom.xml
A xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/java/org/xwiki/rendering/internal/util/XWikiIconProvider.java
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/resources/META-INF/components.txt
Log Message:
-----------
XWIKI-21452: Macros info, success, warning and error are only distinguished by colors (#2590)
* Updated style to take into account the addition of an icon in xwiki-rendering
* Implementing the IconProvider interface to override xwiki-rendering behavior
* Added a text alternative to the icons provided for boxes
* Added default translations for the box icons.
* Changed margins and gaps between icon and borders
* Removed borders from the message macro
* Removed box shadow from the message macro
* Added a visually distinguished left border to each type of message
---------
Co-authored-by: Thiago Krieck <thiago.krieck(a)xwiki.com>
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-rendering
Commit: 35f2d28904a791aab23ee1c5a5e5caba32b7b73b
https://github.com/xwiki/xwiki-rendering/commit/35f2d28904a791aab23ee1c5a5e…
Author: Lucas C <lucas.charpentier(a)xwiki.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
A xwiki-rendering-api/src/main/java/org/xwiki/rendering/internal/util/DefaultIconProvider.java
A xwiki-rendering-api/src/main/java/org/xwiki/rendering/util/IconProvider.java
M xwiki-rendering-api/src/main/resources/META-INF/components.txt
M xwiki-rendering-macros/xwiki-rendering-macro-box/src/main/java/org/xwiki/rendering/macro/box/AbstractBoxMacro.java
M xwiki-rendering-macros/xwiki-rendering-macro-box/src/test/resources/macrobox5.test
M xwiki-rendering-macros/xwiki-rendering-macro-box/src/test/resources/macrobox8.test
M xwiki-rendering-macros/xwiki-rendering-macro-message/pom.xml
M xwiki-rendering-macros/xwiki-rendering-macro-message/src/main/java/org/xwiki/rendering/internal/macro/message/AbstractMessageMacro.java
M xwiki-rendering-macros/xwiki-rendering-macro-message/src/main/java/org/xwiki/rendering/internal/macro/message/ErrorMessageMacro.java
M xwiki-rendering-macros/xwiki-rendering-macro-message/src/main/java/org/xwiki/rendering/internal/macro/message/InfoMessageMacro.java
M xwiki-rendering-macros/xwiki-rendering-macro-message/src/main/java/org/xwiki/rendering/internal/macro/message/SuccessMessageMacro.java
M xwiki-rendering-macros/xwiki-rendering-macro-message/src/main/java/org/xwiki/rendering/internal/macro/message/WarningMessageMacro.java
M xwiki-rendering-macros/xwiki-rendering-macro-message/src/test/resources/macromessage1.test
M xwiki-rendering-macros/xwiki-rendering-macro-message/src/test/resources/macromessage2.test
M xwiki-rendering-macros/xwiki-rendering-macro-message/src/test/resources/macromessage3.test
M xwiki-rendering-macros/xwiki-rendering-macro-message/src/test/resources/macromessage4.test
Log Message:
-----------
XRENDERING-736: Macros info, success, warning and error are only distinguished by colors (#286)
* Added the appropriate changes to the block structure of the message macro
* Added a container for the box title
* Added an interface and a component to handle icon providing.
* Use the interface to add icons to the info, success, warning and error macros