stable

Clone or download

Read-only

feat: Toggle a reply-to-comment form

story #29240 reply to pull request comment How to test: - In the timeline and the file-diff view, click the [Reply] button --> The form is toggled --> The commenter's avatar is displayed --> The textarea has the focus - Click on [Cancel] --> The form is hidden Change-Id: I2f2503fdde9b1972a554292876f1e6e163ac943b

Modified Files

Name
M plugins/pullrequest/include/PullRequest/PullRequestPresenter.php +2 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/app-controller.js +1 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestComment.ts +32 −10 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentController.test.ts +55 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentController.ts +39 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentFooterTemplate.test.ts +18 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentFooterTemplate.ts +7 −1 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentReplyFormFocusHelper.ts +32 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentReplyFormTemplate.test.ts +80 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentReplyFormTemplate.ts +80 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/comments/pullrequest-current-user-presenter-builder.test.ts +29 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/comments/pullrequest-current-user-presenter-builder.ts +24 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/codemirror-helper-service.js +4 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/gettext-catalog.ts +3 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/overview/timeline/timeline-controller.js +4 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/overview/timeline/timeline.tpl.html +2 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/shared-properties/shared-properties-service.js +11 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/tests/stubs/BuildCurrentPullRequestUserPresenterStub.ts +26 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/tests/stubs/FocusTextReplyToCommentAreaStub.ts +24 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/tests/stubs/PullRequestCommentControllerStub.ts +25 −0 Go to diff View file
M plugins/pullrequest/templates/angular-pullrequest.mustache +1 −0 Go to diff View file
M plugins/pullrequest/themes/includes/_file-diff.scss +1 −1 Go to diff View file
M plugins/pullrequest/themes/includes/_timeline.scss +1 −1 Go to diff View file
M plugins/pullrequest/themes/includes/_tuleap-pullrequest-comment.scss +29 −0 Go to diff View file