WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.41k stars 4.16k forks source link

Block Editor: Add ability to reorder or rearrange or move sidebar panels #56009

Open Pcosta88 opened 11 months ago

Pcosta88 commented 11 months ago

Description

The classic editor has the ability to click and hold and drag legacy sidebar panels like "Categories" or "Tags" or "Featured Image" or "excerpt" etc.

In Gutenberg it seems some newer sidebar panels (that either appear in the sidebar automatically after plugin installation) or get moved there from the bottom of the post have chevrons that you can click on and move up and down.

However, no such Chevron or reordering ability appears for these legacy sidebar panels.

Screenshot_2023-11-09_at_12_38_24_PM

I was expecting these legacy sidebar panels to have said ability. Since they do not, it seems to be a bug

Testing Note

I put the Classic Editor plugin on the site and rearranged the sidebar panels. I then switched to Gutenberg to see if they stayed moved. They did not.

Step-by-step reproduction instructions

  1. Look at side bar and see that you cannot move those legacy panels.

Screenshots, screen recording, code snippet

No response

Environment info

Happens with Chrome and FireFox Happens on a v6.4 install without plugins and a basic theme like 2023

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Wato1818 commented 8 months ago

I feel like one way of moving towards this feature is by first being able to do this programatically. If the panel components get a consistent class name or id, we could target them and add the order css rule to change their position, after we add grid to the container.

The class names or ids can be the same as the name of the component itself:

brandonhundt commented 5 months ago

I would love to see this ability for our editor team. We have so many custom taxonomies that it pushed the Featured Image really far down the column and we can't move it higher for them. Thank you!

nisbet-hubbard commented 1 month ago

Depends on https://github.com/Automattic/wp-calypso/issues/74876 but [Pri] Low.