stable

Clone or download

Read-only

refactor: Option.fromNullable in TypeScript

No functional change in the display of "Last edition date" of comments. It is still shown both in the Changes tab (diff) and in the overview tab. Notes: Introduce Option.fromNullable() to simplify/deduplicate conditions involving `null` or `undefined` when creating options. part of story #32316 Update comments Change-Id: I3177d09cd8f9777293cdbe10b88a3bd2a2ef0c32

Modified Files

Name
M lib/frontend/option/README.md +10 −0 Go to diff View file
M lib/frontend/option/src/Option.test-d.ts +17 −0 Go to diff View file
M lib/frontend/option/src/Option.test.ts +12 −0 Go to diff View file
M lib/frontend/option/src/Option.ts +4 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentPresenter.ts +1 −9 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/CommentPresenterBuilder.ts +1 −5 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentPresenterBuilder.ts +1 −3 Go to diff View file
M src/common/Option/README.md +1 −0 Go to diff View file