-
Notifications
You must be signed in to change notification settings - Fork 593
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
Ensure re-request-review
command is handled in activityBarViewProvider
#4540
Ensure re-request-review
command is handled in activityBarViewProvider
#4540
Conversation
@@ -113,6 +115,18 @@ export class PullRequestViewProvider extends WebviewViewBase implements vscode.W | |||
} | |||
} | |||
|
|||
private reRequestReview(message: IRequestMessage<string>): void { |
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.
Copied verbatim from
private reRequestReview(message: IRequestMessage<string>): void { |
Would you like me to have a look at unifying any duplicated handlers?
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's likely a lot of duplication between these two files. I'll take it as a debt item to clean them up.
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.
Thank you for the fix!
@@ -113,6 +115,18 @@ export class PullRequestViewProvider extends WebviewViewBase implements vscode.W | |||
} | |||
} | |||
|
|||
private reRequestReview(message: IRequestMessage<string>): void { |
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's likely a lot of duplication between these two files. I'll take it as a debt item to clean them up.
Whilst working on #4539 I noticed that this command wasn't handled for this view. This change reveals a bit of layout shift after the user clicks the button. I'm happy to take a look at that this week :)
Before
old-click.mp4
After
new-click.mp4