Details
-
Improvement
-
Resolution: Fixed
-
Major
-
3.4
-
annotations comments merge
-
Unknown
-
Description
The idea is to integrate the work done by Anca and Sorin during the 2011 XWiki (SAS) Seminar Hackaton: http://www.xwiki.com/xwiki/bin/view/Company/Hackathon2011#HMergedXWikiAnnotationswithComments
The work involves:
- Patch commentsinline.vm to display an annotation in the Comments tab
- Remove the display of the Annotations tab by default.
- Leave the annotationsinline.vm template and the AnnotationCode.Tab page since the Annotations tab could be useful to people having custom annotations. In this case, they will not benefit from the merging of Annotations with Comments and will use separate tabs and no reply-to feature
- Patch comments.js to synchronize the annotations display when deleting an annotation from the Comments tab
- Patch the Annotations application (AnnotationConfig, Macros, Script, Style) to set XWiki.XWikiComments as the default annotations class, update the annotation popup display and link the reply button on the annotation popup with the one in the comments tab
- Patch com.xpn.XWiki.getCommentsClass(XWikiContext context) to add the new fields to the XWiki.XWikiComments class
Additional:
- Write a migrator that takes any existing annotations of class AnnotationCode.AnnotationClass (default ones), converts them to comments and then reindexes the object numbers of all the comments in the affected pages so that the merged comments are ordered by date.
Attachments
Issue Links
- blocks
-
XWIKI-8486 JavaScript errors when annotations are merged with comments
- Closed
- is duplicated by
-
WIKITHREEDOTO-77 Threaded Annotations
- Closed
- is related to
-
XWIKI-7663 Annotations shouldn't have a link on the annotated content in the Comment tab view
- Open
-
XWIKI-20958 Display an info that the annotation has been deleted for the orphaned replies in Comments tab
- Open
-
XWIKI-7673 Display how many replies are for a given annotation
- Open
- relates to
-
XWIKI-15478 Cannot Reply to Annotations from the Annotation tab
- Open
-
XWIKI-8036 Skip migration of annotations for custom mapped comments or custom annotation classes
- Closed