Feat: Add reviewers to summary metadata (#121)
This commit adds reviewers to the metadata panel of the Summary popup. Thank you Jakub Bortlik!
This commit is contained in:
@@ -146,6 +146,7 @@ require("gitlab").setup({
|
|||||||
"draft",
|
"draft",
|
||||||
"conflicts",
|
"conflicts",
|
||||||
"assignees",
|
"assignees",
|
||||||
|
"reviewers",
|
||||||
"branch",
|
"branch",
|
||||||
"pipeline",
|
"pipeline",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ M.build_info_lines = function()
|
|||||||
draft = { title = "Draft", content = (info.draft and "Yes" or "No") },
|
draft = { title = "Draft", content = (info.draft and "Yes" or "No") },
|
||||||
conflicts = { title = "Merge Conflicts", content = (info.has_conflicts and "Yes" or "No") },
|
conflicts = { title = "Merge Conflicts", content = (info.has_conflicts and "Yes" or "No") },
|
||||||
assignees = { title = "Assignees", content = u.make_readable_list(info.assignees, "name") },
|
assignees = { title = "Assignees", content = u.make_readable_list(info.assignees, "name") },
|
||||||
|
reviewers = { title = "Reviewers", content = u.make_readable_list(info.reviewers, "name") },
|
||||||
branch = { title = "Branch", content = info.source_branch },
|
branch = { title = "Branch", content = info.source_branch },
|
||||||
pipeline = {
|
pipeline = {
|
||||||
title = "Pipeline Status:",
|
title = "Pipeline Status:",
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ M.settings = {
|
|||||||
"draft",
|
"draft",
|
||||||
"conflicts",
|
"conflicts",
|
||||||
"assignees",
|
"assignees",
|
||||||
|
"reviewers",
|
||||||
"branch",
|
"branch",
|
||||||
"pipeline",
|
"pipeline",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user