-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Pages data view: Make 'View' button open a new tab #59554
Conversation
Size Change: +13 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
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.
Thanks for the PR!
This change was previously discussed and closed in #56737 😄 I prefer this change, but would like to hear from others if this change makes sense once again now.
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. |
As noted, I'd support either direction forward, and favor consistency here! |
Hah, I forgot about that conversation :) My opinion hasn't really changed – if we're going to use this icon then it feels more intuitive (to me) that the link opens in a new tab. |
I think it's OK to merge this PR, but is there any consistency that will be lost with this change or anything we should change in a follow-up? |
The main inconsistency would be the behavior of this button, and the 'View' link in wp-admin post type lists. They're equivalent buttons, but the latter does not open a new tab. |
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.
I think this change makes sense given the context within the Site Editor and Block Editor. Perhaps in the future, if post type lists become React-based, opening in a new tab will become the default. I approve this PR, but if @jasmussen has any concerns, please let us know.
Given that RC1 is today, I'm removing this from 6.5 as non essential. |
Since this will now be a 6.6 thing let's merge and see how it goes. It's a small change that's easily reverted if needed. |
What?
Update the 'View' button to open a new tab.
Why?
How?
Testing Instructions