-
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: Trash view should default to table layout. #63138
Pages: Trash view should default to table layout. #63138
Conversation
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. |
Size Change: +21 B (0%) Total Size: 1.76 MB
ℹ️ View Unchanged
|
Could you explain why? I thought it's quite nice that you can preview the trashed posts. |
This one was a hangover from #59659, originally added by Saxon. You're still able to preview trashed posts by switching layout. But generally speaking when you visit the Trash it's because you want to restore a specific item(s), or empty trash. In neither case do you really need the preview, and the Table layout is better optimised for bulk actions. I'd welcome more design feedback, but this is working well for me. |
This comment was marked as off-topic.
This comment was marked as off-topic.
cc: @WordPress/gutenberg-design as this one is pending additional design feedback. |
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.
It's working for me. Let's do the same in the Posts data view, either here or separately :)
It looks like performance tests started failing on trunk after this PR got merged. You can find example trace here: https://github.com/WordPress/gutenberg/actions/runs/9905030088. |
Thank you for the heads up @Mamaduka, everything was passing when this PR was merged probably some conflict with another change. I'm trying to fix the issue. |
This reverts commit 905b41d.
Co-authored-by: jorgefilipecosta <[email protected]> Co-authored-by: jameskoster <[email protected]> Co-authored-by: ellatrix <[email protected]>
Part of #63128.
Makes the page trash view default to the table view.
cc: @jameskoster
Testing Instructions
I opened the pages list at wp-admin/site-editor.php?postType=page.
I switched to the trash view, and I verified the default view type of that view was table, while for the other the default list was kept.