feat(block-editor)!: add-block picker and insert between blocks #100
Loading…
Reference in a new issue
No description provided.
Delete branch "task/pienter-ui__block-editor-ux__add-picker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stacked on #97. Replaces the per-type add-button row with one Add block button and a type picker (
DropdownMenu; searchableCommandwhenblockTypes.length > 8orsearchable), plus an insert button on each row (before that row) that opens the same picker. New/inserted blocks open in the pane.Also:
DropdownMenugainsanchor(shared menu, several triggers) and a fix — it stayed visible while closed because itsdisplay: flexbeat the UA rule hiding a closed popover.Breaking:
addLabelis a string now. Playground: 9 section types, so the Pages form gets the searchable picker.Checks: typecheck, lint, format, bun test (139), build:vue, build:storybook, Overlay + BlockEditor play tests (26) green; Chrome: insert via searchable picker on the Pages form, menu picker in Storybook.
Layout/IndexstoriesDefaultandInvalid Sort Configurationfail, identically on the parent branch (unrelated).To judge in review: insert buttons always visible on touch; one extra tab stop per row; clicking another insert button while the menu is open only closes it.
Goal: pienter-ui__block-editor-ux, ticket 30.