Changes for page User Mentions
Last modified by Vincent Massol on 2024/02/26 17:57
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -125,6 +125,7 @@ 125 125 |UC9|UC7.1|[[Answer to a notification by email>>||anchor="HUC9.Answertoanotificationbyemail"]]|Hard|Low 126 126 |UC10| |[[Integration of browser notifications>>url:https://design.xwiki.org/xwiki/bin/view/Proposal/UserMentions#HUC10.IntegrationofbrowserA0notifications]]|TBD|Medium 127 127 |UC11|UC7.1|[[Integration of answers from external source>>url:https://design.xwiki.org/xwiki/bin/view/Proposal/UserMentions#HUC11.Integrationofanswersfromexternalsource]]|Medium|Low 128 +|UC12| | |Easy|Low 128 128 129 129 == UC1. Rich editor integration == 130 130 ... ... @@ -239,7 +239,13 @@ 239 239 240 240 In summary, answering to mentions should be open to extensions. 241 241 243 +== UC12. Auto page watch == 242 242 245 +Whenever a user is mention in a document, he is automatically added to the watchers of the document. 246 + 247 +This feature must be deactivated by default and could be activated by a setting in the user profile (section Watched Pages of the notification preference section, along with the Automatic page watching setting). 248 + 249 + 243 243 == Tasks on Jira == 244 244 245 245 {{jira url="https://jira.xwiki.org" source="jql"}} ... ... @@ -404,10 +404,8 @@ 404 404 405 405 (citation) ~_~_100 char before and 100 chars after the mentions~_~_ 406 406 407 - Textareatoanswer414 +Answer button 408 408 409 -submit button 410 - 411 411 ==== Document comment ==== 412 412 413 413 You are mentioned by ~_~_USER_NAME~_~_ (+ link to user) on ~_~_DOCUMENT_NAME~_~_ comments. (link to the document view + anchor to the comment). ... ... @@ -414,10 +414,8 @@ 414 414 415 415 (citation) ~_~_100 char before and 100 chars after the mentions~_~_ 416 416 417 - Textareatoanswer422 +Answer button 418 418 419 -submit button 420 - 421 421 ==== Document annotation ==== 422 422 423 423 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). ... ... @@ -424,10 +424,8 @@ 424 424 425 425 (citation) ~_~_100 char before and 100 chars after the mentions~_~_ 426 426 427 - Textareatoanswer430 +Answer button 428 428 429 -submit button 430 - 431 431 ==== Document AWM textare field ==== 432 432 433 433 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). ... ... @@ -442,10 +442,8 @@ 442 442 443 443 (citation) ~_~_100 char before and 100 chars after the mentions~_~_ 444 444 445 - Textareatoanswer446 +Answer button 446 446 447 -submit button 448 - 449 449 ==== Document comment ==== 450 450 451 451 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). ... ... @@ -452,10 +452,8 @@ 452 452 453 453 (citation) ~_~_100 char before and 100 chars after the mentions~_~_ 454 454 455 - Textareatoanswer454 +Answer button 456 456 457 -submit button 458 - 459 459 ==== Document annotation ==== 460 460 461 461 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). ... ... @@ -462,10 +462,8 @@ 462 462 463 463 (citation) ~_~_100 char before and 100 chars after the mentions~_~_ 464 464 465 - Textareatoanswer462 +Answer button 466 466 467 -submit button 468 - 469 469 ==== Document AWM textare field ==== 470 470 471 471 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). ... ... @@ -472,6 +472,13 @@ 472 472 473 473 (citation) ~_~_100 char before and 100 chars after the mentions~_~_ 474 474 470 + 471 +=== Answering === 472 + 473 +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. 474 + 475 +Filling and submitting this textarea send a answer to the mention. 476 + 475 475 == Integration of browser notifications == 476 476 477 477 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]] . ... ... @@ -478,7 +478,7 @@ 478 478 479 479 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. 480 480 481 -Another important point this the management and activation of the notification user rights.483 +Another important point is the management and activation of the notification user rights. 482 482 483 483 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. 484 484