-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Show notes on lab issue
and lab mr
#207
Comments
Any suggestions on how this should work/look? That's been a bit of a hangup for me. I know for MRs, I want to find a way to show them in |
I put together some notes to try to move this forward. Sorry, this is kind of long! GitLab makes a distinction between notes and discussions, which are notes in a thread. If you query the API for notes, you get them all (notes & discussions) individually, w/o threading. If you query for discussions, you get them all (notes & discussions) with threading. Personally, I've never used discussions, but I'm assuming that they should be taken into account.
GitLab API docs
Example API OutputAPI Notes:
Example results from an issue containing notes and discussions: https://gitlab.com/claytonrcarter/test/issues/2 (I "... truncated ..." duplicate or extra info for brevity)
Example of Hub outputHub shows comments as markdown sections: (e.g., for this issue)
Proposed outputJust to get the conversation started, here is some example output with some proposed formatting. My suggestions:
Possible example (from https://gitlab.com/zaquestion/lab/issues/40):
Possible example (from https://gitlab.com/claytonrcarter/test/issues/2) :
|
Feature added in MR #256 |
Thank you @zaquestion for your wonderful program !
lab issue
andlab mr
could show existing notes/comment.See also #68.
The text was updated successfully, but these errors were encountered: