This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
[wip] Allow comment margin to appear on editable diff view #2239
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does
Previously the comment margin would only appear on pull request files that are open in a "full" editor window. This pull request allows the comment margin to also appear on editable diff windows.
How to test
Check
Show PR comments in editor margin
feature flag optionOpen a pull request and checkout its branch
Right-click on a pull request file and
View Changes in Solution
Toggle the check-box in the margin
Click comment glyph in margin to view comment
Observations
This functionality wasn't ready for prime time and has remained behind a feature flag.
What didn't work well
What worked well
Possible future work