-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Update: Post publish buttons and alignment. #22390
Update: Post publish buttons and alignment. #22390
Conversation
Updating the post publish panel buttons to match the designs proposed on WordPress#19175
Great work @juanfra ! |
Thank you both for taking the time to look at this! It seems that the gif I initially posted was too heavy for GitHub, sorry for that. I'm adding a new one now. With regards to the alignment, great catch! that was the original padding for the panel header. Adjusted that to have the same as the other elements of the panel. |
Looks good to me now 👍 |
An update. |
Thanks @paaljoachim! Started checking the code of the project a couple weeks ago and I'm excited to contribute if possible. Yes, at first I wasn't aware of the e2e tests so I only ran the basic Then, once the PR was in place and I saw the results from travis I found out there were more. But, as the failing tests are part of the experiments folder, related to full site editing and multi entity saving I thought they weren't related to my changes (But I haven't had the time to check the entire codebase to see if the saving panel for the editor is being used elsewhere). So Today I had a free hour and I tried to debug a bit further, but when I run e2e tests locally, there are a ton failing. So I guess I'm probably missing something. Any recommendations @draganescu? |
Update: Used some time from my free hour to check this out, and it should be good to go now. Thank you both! |
Nice work. The new buttons look really good. 🎉 Approved your PR. @juanfra please resolve the any conflicts that have arisen. |
Hi @paaljoachim! Thanks for the follow-up. Yes, I merged the changes to this branch once it was merged. Everything is passing now, I'm waiting for a new approval + merge from @kirilzh Thank you both :) |
Congratulations on your first merged pull request, @juanfra! We'd like to credit you for your contribution in the post announcing the next WordPress release, but we can't find a WordPress.org profile associated with your GitHub account. When you have a moment, visit the following URL and click "link your GitHub account" under "GitHub Username" to link your accounts: https://profiles.wordpress.org/me/profile/edit/ And if you don't have a WordPress.org account, you can create one on this page: https://login.wordpress.org/register Kudos! |
Congratulations @juanfra ! |
Thanks @MichaelArestad, Yeah, I agree, I could add that for viewports between I'd be happy to push this fix :) |
@juanfra Good question. I quickly picked an arbitrary number of |
Thanks @MichaelArestad! Added a new PR with the changes #23487 |
* Change selector to match updated classes See WordPress/gutenberg#22390 See WordPress/gutenberg@e318033 * Use nth-of-type (element has moved)
👋 Hello gutenfriends,
Description
I have implemented the changes proposed in this issue: #19175
The idea is to have a more clean and clear layout for the publish panel.
How has this been tested?
I have tested the changes by opening the page editor, and trying to publish a page. Checking that the buttons respond as they should, and that the changes represent the decisions taken in the issue. I have also ran tests, and update snapshots.
Tested:
Screenshots
Types of changes
Checklist: