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

Toggle view mode switch unintuitive behavior #2196

Open
hioneda opened this issue Jul 9, 2018 · 9 comments
Open

Toggle view mode switch unintuitive behavior #2196

hioneda opened this issue Jul 9, 2018 · 9 comments
Labels
discussion 💬 Issue concerns a discussion. improvement request 🔨 Issue concerns an existing feature that needs improvement.

Comments

@hioneda
Copy link

hioneda commented Jul 9, 2018

Current behavior (v0.11.7)

When I click in the switch, it either goes to the splitted view mode (editor + preview) or to full edit mode. If I click outside the button anywhere blank (or click and hold the switch) in the topnavbar:

image

It changes to full preview mode. And when I click anywhere in the preview, it changes to full edit mode.

Expected behavior

For me, I'd expect to switch from split mode (edit + preview) to full preview mode. When I click anywhere besides the switch, I expect the mode not to change.

Steps to reproduce

  1. Click in the switch so the green indicator is to the right;
  2. Click anywhere in the topnavbar without a button;
  3. Click inside the preview panel

Environment

  • Version : v0.11.7
  • OS Version and name : MacOS (either Sierra or Mojave)

I'm not sure if this is desired or I am only misusing it.

@victorbrca
Copy link

Not necessarily a solution, but if you change your Preferences => Interface => Switch to Preview to On Right Click it takes care of that.

@hioneda
Copy link
Author

hioneda commented Jul 10, 2018

Yea, it's better. But how do I get full preview mode with this settings?

@horida
Copy link

horida commented Sep 20, 2018

I don't understand why this is closed. In 0.11.9 one can still just switch between "editor + preview" and "editor only" view. The only way to get the "preview only" view is by clicking on the toggle and move the cursor (still hold) outside the toggle area.
It would be really nice to have a "preview only" view "easy" and "nicely" to access".
Thanks

@ghost
Copy link

ghost commented Sep 20, 2018

@horida you can change the behaviour in the preferences. The purpose of the button is to switch between editor modes. It is not meant to be used to switch between views. This is why the issue has been closed, the behaviour is intended.

It seems several (new?) users of Boostnote are finding the current behaviour as confusing, as similar issues have been reported before. To address this we could open a discussion that focuses on a cleaner solution.

@horida
Copy link

horida commented Sep 21, 2018

@modmod24 thanks for the explanation. And plus one to the discussion proposal

@justinezahiri
Copy link

I also found the behaviour confusing as a new user.

@ZeroX-DG ZeroX-DG added the improvement request 🔨 Issue concerns an existing feature that needs improvement. label Feb 1, 2019
@web506
Copy link

web506 commented Apr 10, 2019

Expected behavior:

For me, I'd expect to have a 3 state switch split:

  • Split Mode
  • Edit mode
  • Preview mode

We use this for reference too not only to Edit. Split mode sometimes the code wraps and is not easy to read.

@Flexo013 Flexo013 added the discussion 💬 Issue concerns a discussion. label Oct 29, 2019
@Flexo013 Flexo013 changed the title Toggle mode switch weird behavior Toggle view mode switch unintuitive behavior Oct 29, 2019
@Flexo013
Copy link
Contributor

Maybe this could be a good compromise for both existing and new users:

The view toggle switch does get three states: split, full edit, full preview. But the current behavior of switching views remains the same by default. So when clicking outside the full editor you still get the full preview. This is then also reflected by the toggle switch changing its state automatically.

The lock button that is next to the toggle switch would simply turn off the automatic switching behavior and lock the current view mode. Even when the lock is active the user can still manually change the view with the toggle switch of course.

What are your thoughts on this solution?

@b-rhodes
Copy link

@Flexo013 that sounds good. That way when someone "finishes" a note, they can have it permanently show as the preview, and be uneditable (unless they untick the lock).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion 💬 Issue concerns a discussion. improvement request 🔨 Issue concerns an existing feature that needs improvement.
Projects
None yet
Development

No branches or pull requests

8 participants