Skip to content

Update the "Request Changes" and "Approve" buttons alignment#1350

Merged
RMacfarlane merged 1 commit intomicrosoft:masterfrom
guilherme-gm:realign-description-buttons
Oct 7, 2019
Merged

Update the "Request Changes" and "Approve" buttons alignment#1350
RMacfarlane merged 1 commit intomicrosoft:masterfrom
guilherme-gm:realign-description-buttons

Conversation

@guilherme-gm
Copy link
Contributor

@guilherme-gm guilherme-gm commented Oct 2, 2019

This Pull Request updates the style of the PR Description page to move the Request Changes and Approve buttons to the right side, near the Comment button. This way, those related functionalities are grouped together and far from the Close Pull Request button.

Related Issues: #297

Preview:
image

image

@RMacfarlane
Copy link
Contributor

Thanks @guilherme-gm! There's another place where buttons are put in a form-actions class, when you have a pending review:
Screen Shot 2019-10-02 at 4 01 03 PM

Can you make sure all the buttons get right aligned in this case? Code is here:
https://github.com/microsoft/vscode-pull-request-github/blob/master/preview-src/timeline.tsx#L128

…ht side, near the "Comment" button, in the Pull Request description page as they are related.
@guilherme-gm
Copy link
Contributor Author

Oops, I didn't notce form-actions were used in so many places. I've updated my PR to use more specific selectors and cover those 2 cases. (Images in PR description updated). Thanks @RMacfarlane!

Copy link
Contributor

@RMacfarlane RMacfarlane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks great!

@RMacfarlane RMacfarlane merged commit f644620 into microsoft:master Oct 7, 2019
@alexr00 alexr00 mentioned this pull request Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants