stable

Clone or download

Read-only

Remove angular moment in pullrequest app

part of story #29228 Replace the current management of comments by a WebComponent in Overview and Changes view. - Dates are now displayed with tlp-relative-date everywhere in pull request app - anular-moment is no longer a needed dependency Change-Id: Ied87eb037344318fedb2131eb02fb2bfad7fc8eb

Modified Files

Name
M plugins/pullrequest/include/PullRequest/PullRequestPresenter.php +8 −1 Go to diff View file
M plugins/pullrequest/include/PullrequestDisplayer.php +7 −34 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/package.json +3 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/pnpm-lock.yaml +6 −9 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/po/fr_FR.po +6 −18 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/app-controller.js +7 −10 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/app.js +0 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestComment.test.ts +7 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestComment.ts +4 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentBodyTemplate.test.ts +8 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentBodyTemplate.ts +13 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/pullrequest-comment-presenter-builder.test.ts +12 −16 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/pullrequest-comment-presenter-builder.ts +2 −7 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/commits/commits-controller.js +7 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/commits/commits.tpl.html +11 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/pull-request-summary-controller.js +20 −3 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/pull-request-summary.tpl.html +11 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/codemirror-helper-service.js +10 −6 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/file-diff-component.js +3 −3 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/helpers/date-helpers.ts +41 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/overview/overview-controller.js +6 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/overview/overview.tpl.html +48 −4 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/overview/timeline/timeline-controller.js +7 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/overview/timeline/timeline-service.js +14 −4 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/overview/timeline/timeline.tpl.html +1 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/shared-properties/shared-properties-service.js +33 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/tests/stubs/RelativeDateHelperStub.ts +25 −0 Go to diff View file
M plugins/pullrequest/templates/angular-pullrequest.mustache +1 −0 Go to diff View file