Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upPull Request conversation view #2017
Conversation
grokys
added some commits
Oct 26, 2018
This comment has been minimized.
This comment has been minimized.
codecov
bot
commented
Oct 31, 2018
•
grokys
added some commits
Nov 1, 2018
This comment has been minimized.
This comment has been minimized.
|
I'm excited so see this going in! Workflow wise, now I have the option to view using I'd almost be inclined to replace the For some reason I keep heading to the Having links to individual commits is great! Could we make the text clickable as well, like on dotcom? Once nice thing is, once you've drilled down to a file diff, you have to option to I wonder how difficult would be to leverage a read-only Visual Studio editor component for syntax highlighting? Is markdig easily customization like this? Maybe @jaredpar would give us a sanity check/tips on how to create a read-only editor component like this? It would be nice if we could get links wired up to the I think this kind of integration is where we can add value when viewing PRs/issues inside Visual Studio. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
jaredpar
commented
Nov 3, 2018
Not quite sure what you were looking for advice on here. Could you elaborate? |
This comment has been minimized.
This comment has been minimized.
I remembered you wrote the https://github.com/jaredpar/EditorUtils library for hosting the Visual Studio editor outside of VS. What I'm wondering about here is a potentially simpler scenario (hosting it inside VS). At the moment we're using Markdig for rendering .md content inside Visual Studio. Unfortunately it doesn't have built in syntax highlighting. I was wondering how feasible it would be to create a read-only WPF editor control with syntax highlighting, that corresponds to a markdown code block? We could then render any code blocks in pull request/issue in a similar way to Visual Studio. The highlighting and color themes would be the same as Visual Studio so it wouldn't look out of place. Is this realistic or do you think there are performance/complexity issues that are likely to bite us? |
grokys
added some commits
Nov 5, 2018
This comment has been minimized.
This comment has been minimized.
jaredpar
commented
Nov 5, 2018
Yes that is feasible. Within VS the editor is just there. You can grab all of the factory interfaces from the MEF container and just create the |
grokys
added some commits
Nov 8, 2018
meaghanlewis
referenced this pull request
Nov 13, 2018
Closed
Development Sprint: December 10th release #2052
grokys
and others
added some commits
Nov 14, 2018
This comment has been minimized.
This comment has been minimized.
|
@meaghanlewis yes, this is definitely a feature we should have! I did look into implementing it a while ago, but never finished it. It would involve writing a markdig extension, which shouldn't be too difficult; would just require the time to be allocated to it. |
This comment has been minimized.
This comment has been minimized.
Floating this idea: If I click on a link, I'd mostly expect the page that the action took place to update instead of something on the side. However, I probably expect that since the page itself looks and feels like closer to a webpage. We could consider doing both: navigate the conversation view to the corresponding pull request and also navigate the GitHub panel to show the details view with relevant information to the PR. There are a few risks that I anticipate (which we would want to consider validating with some folks):
I am leaning towards navigating both the conversation page and the GitHub panel to the pull request, but I'm open to feedback in case I'm missing something. |
This comment has been minimized.
This comment has been minimized.
|
@donokuda I've been thinking about how I use the current How about rather than replacing or combining the I link showing the number of comments gives people an incentive and invites them to click. It would also be clear that clicking on the comment link would show those comments. I think we've always been pretty explicit about when a command will open an external browser (for both menus and links). I'd be hesitant to introduce a command that both opens an external browser and does an action inside Visual Studio. In fact we should have a common command/keyboard shortcut to |
This comment has been minimized.
This comment has been minimized.
|
@jcansdale My only concern is if the text isn't blue (like the links around it), then folks might assume they cannot interact with it (and that it's only informational.) Would you be open to making it a blue link? |
This comment has been minimized.
This comment has been minimized.
Absolutely! The main thing was the comment icon/number of comments. I copy/pasted from dotcom. |
meaghanlewis
added this to the 2.8.0 milestone
Feb 12, 2019
This comment has been minimized.
This comment has been minimized.
Is this the link you're referring to above? I'd expect the |
donokuda
and others
added some commits
Feb 13, 2019
StanleyGoldman
dismissed
their
stale review
Feb 20, 2019
Fixed
jcansdale
approved these changes
Feb 21, 2019
|
Tested on 2015, 2017 and 2019. Let's |










grokys commentedOct 30, 2018
•
edited
Work in progress for attn of @donokuda.
To show the conversation view, right-click on an item in the PR list and select "Open Conversation" (note: this is just a temporary method to open the view, see Open Questions below)Progress so far
Open Questions