Feat: Add target branch to details panel (#160)
This is a PATCH release, it adds the target branch to the details panel in the summary view.
This commit is contained in:
committed by
GitHub
parent
50e06ceff6
commit
ed3a90cf00
@@ -187,6 +187,7 @@ you call this function with no values the defaults will be used:
|
|||||||
"assignees",
|
"assignees",
|
||||||
"reviewers",
|
"reviewers",
|
||||||
"branch",
|
"branch",
|
||||||
|
"target_branch",
|
||||||
"pipeline",
|
"pipeline",
|
||||||
"labels",
|
"labels",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -131,6 +131,7 @@ M.build_info_lines = function()
|
|||||||
reviewers = { title = "Reviewers", content = u.make_readable_list(info.reviewers, "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 },
|
||||||
labels = { title = "Labels", content = u.make_comma_separated_readable(info.labels) },
|
labels = { title = "Labels", content = u.make_comma_separated_readable(info.labels) },
|
||||||
|
target_branch = { title = "Target Branch", content = state.INFO.target_branch },
|
||||||
pipeline = {
|
pipeline = {
|
||||||
title = "Pipeline Status",
|
title = "Pipeline Status",
|
||||||
content = function()
|
content = function()
|
||||||
|
|||||||
@@ -88,8 +88,9 @@ M.settings = {
|
|||||||
"conflicts",
|
"conflicts",
|
||||||
"assignees",
|
"assignees",
|
||||||
"reviewers",
|
"reviewers",
|
||||||
"branch",
|
|
||||||
"pipeline",
|
"pipeline",
|
||||||
|
"branch",
|
||||||
|
"target_branch",
|
||||||
"labels",
|
"labels",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user