Skip to content

Cannot publish draft notes when there are local changes #514

@jakubbortlik

Description

@jakubbortlik

Prerequsities

  • I'm on the latest version of the plugin
  • I've installed the required dependencies
  • I've run :h gitlab.nvim.troubleshooting and followed the steps there

Bug Description

Local changes that haven't been pushed to remote block publishing drafts even if they are for note-related threads. For simple comments this is a way of protecting the user from publishing comments on outdated code. However, with notes (i.e., unlinked discussions), this check is superfluous. The problem is that the check for publishing of comment and note drafts probably cannot be separated.

Reproduction Steps

  1. Check out the feature branch
  2. Open Neovim
  3. Create a draft note
  4. Make some local changes to the repo
  5. Try publishing the draft note

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions