Improve the comment on comment type (#14609)

mj-v1.14.3
Lunny Xiao 3 years ago committed by GitHub
parent f82b1dd7c3
commit c0c59a4c99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,68 +36,68 @@ const (
// Enumerate all the comment types // Enumerate all the comment types
const ( const (
// Plain comment, can be associated with a commit (CommitID > 0) and a line (LineNum > 0) // 0 Plain comment, can be associated with a commit (CommitID > 0) and a line (LineNum > 0)
CommentTypeComment CommentType = iota CommentTypeComment CommentType = iota
CommentTypeReopen CommentTypeReopen // 1
CommentTypeClose CommentTypeClose // 2
// References. // 3 References.
CommentTypeIssueRef CommentTypeIssueRef
// Reference from a commit (not part of a pull request) // 4 Reference from a commit (not part of a pull request)
CommentTypeCommitRef CommentTypeCommitRef
// Reference from a comment // 5 Reference from a comment
CommentTypeCommentRef CommentTypeCommentRef
// Reference from a pull request // 6 Reference from a pull request
CommentTypePullRef CommentTypePullRef
// Labels changed // 7 Labels changed
CommentTypeLabel CommentTypeLabel
// Milestone changed // 8 Milestone changed
CommentTypeMilestone CommentTypeMilestone
// Assignees changed // 9 Assignees changed
CommentTypeAssignees CommentTypeAssignees
// Change Title // 10 Change Title
CommentTypeChangeTitle CommentTypeChangeTitle
// Delete Branch // 11 Delete Branch
CommentTypeDeleteBranch CommentTypeDeleteBranch
// Start a stopwatch for time tracking // 12 Start a stopwatch for time tracking
CommentTypeStartTracking CommentTypeStartTracking
// Stop a stopwatch for time tracking // 13 Stop a stopwatch for time tracking
CommentTypeStopTracking CommentTypeStopTracking
// Add time manual for time tracking // 14 Add time manual for time tracking
CommentTypeAddTimeManual CommentTypeAddTimeManual
// Cancel a stopwatch for time tracking // 15 Cancel a stopwatch for time tracking
CommentTypeCancelTracking CommentTypeCancelTracking
// Added a due date // 16 Added a due date
CommentTypeAddedDeadline CommentTypeAddedDeadline
// Modified the due date // 17 Modified the due date
CommentTypeModifiedDeadline CommentTypeModifiedDeadline
// Removed a due date // 18 Removed a due date
CommentTypeRemovedDeadline CommentTypeRemovedDeadline
// Dependency added // 19 Dependency added
CommentTypeAddDependency CommentTypeAddDependency
//Dependency removed // 20 Dependency removed
CommentTypeRemoveDependency CommentTypeRemoveDependency
// Comment a line of code // 21 Comment a line of code
CommentTypeCode CommentTypeCode
// Reviews a pull request by giving general feedback // 22 Reviews a pull request by giving general feedback
CommentTypeReview CommentTypeReview
// Lock an issue, giving only collaborators access // 23 Lock an issue, giving only collaborators access
CommentTypeLock CommentTypeLock
// Unlocks a previously locked issue // 24 Unlocks a previously locked issue
CommentTypeUnlock CommentTypeUnlock
// Change pull request's target branch // 25 Change pull request's target branch
CommentTypeChangeTargetBranch CommentTypeChangeTargetBranch
// Delete time manual for time tracking // 26 Delete time manual for time tracking
CommentTypeDeleteTimeManual CommentTypeDeleteTimeManual
// add or remove Request from one // 27 add or remove Request from one
CommentTypeReviewRequest CommentTypeReviewRequest
// merge pull request // 28 merge pull request
CommentTypeMergePull CommentTypeMergePull
// push to PR head branch // 29 push to PR head branch
CommentTypePullPush CommentTypePullPush
// Project changed // 30 Project changed
CommentTypeProject CommentTypeProject
// Project board changed // 31 Project board changed
CommentTypeProjectBoard CommentTypeProjectBoard
) )

Loading…
Cancel
Save