WordPress / WordPress/pattern-directory

Creator: Block settings toggle button doesn't work

Open
#561 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Component] Pattern Creator
Dominant language
PHP
Stars
134
Forks
46
Avg merge
9h 4m
Merged PRs (30d)
19

Description

From https://github.com/WordPress/pattern-directory/issues/554#issuecomment-1450907452

Also, I think I've found another issue. The block options (settings) sidebar panel behaves somehow strange:
First, it does not open when I am editing a block. I need to enable it in "More tools & options" menu in the upper right corner (the 3 dots).
And then, when I close the panel, I can no longer open it. And yet, it has checkmark in the "More tools & options" menu even if it's closed/hidden.

To reproduce:

  • Edit or create a pattern
  • The "Settings" sidebar toggle in the header should be visible Screenshot 2023-03-15 at 6 01 09 PM
  • Click to open the sidebar, it should open to the Pattern tab unless you had a block selected, in which case it will open to the Block tab.
  • The icon is now white on black, active state
  • Try closing the sidebar (either with the X or by clicking the icon again)
  • The sidebar disappears, but the icon is still white on black, active state
  • Click the icon again to open the sidebar
  • Nothing happens

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Settings sidebar toggle while editing or creating a pattern, following the steps in the issue. Check the header toggle, its active state, and the sidebar behavior after closing it; done means the toggle can reopen the sidebar and reflects its actual visibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.