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

Distraction free mode next steps #53012

Open
draganescu opened this issue Jul 27, 2023 · 3 comments
Open

Distraction free mode next steps #53012

draganescu opened this issue Jul 27, 2023 · 3 comments
Labels
General Interface Parts of the UI which don't fall neatly under other labels. Needs Design Feedback Needs general design feedback. Needs Technical Feedback Needs testing from a developer perspective. [Type] Enhancement A suggestion for improvement.

Comments

@draganescu
Copy link
Contributor

draganescu commented Jul 27, 2023

Starting the next WordPress release distraction free mode will be available for the site editor as well.

This is an important milestone for this feature proving its usefulness - albeit as a niche, power user improvement.

It is also a good time to figure out the next steps required to make this feature even more useful. Here are some items to figure out, each in their own explorations.

Detachable UI elements

In distraction free the UI should be easily invokable and easily dismissible.

Floating UI panels are a tried and true solution for this UI requirement.

The UI panels (list view, inserter, block inspector, document inspector) should be detachable and floating on top of the canvas.

Ideally one should be able to move them around in case they're obscuring the content to be edited.

Better modal experience

Most actions in the block editor today require that the user exits DFM to be able to perform them.

Floating UI panels are a good solution but this solution lowers the fidelity of the distraction free experience - floating UI is a distraction.

To maintain the fidelity of the experience a solution that keeps the modal aspect could work better. There is one modal experience today that can be a springboard for DFM improvements and is also modal: the command center.

The command center should be improved to allow multi step actions:

  • Media library search results previe
  • Publishing flow steps
  • Inserting blocks and patterns

The block editor should be improved to allow dynamically registering commands that act on blocks. Basic actions are already available (see #52509) but more complex actions are impossible to register currently:

  • Change current block design props
  • Change duo tone and other filters
  • Change alignment and layout

These commands appear to require improvements to both how command center handles callbacks and also how were able to register them.

A more seamless experience overall

Distraction free mode can also work as an excellent preview tool while building design or producing content. Ideas to explore:

  • Allowing interactivity API behaviors to be toggled on while DFM is active (eg showing the drop-down of menus on hover, opening image modals)
  • Allowing navigation to internal content via simple user actions (see Demo cmd click for navigation while editing #49582)
@draganescu draganescu added [Type] Enhancement A suggestion for improvement. General Interface Parts of the UI which don't fall neatly under other labels. Needs Design Feedback Needs general design feedback. Needs Technical Feedback Needs testing from a developer perspective. [Type] Overview Comprehensive, high level view of an area of focus often with multiple tracking issues labels Jul 27, 2023
@annezazu annezazu removed the [Type] Overview Comprehensive, high level view of an area of focus often with multiple tracking issues label Aug 31, 2023
@annezazu
Copy link
Contributor

With one month left ahead of 6.4 beta 1, moving this out of the 6.4 board to allow more time for this work to be clarified and broken down further.

@meaganhanes
Copy link

Would love to see this bumped!

@draganescu
Copy link
Contributor Author

@meaganhanes awesome! Which parts of the issue above would be most impactful to you and your workflows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
General Interface Parts of the UI which don't fall neatly under other labels. Needs Design Feedback Needs general design feedback. Needs Technical Feedback Needs testing from a developer perspective. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants