This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-3a8fa1af-b259-43e3-bed2-32574d1f2876 XWIKI-23958 Open

Inconsistency in the notification userlink

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-22a0d424-8f56-40d6-bbae-f5885cd7d4fd Charpentier Lucas created this issue on 29/Jan/26 10:41
 
Summary: Inconsistency in the notification userlink
Issue Type: cid:jira-generated-image-avatar-3a8fa1af-b259-43e3-bed2-32574d1f2876 Bug
Affects Versions: 18.0.0
Assignee: Unassigned
Attachments: image-2026-01-29-10-34-51-024.png, image-2026-01-29-10-41-02-118.png
Components: Notifications
Created: 29/Jan/26 10:41
Labels: consistency
Priority: cid:jira-generated-image-static-major-57b88969-a3f6-47c3-b1e7-558bcd276ffc Major
Reporter: Charpentier Lucas
Description:

_thumb_44543.png
The userlinks shown in the notification macro do not look like other user links:
no spacing, the image does not have round corners...

For reference:
_thumb_44542.png

This inconsistency comes from the fact that it uses a different template:
https://github.com/xwiki/xwiki-platform/blob/ef85fddd33818334e3b39e60e6f8afe6460a2606/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/notification/macros.vm#L169-L177
instead of
https://github.com/xwiki/xwiki-platform/blob/a7a7c0c2c0d5690195d7a64d2b82c60f895ce46b/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/macros.vm#L236-L247

 
 

2 updates

 
cid:jira-generated-image-avatar-22a0d424-8f56-40d6-bbae-f5885cd7d4fd Changes by Charpentier Lucas on 29/Jan/26 10:43
 
Description: !image-2026-01-29-10-34-51-024.png|thumbnail!
The userlinks shown in the notification macro do not look like other user links:
no spacing, the image does not have round corners...

For reference:
!image-2026-01-29-10-41-02-118.png|thumbnail!

This inconsistency comes from the fact that it uses a different template:
https://github.com/xwiki/xwiki-platform/blob/ef85fddd33818334e3b39e60e6f8afe6460a2606/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/notification/macros.vm#L169-L177
instead of
https://github.com/xwiki/xwiki-platform/blob/a7a7c0c2c0d5690195d7a64d2b82c60f895ce46b/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/macros.vm#L236-L247

This also means that there could be some specific bugs for this templates, or that it gets forgotten when improving the standard template.

For the sake of UX and maintanability, achieving consistency here would be an improvement.
Assignee: Charpentier Lucas