Feat: View + Manage Pipeline (#53)

This MR adds the `.pipeline()` command which opens up the pipeline popup. This popup shows information about the current pipeline and it's jobs, and gives users the ability to re-trigger failed jobs.
This commit is contained in:
Harrison (Harry) Cramer
2023-09-03 18:01:54 -04:00
committed by GitHub
parent 4c6dcacfcd
commit e6e0bf4093
15 changed files with 267 additions and 8 deletions

View File

@@ -290,10 +290,8 @@ M.rebuild_unlinked_discussion_tree = function()
end
M.switch_can_edit_bufs = function(bool)
vim.api.nvim_buf_set_option(M.unlinked_section_bufnr, 'modifiable', bool)
vim.api.nvim_buf_set_option(M.unlinked_section_bufnr, "readonly", not bool)
vim.api.nvim_buf_set_option(M.linked_section_bufnr, 'modifiable', bool)
vim.api.nvim_buf_set_option(M.linked_section_bufnr, "readonly", not bool)
u.switch_can_edit_buf(M.unlinked_section_bufnr, bool)
u.switch_can_edit_buf(M.linked_section_bufnr, bool)
end
M.add_discussion = function(arg)