Function | build_comments_from_chunks | Build BugComments from MessageChunks. |
Function | group_comments_with_activity | Group comments and activity together for human consumption. |
Class | BugComment | Data structure that holds all data pertaining to a bug comment. |
Class | BugCommentView | View for a single bug comment. |
Class | BugCommentBoxViewMixin | A class which provides proxied Librarian URLs for bug attachments. |
Class | BugCommentBoxView | Render a comment box with reply field collapsed. |
Class | BugCommentBoxExpandedReplyView | Render a comment box with reply field expanded. |
Class | BugCommentXHTMLRepresentation | No class docstring; 1/2 methods documented |
Class | BugCommentBreadcrumb | Breadcrumb for an IBugComment . |
Parameters | truncate | Perform truncation of large messages. |
slice_info | If not None, an iterable of slices to retrieve. |
Group comments and activity together for human consumption. Generates a stream of comment instances (with the activity grouped within) or `list`s of grouped activities. :param comments: An iterable of `BugComment` instances, which should be sorted by index already. :param activities: An iterable of `BugActivity` instances.