Automattic / Automattic/jetpack

Form Block: Default to showing form related blocks when inserting child blocks

Open
#27,145 0 comments 0 reactions 0 assignees View on GitHub
[Block] Form [Plugin] Jetpack Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### What

When a child block is added in the middle of a form, default blocks are shown such as paragraph and image (before clicking on the browse all button):

Screen Shot 2022-10-28 at 3 07 54 pm

Ideally the first block options that appear should be form related, such as text, name, email and consent.

Suggested in internal testing: p8oabR-Ym-p2#comment-6734

### How

As a continuation from this PR - https://github.com/Automattic/jetpack/issues/26889 - perhaps the new Form category can be shown by default.

Screen Shot 2022-10-28 at 3 06 47 pm

Contributor guide

Open the contributing guide

Research direction

Start with the Jetpack Form Block child-block inserter and review the continuation work referenced in issue #26889. Reproduce the insertion flow shown in the issue, then verify that form-related choices such as text, name, email, and consent appear before general blocks.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php, react, wordpress
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.