stable

Clone or download

Read-only

Open error modal when error occurres while saving a reply

part of story #31091 Add the hybrid comment to manage comments Note: - The error callback has only been implemented in the pullrequest-overview app How to test: - Add a RestException in PullRequestsResource on line 713 - Submit a reply to a comment in the timeline --> The error modal opens and the error is displayed when the [Show details] button is clicked Change-Id: I82059feeb1d75e46ab1d224b3c659e23dc6e73e0

Modified Files

Name
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentController.test.ts +35 −12 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentController.ts +9 −2 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/tests/stubs/SaveNewCommentStub.ts +6 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewThreads.vue +2 −1 Go to diff View file