Changes for page User Mentions
Last modified by Vincent Massol on 2024/02/26 17:57
From version 46.1
edited by Manuel Leduc
on 2020/05/11 17:07
on 2020/05/11 17:07
Change comment:
There is no comment for this version
To version 47.2
edited by Manuel Leduc
on 2020/05/11 17:12
on 2020/05/11 17:12
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +3,3 @@ 1 -= = 2 - 3 3 = Introduction = 4 4 5 5 Mentions are a structured way to reference users in the text (e.g., comments, annotations, documents). ... ... @@ -36,7 +36,7 @@ 36 36 37 37 The default content of the display mention should be the first name + last name of the user. It should be possible to change the content to first name only, or to the login of the user. I don't know if it's a good idea to be able to allow to change the text of the mention for a free text (confusing, risk of link scamming...). 38 38 39 -Mentions of removed users should still be displayed clearly, eventuallydvisually that the user has been removed (which is not easy to identify in the context of AP for instance).37 +Mentions of removed users should still be displayed clearly, it should possibly be identifiable visually that the user has been removed with a strikethrough on the name (which is not easy to identify in the context of AP for instance). 40 40 41 41 42 42 ... ... @@ -344,8 +344,14 @@ 344 344 a.mention.group.self { 345 345 background-color: #00ff005e; 346 346 } 345 + 346 +a.mention.removed { 347 + text-decoration: line-through; 348 +} 347 347 {{/code}} 348 348 351 +== == 352 + 349 349 == Mention creation == 350 350 351 351 Mentions are identified by listening to XWiki existing events. The event listed below are listened using a class implementing org.xwiki.observation.AbstractEventListener.