Skip to content

Comments

XWIKI-23958: Inconsistency in the notification userlink#5120

Merged
surli merged 1 commit intoxwiki:masterfrom
Sereza7:XWIKI-23958
Feb 12, 2026
Merged

XWIKI-23958: Inconsistency in the notification userlink#5120
surli merged 1 commit intoxwiki:masterfrom
Sereza7:XWIKI-23958

Conversation

@Sereza7
Copy link
Contributor

@Sereza7 Sereza7 commented Jan 29, 2026

Jira URL

https://jira.xwiki.org/browse/XWIKI-23958

Changes

Description

  • Fixed the inconsistency by updating the code of the specific macro.
  • (unrelated to the PR topic) Removed a now useless styleblock.

Clarifications

  • I decided to not bring the feature of onlyAvatar to 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.
  • XWIKI-22269 was fixed in 16.8, so it's high time to remove that CSS ruleblock. I could not see a change on my local instance when removing it.

Screenshots & Video

Before the PR:
image
image
After the PR:
Screenshot From 2026-01-29 11-24-05
image

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

which could have broken with the changes.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • 17.10.X (pretty safe bugfix with a low scope)

* Fixed the inconsistency by updating the code of the specific macro.
@Sereza7 Sereza7 requested a review from surli January 29, 2026 10:50
@surli surli merged commit ec6eb6d into xwiki:master Feb 12, 2026
3 checks passed
@github-actions
Copy link

💚 All backports created successfully

Status Branch Result
stable-17.10.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants