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
Comments
Not necessarily a solution, but if you change your |
Yea, it's better. But how do I get full preview mode with this settings? |
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. |
@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. |
@modmod24 thanks for the explanation. And plus one to the discussion proposal |
I also found the behaviour confusing as a new user. |
Expected behavior: For me, I'd expect to have a 3 state switch split:
We use this for reference too not only to Edit. Split mode sometimes the code wraps and is not easy to read. |
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? |
@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). |
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:
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
Environment
I'm not sure if this is desired or I am only misusing it.
The text was updated successfully, but these errors were encountered: