stable

Clone or download

Read-only

feat: Display last edition date

part of story #32316 Update comments How to test: - When you update a comment --> It's last edition date is displayed --> It respects the user relative dates display preferencies Change-Id: If09e3b919f53982c33ec77de455bd3a71614ea31

Modified Files

Name
M plugins/pullrequest/scripts/lib/pullrequest-comments/package.json +1 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/pnpm-lock.yaml +3 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/po/fr_FR.po +3 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentBodyTemplate.ts +2 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentController.test.ts +2 −4 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentPresenter.test.ts +66 −18 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentPresenter.ts +18 −2 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/comment-reply/PullRequestCommentReplyTemplate.ts +2 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/edition/EditedCommentSaver.ts +7 −9 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/edition/EditionFormController.test.ts +16 −8 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/description-comment/PullRequestDescriptionContentTemplate.ts +3 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/new-comment-form/NewReplySaver.test.ts +2 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/templates/CommentHeaderTemplate.test.ts +85 −18 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/templates/CommentHeaderTemplate.ts +41 −13 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/timeline-event/TimelineEvent.ts +3 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/tests/stubs/PullRequestCommentPresenterStub.ts +6 −4 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/tests/stubs/SaveEditedCommentStub.ts +5 −5 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/themes/includes/_comment.scss +7 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/rest-api-types/src/main.ts +1 −0 Go to diff View file
A plugins/pullrequest/scripts/lib/rest-api-types/src/patch-comments.ts +30 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/rest-api-types/src/post-comments.ts +1 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/rest-api-types/src/timeline.ts +1 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/package.json +1 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/pnpm-lock.yaml +3 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/CommentPresenterBuilder.test.ts +42 −32 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/CommentPresenterBuilder.ts +6 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/package.json +1 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/pnpm-lock.yaml +3 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentPresenterBuilder.test.ts +3 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentPresenterBuilder.ts +4 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/widgets/SideBySideCodeMirrorWidgetCreator.test.ts +2 −4 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/tests/stubs/PullRequestCommentPresenterStub.ts +2 −1 Go to diff View file