Changes for page User Mentions

Last modified by Vincent Massol on 2024/02/26 17:57

<
From version < 48.4 >
edited by Manuel Leduc
on 2020/05/11 17:23
To version < 49.1 >
edited by Manuel Leduc
on 2020/05/11 17:29
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -130,11 +130,10 @@
130 130  
131 131  The mention feature must be eased by the generalization of the integration of the rich editor.
132 132  
133 -This is currently not the case and multiple places where is would be interesting to have user mentions (e.g., comments, annotations, AWM textareas) support XWiki syntax without being supported by a rich editor.
133 +This is currently not the case and multiple places where is would be interesting to have user mentions (i.e., comments and annotations) support XWiki syntax without being supported by a rich editor.
134 134  
135 135  The rich editor must be integrated on every textarea supporting the XWiki syntax and be activated by default for users that choose wysiwyg as by default.
136 136  
137 -The places where the rich editor is not currently integrated are the comments and the annotations textareas. [[Screenshot from 2020-05-11 10-17-44.png>>attach:Screenshot from 2020-05-11 10-17-44.png]]
138 138  
139 139  {{gallery}}
140 140  [[image:Screenshot from 2020-05-11 10-16-28.png]]
... ... @@ -405,10 +405,8 @@
405 405  
406 406  (citation) ~_~_100 char before and 100 chars after the mentions~_~_
407 407  
408 -Textarea to answer
407 +Answer button
409 409  
410 -submit button
411 -
412 412  ==== Document comment ====
413 413  
414 414  You are mentioned by ~_~_USER_NAME~_~_ (+ link to user) on ~_~_DOCUMENT_NAME~_~_ comments. (link to the document view + anchor to the comment).
... ... @@ -415,10 +415,8 @@
415 415  
416 416  (citation) ~_~_100 char before and 100 chars after the mentions~_~_
417 417  
418 -Textarea to answer
415 +Answer button
419 419  
420 -submit button
421 -
422 422  ==== Document annotation ====
423 423  
424 424  You are mentioned by ~_~_USER_NAME~_~_ (+ link to user) on an annotation on ~_~_DOCUMENT_NAME~_~_. (link to the document view + anchor to the annotation on the comments section).
... ... @@ -425,10 +425,8 @@
425 425  
426 426  (citation) ~_~_100 char before and 100 chars after the mentions~_~_
427 427  
428 -Textarea to answer
423 +Answer button
429 429  
430 -submit button
431 -
432 432  ==== Document AWM textare field ====
433 433  
434 434  You are mentioned by ~_~_USER_NAME~_~_ (+ link to user) on the field ~_~__FIELD_NAME~_~_ of  ~_~_DOCUMENT_NAME~_~_ (link to the document view + anchor to the field).
... ... @@ -443,10 +443,8 @@
443 443  
444 444  (citation) ~_~_100 char before and 100 chars after the mentions~_~_
445 445  
446 -Textarea to answer
439 +Answer button
447 447  
448 -submit button
449 -
450 450  ==== Document comment ====
451 451  
452 452  The group ~_~_GROUP_NAME~_~_ (+ link to group) is mentioned by ~_~_USER_NAME~_~_ (+ link to user) on ~_~_DOCUMENT_NAME~_~_ comments. (link to the document view + anchor to the comment).
... ... @@ -453,10 +453,8 @@
453 453  
454 454  (citation) ~_~_100 char before and 100 chars after the mentions~_~_
455 455  
456 -Textarea to answer
447 +Answer button
457 457  
458 -submit button
459 -
460 460  ==== Document annotation ====
461 461  
462 462  The group ~_~_GROUP_NAME~_~_ (+ link to group) is mentioned by ~_~_USER_NAME~_~_ (+ link to user) on an annotation on ~_~_DOCUMENT_NAME~_~_. (link to the document view + anchor to the annotation on the comments section).
... ... @@ -463,10 +463,8 @@
463 463  
464 464  (citation) ~_~_100 char before and 100 chars after the mentions~_~_
465 465  
466 -Textarea to answer
455 +Answer button
467 467  
468 -submit button
469 -
470 470  ==== Document AWM textare field ====
471 471  
472 472  The group ~_~_GROUP_NAME~_~_ (+ link to group) is mentioned by ~_~_USER_NAME~_~_ (+ link to user) on the field ~_~__FIELD_NAME~_~_ of  ~_~_DOCUMENT_NAME~_~_ (link to the document view + anchor to the field).
... ... @@ -473,6 +473,13 @@
473 473  
474 474  (citation) ~_~_100 char before and 100 chars after the mentions~_~_
475 475  
463 +
464 +=== Answering ===
465 +
466 +Clicking the "Answer button" opens a modal windows that provides a larger preview around the mentions and present a textarea supporting XWiki syntax and rich editing.
467 +
468 +Filling and submitting this textarea send a answer to the mention.
469 +
476 476  == Integration of browser notifications ==
477 477  
478 478  See [[https:~~/~~/developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API>>https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API]] .
... ... @@ -479,7 +479,7 @@
479 479  
480 480  Note that the notification cannot be rendered as html, so their body and title must eventually be converted to plain text before being send through this API.
481 481  
482 -Another important point this the management and activation of the notification user rights.
476 +Another important point is the management and activation of the notification user rights.
483 483  
484 484  Indeed, using Firefox, the pop-up below is only displayed to the user following and user action (e.g., a click event), otherwise the query is proposed but not displayed to the user, who has to go activate the feature by himself.
485 485  

Get Connected