You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,6 +135,21 @@ require("gitlab").setup({
135
135
resolved='✓', -- Symbol to show next to resolved discussions
136
136
unresolved='✖', -- Symbol to show next to unresolved discussions
137
137
},
138
+
info= { -- Show additional fields in the summary pane
139
+
enabled=true,
140
+
horizontal=false, -- Display metadata to the left of the summary rather than underneath
141
+
fields= { -- The fields listed here will be displayed, in whatever order you choose
142
+
"author",
143
+
"created_at",
144
+
"updated_at",
145
+
"merge_status",
146
+
"draft",
147
+
"conflicts",
148
+
"assignees",
149
+
"branch",
150
+
"pipeline",
151
+
},
152
+
},
138
153
discussion_sign_and_diagnostic= {
139
154
skip_resolved_discussion=false,
140
155
skip_old_revision_discussion=true,
@@ -206,6 +221,8 @@ require("gitlab").summary()
206
221
207
222
After editing the description or title, you may save your changes via the `settings.popup.perform_action` keybinding.
208
223
224
+
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.
225
+
209
226
### Reviewing Diffs
210
227
211
228
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.
0 commit comments