Add segmented button for switching current view

Use case or problem

With ‘Show editing mode in status bar’ set to ON in Editor settings, three problems arise:

  1. While the icon in the status bar reflects the current view, the top-right icon shows the mode you will switch to if you press it. Visually, the two icons conflict, which often leads to confusion, even if you’re an experienced user. (“Wait, what mode am I in again? Am I reading or editing?”) This is poor design. This sentiment is shared, for example, here and here.
  2. There’s no reason why these two toggles should be separate at all as they accomplish the same function; the second button is redundant. (Currently, the top-right toggle offers a binary choice of ‘Reading’ vs ‘Live Preview’, while the status bar toggle also offers “Source mode”.)
  3. It takes an additional click to switch to source mode, when a single click should do.


)

Proposed solution

All three of these issues would be solved by a segmented button. Here’s a quick mock-up:

Screenshot 2024-10-13 at 15-49-43 Segmented Button Mockup with Editing Icons - Claude

Ideally, one should be able to configure to display it in either top right or in the status bar.

Related feature requests

I completely forgot about mobile when requesting this :man_facepalming: A segmented button would be too clunky on a small screen w/o a major UI overhaul. I’ll reframe this request to a redesign of the status bar toggle then! I’ll leave the original post as is because I do believe the issue w/ conflicting icons is a valid one.