-
Notifications
You must be signed in to change notification settings - Fork 183
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
Feature/cross language API revision context #7849
Feature/cross language API revision context #7849
Conversation
Show menu for loading cross language view Show menu for loading cross language view Experiments in CrossLanguage APIView Cross Language View POC Show Cross Language Panel Fix Misc Issues More work on Cross Language View Remove Stale Code Add Custom Model Binder Add Language Customizations Implement Cross Language View in Context Updates to Comment for Cross Language
{ | ||
var correspondingReviewId = await _apiRevisionsManager.GetReviewIdsOfLanguageCorrespondingReviewAsync(ReviewContent.ActiveAPIRevision.Files.First().CrossLanguagePackageId); | ||
var correspondingReviews = await _reviewManager.GetReviewsAsync(reviewIds: correspondingReviewId, isClosed: false); | ||
foreach (var review in correspondingReviews) |
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.
Will those cause perf issue when loading all related reviews? This looks like caching all related review contents. right?
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.
Potentially. But for regular sized reviews that I have tested it is performing fine.
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.
Looks fine except the question about a performance when loading a review.
63e74a5
to
ffb347f
Compare
resolves https://github.com/orgs/Azure/projects/197/views/14?pane=issue&itemId=9565805