-
Notifications
You must be signed in to change notification settings - Fork 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
Task: change different order in the block transforms menu #67635
Comments
Opened an issue about this today -- In Core, we're auditing block transforms WordPress/gutenberg#63635 and I wanted to note how prominent and confusing the paid content transform on WordPress.com is as part of looking across our products. Here's an example from the blog home template on my personal nomad.blog site: paid.content.transform.movI'm curious how effective this is, especially if we have any data, and whether we can make it more specific. For example, it shouldn't appear for a site title or menu but I can understand why it might show up for group blocks. Either way, it's currently taking up precious real estate visually, despite not being a common use case. |
Yeah; leaving the transform appear in top 3 just for container blocks makes sense, and can be lower/below the core blocks for the other blocks. |
@obenland is there a .com team who could tweak the transform priorities on WP.com? See Anne's feedback above. This could be pretty straightforward. |
I looked into this a bit. Transformations are listed in the order that blocks.registerBlockType calls are made, with an additional orderBy for frecency. It appears that core/blocks are registered after plugin blocks. Generally, I think it would make more sense to register core blocks before plugin blocks. |
Any existing Gutenberg issues about this or wanna write a suggestion? |
Details
Currently “premium content” and “conversation” seem to always appear as the top suggestions in the transforms menu:
In many cases, basic core blocks like "columns", "heading", "list", "paragraph" should be suggested first and less frequently used Premium content (and especially" conversations") should be lower in the list.
On an older Atomic site with Business plan:
In above screenshots some other CoBlocks plugin blocks also appear on top, so this could be another core bug like we had before with global styles lists.
Checklist
No response
Related
WordPress/gutenberg#40208
The text was updated successfully, but these errors were encountered: