Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Try: "Focus Mode". #8920
Not Ready To Merge
This PR explores introducing a potential "Focus Mode" to the editor. When enabled, the mode would reduce the weight of the visual interface and highlight only the current block that is selected while the rest fade away. Pairing it with the "fix toolbar to header" can offer a compelling setup for those that already know how to navigate an editor.
The aim is to provide a writing experience that can satisfy those that would prefer an environment with the least amount of distractions at the expense of tool clarity. I've been testing this and personally find it a very enjoyable mode to toggle when I just want to write for a bit.
Paired with a robust set of keyboard shortcuts it could be quite nice to use. In this sense, it'd be important to provide an easy keyboard shortcut to toggle the mode on and off.
Video showing it in action: https://cloudup.com/cwaVMa9NygI
If we were to add this in, here are a few tasks pending:
Yes, yes, yes! One of the issues I have heard people mention regarding Gutenberg is that it feels cluttered, so I think this is precisely the kind of thing Gutenberg needs for people who want a clean writing experience. This is definitely something that should be implemented.
Really excited about this. The biggest feedback around this comes from people really wanting distraction free, over what we have now being partially that (or more than than today). This gives people the option of how they want to experience and that is crucial when thinking about writing flows.
Bike-shedding here, but I'd think if we want focus on just what we're editing/have literally "in focus", we'd want to dim the title as well. Right now the title is just as loud and distracting as the content that's in focus, so I'd think dimming it would make sense.
This was referenced
Aug 17, 2018
referenced this pull request
Aug 24, 2018
I’m so glad this feedback has been listened too.
BUT, while I very much think this is a step in the right direction, it’s still quite the wrong solution. Mostly because it’s based on paragraphs-as-blocks, which is, in my opinion, the main barrier (other than the mass of UI popping in and out) to focussed writing.
When I’m writing I want to see what I’m writing...and what I just wrote. So dimming a block seems really weird. It’s novel, different, but it’s not (as far as I know) an established pattern for any text editor.
Ideally, in focus mode, I’d want:
I would also make the argument that this should be the DEFAULT Gutenberg editing experience, with the option of switching into a more advanced “block mode” if that is what’s needed. This would actually go a long way towards alleviating concerns that users might be scared off by the more advanced interface AND it solves the issue of what to call “Focus mode”.
At the very least, I’d want my own personal blog to have the focus mode on my default. So maybe could be a user-specific or site-wide option?
Good to see this is being considered. But please evolve the concept further.
This type of mode is really common. It's sometimes called "focus mode" or "typewriter mode". A few apps that have it: iA Writer, Calmly Writer, Ulysses, Typora, etc.
Sorry to be blunt, but this is a terrible idea. Constantly fading different elements is considerably more distracting than simply showing everything.
One of the reasons the existing Gutenberg writing/editing experience is horrible is because you insist on making every single paragraph a new block. For some reason you seem to think that people will simply move a whole block here or there when editing. Well, they won't. It's considerably more frustrating and time consuming having to copy/paste text from two dozen different blocks than it is from copying/pasting text within the same block. It should be up to the user to decide when to insert a new block, not Gutenberg. If I want to add multiple paragraphs to a block, I should be able to.
Either change the Paragraph block to allow multiple paragraphs, or better yet, get rid of it altogether and just have the Classic Block. I am absolutely dreading having to edit a text heavy page with 40 or 50 different individual blocks. It's going to be an absolute nightmare!