Automattic / Automattic/jetpack
Blocks availability: Make messages on unavailable blocks more actionable
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
#### Steps to reproduce
1. Start with creating new post with `Markdown` and/or `Form` block
2. Disable these modules in wp-admin/admin.php?page=jetpack_modules
3. Open recently created post in Gutenberg editor
4. See block unavailability messages for these blocks
#### What I expected
To see more actionable items (links, buttons) on these blocks e.g.:
- To be able to have an "Activate" button to activate the missing module
- "Learn more" link to find out why I see this
#### What happened instead
I get not a really helpful message:
"Your site doesn’t include support for the "jetpack/contact-form" block. You can leave this block intact or remove it entirely."
#### Screenshot / Video

#### Primary issue
#32401
Contributor guide
Research direction
Reproduce the unavailable Markdown and Form blocks in the Gutenberg editor after disabling modules through wp-admin/admin.php?page=jetpack_modules. Review the handling of the displayed block-unavailability message and the primary issue #32401; done means the message provides the requested activation and learning paths for unavailable blocks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, react, wordpress
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100