Handle Team Reviews #515
No reviewers
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#515
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "6543/tea:handle_team-reviews"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
at the moment we crash with an nil exeption if there exist team reviews
this fix it and add support to display them
to test
use old tea and exec:
tea pr 515
against this pullthen test with patched version :)
@ -19,6 +19,8 @@ var ciStatusSymbols = map[gitea.StatusState]string{
gitea.StatusFailure: "❌ ",
}
const teamSymbol = "???"
if there is a better icon please tell :)
@ -19,6 +19,8 @@ var ciStatusSymbols = map[gitea.StatusState]string{
gitea.StatusFailure: "❌ ",
}
const teamSymbol = "???"
:D I'd leave that out, @foo/bar clearly identifies this as a team already.
It doesn't render in my terminals anyway
rm'ed
#515 (comment)
screenshot updated ;)
@ -108,0 +109,4 @@
}
} else if review.ReviewerTeam != nil {
if r, ok := reviewByUserOrTeam[review.ReviewerTeam.Name]; !ok || review.Submitted.After(r.Submitted) {
reviewByUserOrTeam[review.ReviewerTeam.Name] = review
What if the team name conflicts with user name?
@wxiaoguang done