Skip to content
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

Advocate for block-variation previews on .org/plugins at the meta team #836

Open
1 task done
carstingaxion opened this issue Aug 31, 2024 · 6 comments
Open
1 task done
Labels
blocks help wanted Extra attention is needed question Further information is requested
Milestone

Comments

@carstingaxion
Copy link
Collaborator

carstingaxion commented Aug 31, 2024

Describe your question

Currently the plugins repository on wordpress.org shows a list of all blocks a plugin contains.

IMG_0219

But this, unfortunately only happens for real, custom blocks, that ship with a block.json file. A block-variation in general, and like so also GatherPress’ 10+ new block variations, don’t have a block.json and will not have that nice visual overview as Mika and Jeremy pointed out on this fediverse thread.

IMG_0218

Not only, that this seems to be an unforeseen obstacle in GatherPress block transformation; this is not nice for every plugin author who is looking for best compatibility across different stacks.

In my opinion, block-variations (#626) do have so many advantages over custom blocks, that I believe they should get more attention!

Who is able to help?
Who do we need to ask for at the WordPress meta team?
Who knows the roadmap for the plugin pages on .org?

Code of Conduct

  • I agree to follow this project's Code of Conduct
@carstingaxion carstingaxion added help wanted Extra attention is needed question Further information is requested blocks labels Aug 31, 2024
@ryelle
Copy link

ryelle commented Sep 17, 2024

Your understanding of this is correct— that list uses block.json (or register_block_type) to parse out blocks. There's some history here: https://meta.trac.wordpress.org/ticket/5207. I would recommend opening a new meta ticket to start a discussion about adding block variation detection.

@carstingaxion
Copy link
Collaborator Author

Thank you for taking the time @ryelle .

Yes, the meta trac ticket brought some clarification to me, that it'll be not easily possible to trick the current parser with a faked block.json placed in the .wordpress-org folder (for example). One of the earliest ideas I had.

Opening a new meta ticket is probably the best way to go.

@carstingaxion
Copy link
Collaborator Author

Opened a meta.trac ticket for that – my first ever :
https://meta.trac.wordpress.org/ticket/7782

@carstingaxion carstingaxion moved this to In Progress in GatherPress Project Sep 23, 2024
@MervinHernandez
Copy link
Collaborator

QUEUE Discuss on October 25

  • Based on conversations and the meta trac ticket -- this is not something we need to address inside of GP project.
  • Mervin suggests withdrawing....or lowering priority.

@MervinHernandez MervinHernandez added this to the 0.32.0 milestone Oct 25, 2024
@MervinHernandez
Copy link
Collaborator

Discussed today - we want to keep the highlighted items visible to the public.
Mike: concepting a "block wrapper" so these stay visible in the plugin repo highlights.
@mauteri to dialogue with @carstingaxion on how to keep these items visible.

@MervinHernandez
Copy link
Collaborator

TBD Actions based on discussions among technical team members.

@mauteri mauteri moved this from In Progress to Icebox in GatherPress Project Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocks help wanted Extra attention is needed question Further information is requested
Projects
Status: Icebox
Development

No branches or pull requests

3 participants