Review every new snapshot with an agent from the other vendor
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
"g.fc.run/misc/byre/internal/api"
|
||||
)
|
||||
|
||||
var priorities = []api.InboxItemPriority{api.Blocked, api.Gate, api.Review, api.Fyi}
|
||||
var priorities = []api.InboxItemPriority{api.Blocked, api.Gate, api.ReviewPriority, api.Fyi}
|
||||
|
||||
func priorityRank(p api.InboxItemPriority) int {
|
||||
for i, q := range priorities {
|
||||
@@ -357,6 +357,10 @@ func getItem(ctx context.Context, q querier, id string) (api.InboxItem, error) {
|
||||
}
|
||||
|
||||
item.Responses, err = getResponses(ctx, q, id)
|
||||
if err != nil {
|
||||
return item, err
|
||||
}
|
||||
item.Reviews, err = questionReviews(ctx, q, item)
|
||||
return item, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user