Open spratt opened 12 years ago
We should display the first few users who have commented on a line. The more information we can put into these summaries, the better.
We need to provide support for just loading the comment counts first. If we do that, I'll assume we're also loading with each comment number something called "preview" which previews some info. E.G.
[{"line":"3","count":"4","preview":"John: I don't know..."},{"line":"17","count":"2","preview":"Steve: I do know..."}]
Since we'd just be getting do/commentInfo, the preview part can be dynamically filled in with whatever (though caching this would obviously be faster).
Looks good, I'll implement this on the back end and let you know.
In the comment area on the right of the page, we should display a summary of the comments on that line. The summary should be something like a button or a box that can be clicked on to expand the full comments.