comments: multiple changes on comments navigation/display logic

- toggle are smarter, they open/hide windows accorind to actions. E.g commenting opens threads
- toggle are mor explicit
- possible to hide/show only single threads
- when channelstream is enabled comments are now live-pushed to diff with NEW marker indicator
- new UI for showing thread comments
This commit is contained in:
Milka Kuzminski 2020-10-27 10:05:00 +01:00
parent dc29bb13b7
commit 1ebb2411e9
20 changed files with 718 additions and 412 deletions

View file

@ -846,6 +846,7 @@ versionController.init();
reviewersController = new ReviewersController();
commitsController = new CommitsController();
commentsController = new CommentsController();
updateController = new UpdatePrController();
@ -1002,6 +1003,8 @@ $(document).ready(function () {
alert('okok !' + commentIds)
}
// register globally so inject comment logic can re-use it.
window.commentsController = commentsController;
})
</script>