-
Notifications
You must be signed in to change notification settings - Fork 156
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
Add discussion list support #643
Conversation
Thanks for adding support for discussions @wd60622 Do you want to merge this in before adding a discussion type of buffer? Im ok with showing the preview only and maybe opening it a browser on |
Thats my idea as well. i can break it down a bit more a create issues for it. Currently the <CR> copies the number to register. <C-y> works for url. I havent figured out the how to open discussion in browser just yet. Is that desired <CR> behavior? |
From a UX point of view, I think users may expect to "enter" the discussion when pressing CR. If we cant show it in a buffer for now, I think the behaviour that would make more sense is to open it in a browser. You can use https://github.com/pwntester/octo.nvim/blob/master/lua/octo/navigation.lua#L12-L23 for it |
Great. I will get to it when I can! |
Hi @pwntester, thank you for the review. I have added the open in browser functionality. Please take a look and see if it works on your end. I will begin to make some issues for the next steps. |
Works great, thanks! |
Ability to list discussions for a repository
Adds the
discussion list
commandRelated to #239