-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Winbar Support + Notes and Discussions; Help Popup + Auto-Open #133
Conversation
Hi, @harrisoncramer a lot of good stuff has been added in this MR! Here are some notes from trying it out. Though, I've only tried it out with a dummy MR, I'll see how it works when I try it at work.
This is fixed after toggling the
This seems like I have a lot of issues with your plugin, so I would like to stress that I am very grateful for your work! Having a customizable UI for Gitlab merge requests inside nvim is such a great thing! I would like to help more making it even better if I could, even if my ability to write Lua code is limited. I believe I could do small stuff like adding |
Thank you for all the helpful feedback!
I've pushed up all these changes to this branch, I'll be using this branch for a few days as well and unless I notice any more issues I'll merge this in this week. This is probably going to be a minor version bump because it changes the default behavior of the plugin slightly. configured-winbar.mov |
Hi, @harrisoncramer thanks for the quick update! It all looks very good. I'll be testing it this week with actual MRs. I've created one small cosmetic PR based on the |
lua/gitlab/state.lua
Outdated
and string.format("Notes (%d/%d)", t.resolved_notes, t.resolvable_notes) | ||
or "Notes" | ||
|
||
print(t.name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this print
call intentional or a leftover from development?
I've encountered a bug with the
|
…Help popup (#137) Co-authored-by: Jakub Bortlík <[email protected]>
Thank you, fixed. Will not attempt to redraw the winbar when the split is closed; also merged in your changes. |
Thanks. And sorry for that typo ("creape_popup_state"), I wonder why on earth I changed that word... |
This MR changes the discussion view to have two different "tabs" that the user can switch between, one that contains notes and one that contains discussions.
The split will automatically open when the user opens the reviewer. The MR also splits apart the discussions module further by breaking diagnostics into their own module; adds a "help" popup for users to be able to see the local keybindings for the different parts of the plugin.