-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Post Publish Panel: Open view post links in a new tab #70127
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
Post Publish Panel: Open view post links in a new tab #70127
Conversation
652a8ea
to
c483a59
Compare
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
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.
24df417
to
3f95ebd
Compare
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.
LGTM 👍
target="_blank" | ||
rel="noopener noreferrer" |
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.
target="_blank" | |
rel="noopener noreferrer" | |
target="_blank" |
Nit: There is an effort to stop adding noreferrer
and noopener
. See #26914
95929d6
to
ef96606
Compare
* Post Publish Panel: Open view post in new tab * chore: fix import order * chore: update unit test snapshots * chore: update e2e tests * chore: update e2e test * fix: let the button stack up if the text is large * chore: update `publishPost` to use a11y locators * fix: simplify visiting published post logic * fix: remove rel attribute * chore: update snapshots Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: carolinan <poena@git.wordpress.org> Co-authored-by: HILAYTRIVEDI <hilayt24@git.wordpress.org>
What, Why, and How?
Closes #70126
This PR updates the
View Post
links in thePost Publish Panel
to open in new tabs, ensuring a smoother editing workflow by preserving the current editor session.Testing Instructions
View Post
.Testing Instructions for Keyboard
Same.
Screenshots
Screencast
post-publish-demo.mov