Feat: Adds More Information to Summary Panel (#100)
This MR adds more information into the summary view, including the MR author, created at date, merge status, draft status, conflicts, and pipeline status, among other things. This is configurable via the setup function.
This commit is contained in:
committed by
GitHub
parent
88b9196a2e
commit
c4a3229f16
17
README.md
17
README.md
@@ -135,6 +135,21 @@ require("gitlab").setup({
|
||||
resolved = '✓', -- Symbol to show next to resolved discussions
|
||||
unresolved = '✖', -- Symbol to show next to unresolved discussions
|
||||
},
|
||||
info = { -- Show additional fields in the summary pane
|
||||
enabled = true,
|
||||
horizontal = false, -- Display metadata to the left of the summary rather than underneath
|
||||
fields = { -- The fields listed here will be displayed, in whatever order you choose
|
||||
"author",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"merge_status",
|
||||
"draft",
|
||||
"conflicts",
|
||||
"assignees",
|
||||
"branch",
|
||||
"pipeline",
|
||||
},
|
||||
},
|
||||
discussion_sign_and_diagnostic = {
|
||||
skip_resolved_discussion = false,
|
||||
skip_old_revision_discussion = true,
|
||||
@@ -206,6 +221,8 @@ require("gitlab").summary()
|
||||
|
||||
After editing the description or title, you may save your changes via the `settings.popup.perform_action` keybinding.
|
||||
|
||||
By default this plugin will also show additional metadata about the MR in a separate pane underneath the description. This can be disabled, and these fields can be reordered or removed. Please see the `settings.info` section of the configuration.
|
||||
|
||||
### Reviewing Diffs
|
||||
|
||||
The `review` action will open a diff of the changes. You can leave comments using the `create_comment` action. In visual mode, add multiline comments with the `create_multiline_comment` command, and add suggested changes with the `create_comment_suggestion` command.
|
||||
|
||||
Reference in New Issue
Block a user