@@ -62,7 +62,7 @@ interface ICommentThreadTemplateData {
62
62
timestamp : TimestampWidget ;
63
63
separator : HTMLElement ;
64
64
commentPreview : HTMLSpanElement ;
65
- range : HTMLSpanElement ;
65
+ range : HTMLElement ;
66
66
} ;
67
67
repliesMetadata : {
68
68
container : HTMLElement ;
@@ -193,14 +193,25 @@ export class CommentNodeRenderer implements IListRenderer<ITreeNode<CommentNode>
193
193
const threadContainer = dom . append ( container , dom . $ ( '.comment-thread-container' ) ) ;
194
194
const metadataContainer = dom . append ( threadContainer , dom . $ ( '.comment-metadata-container' ) ) ;
195
195
const metadata = dom . append ( metadataContainer , dom . $ ( '.comment-metadata' ) ) ;
196
+
197
+ const icon = dom . append ( metadata , dom . $ ( '.icon' ) ) ;
198
+ const userNames = dom . append ( metadata , dom . $ ( '.user' ) ) ;
199
+ const timestamp = new TimestampWidget ( this . configurationService , this . hoverService , dom . append ( metadata , dom . $ ( '.timestamp-container' ) ) ) ;
200
+ const relevance = dom . append ( metadata , dom . $ ( '.relevance' ) ) ;
201
+ const separator = dom . append ( metadata , dom . $ ( '.separator' ) ) ;
202
+ const commentPreview = dom . append ( metadata , dom . $ ( '.text' ) ) ;
203
+ const rangeContainer = dom . append ( metadata , dom . $ ( '.range' ) ) ;
204
+ const range = dom . $ ( 'p' ) ;
205
+ rangeContainer . appendChild ( range ) ;
206
+
196
207
const threadMetadata = {
197
- icon : dom . append ( metadata , dom . $ ( '.icon' ) ) ,
198
- userNames : dom . append ( metadata , dom . $ ( '.user' ) ) ,
199
- timestamp : new TimestampWidget ( this . configurationService , this . hoverService , dom . append ( metadata , dom . $ ( '.timestamp-container' ) ) ) ,
200
- relevance : dom . append ( metadata , dom . $ ( '.relevance' ) ) ,
201
- separator : dom . append ( metadata , dom . $ ( '.separator' ) ) ,
202
- commentPreview : dom . append ( metadata , dom . $ ( '.text' ) ) ,
203
- range : dom . append ( metadata , dom . $ ( '.range' ) )
208
+ icon,
209
+ userNames,
210
+ timestamp,
211
+ relevance,
212
+ separator,
213
+ commentPreview,
214
+ range
204
215
} ;
205
216
threadMetadata . separator . innerText = '\u00b7' ;
206
217
0 commit comments