XWIKI-23958: Inconsistency in the notification userlink#5120
Merged
surli merged 1 commit intoxwiki:masterfrom Feb 12, 2026
Merged
XWIKI-23958: Inconsistency in the notification userlink#5120surli merged 1 commit intoxwiki:masterfrom
surli merged 1 commit intoxwiki:masterfrom
Conversation
* Fixed the inconsistency by updating the code of the specific macro.
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira URL
https://jira.xwiki.org/browse/XWIKI-23958
Changes
Description
Clarifications
onlyAvatarto the standard macro but keep it hard-coded there, since it doesn't look like it'd be useful in other places. If we ever use it in another place, then it'd be interesting.Screenshots & Video
Before the PR:




After the PR:
Executed Tests
Semi-automated accessibility test on the new notification macro found on the profile (see screenshot above). Somehow axe-core doesn't identify this link as an inline link so it doesn't trigger a contrast violation.
Built the changes successfully with
mvn clean install -f xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/ -Pquality.Ran docker tests:
mvn clean install -f xwiki-platform-core/xwiki-platform-mentions/xwiki-platform-mentions-test/xwiki-platform-mentions-test-docker/Those use
xwiki-platform/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-pageobjects/src/main/java/org/xwiki/platform/notifications/test/po/GroupedNotificationElementPage.java
Line 94 in 8da5c63
Expected merging strategy