-
Couldn't load subscription status.
- Fork 1.2k
Add metrics for inline comments #1107
Conversation
Not yet used.
Previously `InlineCommentThreadViewModel` and `NewInlineCommentThreadViewModel` posted comments directly to `IApiClient` and then notified the `PullRequestSession` of the added comment. Simplified this by adding the functionality to post review comments to `PullRequestSession`.
41b204a to
8927658
Compare
| return null; | ||
| } | ||
|
|
||
| /// <inheritdoc/> |
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.
Should these methods be added as part of this PR or have they snuck in from somewhere else?
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.
They're part of the PR - I had to move things around a bit in order to be able to get hold of an IUsageTracker at the right place.
| } | ||
|
|
||
| /// <inheritdoc/> | ||
| public async Task<IPullRequestReviewCommentModel> PostReviewComment( |
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.
More new methods. This this PR depend on some other PR that hasn't been merged yet?
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.
There seems to be some non-metrics related stuff in this PR. Has this snuck in from some other PR?
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.
Let's do this!
This PR adds the following metrics:
NumberOfPRDetailsViewChangesNumberOfPRDetailsViewFileNumberOfPRDetailsCompareWithSolutionNumberOfPRDetailsOpenFileInSolutionNumberOfPRReviewDiffViewInlineCommentOpenNumberOfPRReviewDiffViewInlineCommentPostDepends on #1036