Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stay in the selected Sidebar (Inspector) tab when you switch blocks (for example the Styles tab) #51104

Open
2 tasks
aurooba opened this issue May 30, 2023 · 14 comments · May be fixed by #55836
Open
2 tasks

Stay in the selected Sidebar (Inspector) tab when you switch blocks (for example the Styles tab) #51104

aurooba opened this issue May 30, 2023 · 14 comments · May be fixed by #55836
Labels
[Feature] Inspector Controls The interface showing block settings and the controls available for each block [Feature] UI Components Impacts or related to the UI component system [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@aurooba
Copy link
Member

aurooba commented May 30, 2023

What problem does this address?

A lot of the times, when you are making rapid changes in the Block Editor, you are working on the same thing, for example, updating the background colour for all the groups in a certain section (a common scenario for me), and it feels cumbersome that every time you switch blocks, you have to then also switch over to the Styles tab again.

What is your proposed solution?

It would be nice if it would remember if you were in the Styles tab or the Settings tab and remain there as you rapidly go between blocks.

Related issues

@aurooba aurooba changed the title Stay in the selected tab when you switch blocks (for example the Styles tab) Stay in the selected Sidebar (Inspector) tab when you switch blocks (for example the Styles tab) May 30, 2023
@bacoords
Copy link
Contributor

👍

@JosVelasco
Copy link

Applying the same style to the sibling blocks with a click could also be cool.

@skorasaurus
Copy link
Member

related #18418 (although this ticket is for which tab should be open, not whether the tab is expanded.)

@skorasaurus
Copy link
Member

Applying the same style to the sibling blocks with a click could also be cool.

@JosVelasco If I understand correctly, this is already possible, through the copy styles in the block settings menu;
image

@JosVelasco
Copy link

@skorasaurus true! I was thinking about a more automatic approach, but copy styles are one of my favorite recent features.

@aurooba
Copy link
Member Author

aurooba commented May 30, 2023

@JosVelasco I think the automatic approach could have a lot of unintended side effects, and changing block styles without explicit user consent would be very jarring. I could perhaps see an application where there's a button/dropdown that lets you copy/implement the styles of a certain block, but since block labels aren't a thing, that wouldn't be feasible. So I'm not sure that would make sense.

@aurooba
Copy link
Member Author

aurooba commented May 30, 2023

related #18418 (although this ticket is for which tab should be open, not whether the tab is expanded.)

Definitely related! That issue is essentially the same request I'm making, except that one targets panels, and my request is for the tabs that house those panels (in many cases).

@james-s-k
Copy link

I also find it very tedious to have to keep switching back to the styles tab when a new block is selected. If the previously open tab was stored somewhere in memory and the next block you click on has the same tab open, that would be a huge UX improvement IMO.

@mrfoxtalbot mrfoxtalbot added [Type] Enhancement A suggestion for improvement. [Feature] Block settings menu The block settings screen [Feature] UI Components Impacts or related to the UI component system and removed [Feature] Block settings menu The block settings screen labels Jun 4, 2023
@mrfoxtalbot
Copy link

Thank you for opening this @aurooba. Would you say this is related to #48306 ?

@aurooba
Copy link
Member Author

aurooba commented Jun 4, 2023

@mrfoxtalbot its definitely within the same realm of ensuring the editor is reacting to the user in a helpful manner. I agree with you in that issue that it'd be nice if a panel that was revealed was then revealed anywhere it's available.

Both issues tackle different aspects of the same category of refinement, for sure. :)

@aurooba
Copy link
Member Author

aurooba commented Jun 4, 2023

Noting that Stackable's new UI already handles this, so we are seeing this come to third party block library plugins already, which is a sign of its usefulness.

AND it should be noted that this is a pretty common feature available in third party design tools that extend WordPress (block editor or otherwise).

@aurooba aurooba added the [Feature] Inspector Controls The interface showing block settings and the controls available for each block label Jun 4, 2023
@hanneslsm
Copy link

Can we please get some traction in this issue? What's needed to move this forward?

@bacoords
Copy link
Contributor

Just wanted to add context for anyone here that there was a draft PR but progress seems to have stalled after potential A11y concerns were surfaced.

#55836

@andronocean
Copy link

andronocean commented Dec 24, 2024

When using the block editor for substantial design work (FSE or complex page layouts) this becomes incredibly frustrating, as does the problem described in #41544. Really need a fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Inspector Controls The interface showing block settings and the controls available for each block [Feature] UI Components Impacts or related to the UI component system [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants