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

Disable preview? #1767

Closed
Asitis opened this issue Mar 29, 2018 · 24 comments
Closed

Disable preview? #1767

Asitis opened this issue Mar 29, 2018 · 24 comments
Labels
feature request 🌟 Issue is a new feature request.

Comments

@Asitis
Copy link

Asitis commented Mar 29, 2018

I'm loving the app, but I have a minor request/annoyance; the preview-mode for me is not useful as I use it mostly for code snippets and plain-text notes. It would be nice to have a toggle to disable Preview, and just keep all notes open in the Editor mode.

Now I know I can set it fixed to splitscreen with Edit and Preview mode, but then the Preview mode just takes up space. I think it's a minor edit, would mean a lot to the value I find in the app!

@Rokt33r Rokt33r added the feature request 🌟 Issue is a new feature request. label Mar 29, 2018
@Rokt33r
Copy link
Member

Rokt33r commented Mar 29, 2018

I agree with you. Markdown actually isn't supposed to be always rendered. So, I've thought that some one probably do not want to see preview at all.

@Rokt33r
Copy link
Member

Rokt33r commented Mar 29, 2018

But, we need to think how should we present the option as UI.

@Asitis
Copy link
Author

Asitis commented Mar 29, 2018

That's easy, I think; in the Preferences > Interface, add a checkbox under Preview and label it 'Disable preview'. Or you might edit the Toggle Mode on the Note view to give three options: Preview View, Double View, Editor View. Just my thoughts on the matter, and thank you for being open to the idea, and responding so fast!

Edit: another nice way to implement it would be to be able to select a default view in the preferences (Editor Mode, Dual Mode, Preview Mode) which all new notes start with, and then have the view-toggle with the three options be note-depended. So then users can set their note to the preferred view for each note individually :)

@hidaiy
Copy link
Contributor

hidaiy commented May 23, 2018

I am glad that the markdown editor can always display the editor mode.

If the state of the lock button displayed in editor mode is remembered like a toggle button, this problem may be solved.

This code is in WIP, but I tried saving the state of the lock button.
https://github.com/hidaiy/Boostnote/tree/develop

@IssueHuntBot
Copy link

@hidaiy has started working. Visit this issue on Issuehunt

@Rokt33r
Copy link
Member

Rokt33r commented May 24, 2018

@Asitis
I think this should be enough. How do you think?

screen shot 2018-05-24 at 2 58 38 pm

@hidaiy
Please stop working this for now. We're going to cancel the deposit of this issue. I think this issue must be discussed more.

@hidaiy
Copy link
Contributor

hidaiy commented May 24, 2018

@Rokt33r
OK. I'll stop this work.

@IssueHuntBot
Copy link

@hidaiy has stopped working. Visit this issue on Issuehunt

@Rokt33r
Copy link
Member

Rokt33r commented May 24, 2018

@hidaiy I'm sorry. 😢

@Asitis
Copy link
Author

Asitis commented May 24, 2018

@Rokt33r; that looks good :D Maybe add an option to disable it entirely for just textual notes without need for markup?

@ehhc
Copy link
Contributor

ehhc commented May 24, 2018

@Asitis maybe we could include a note type "Plain Text" or something like that..

@msm-code
Copy link

Hi, I just downloaded boostnote and started testing it. Overall I really like it, but I have the same problem as the author of this issue.

I find split panel very distracting, and I really prefer to always have markdown-view (preferably as default) or (rarely) rendered view. I think most markdown editors have three states - "editor", "render" and "both / split-screen". Option to completely disable preview works for me too.

Of course I know that everyone have a different needs, just wanted to share my feelings. Thanks for working on this project.

@Rokt33r
Copy link
Member

Rokt33r commented May 31, 2018

@Asitis @ehhc
Hmm, now I've changed my mind. I think disabling preview option is quite reasonable when thinking the origin of Markdown. It's designed to present some document format in plain text.

@hidaiy
You can start to work it again. But, I think we have to append this option to Switch to Preview, in the above screenshot.

@hidaiy
Copy link
Contributor

hidaiy commented May 31, 2018

@Rokt33r
Ok I'll try 😄

@jonblack
Copy link

jonblack commented Jun 6, 2018

Why not just make the "Toggle Mode" a tri-state? Sometimes I want the preview (plant-uml for example) and other times I don't. Having to go into preferences every time would be irritating.

mode_toggle

So in the above image, the green toggle button would have three states instead of two.

@nmearl
Copy link

nmearl commented Jun 18, 2018

Was this changed recently? I feel like a few versions ago, it was either editor view or preview view, and it was great. Now we're unable to have an editor-only view?

@kazup01 kazup01 added the bounty label Nov 7, 2018
@reyes-c1
Copy link

I agree with it needing to be 3 state. If I'm editing I want to see split view sometimes and full editor sometimes. If I am not editing I only want to see preview. What's the point of putting all the markup in there if you never get to see the preview? I guess if you are only using it for plaintext like Asitis then that makes sense. Different people will use it differently. With 3 state people can work how they want.

@marksher
Copy link

I just came across this issue when searching for how to disable preview. It seems to be implemented now, so I just wanted to close this for anyone that comes across this in case they missed the feature like I did. #1693

@akmur
Copy link

akmur commented Mar 6, 2019

I am not sure it is the same as described in this issue, is it? Maybe I cannot find the setting, but what I am looking for is to always see the markdown view, and optionally switch to preview mode. Is this possible already?

@Flexo013 Flexo013 added funded on issuehunt 💵 Issue has received funding that will be rewarded to the contributor solving this issue. and removed 💵 Funded on IssueHunt labels Jul 25, 2019
@Flexo013
Copy link
Contributor

Flexo013 commented Aug 6, 2019

@Asitis Would a solution be to make the lock on editor only mode persistent when switching between notes?

@akmur This is currently not possible. #236 contains plans for implementing this.

@Flexo013 Flexo013 removed the funded on issuehunt 💵 Issue has received funding that will be rewarded to the contributor solving this issue. label Oct 20, 2019
@Flexo013
Copy link
Contributor

The preview can be disabled by hitting the lock button at the top:
image

@yujingz
Copy link

yujingz commented Oct 27, 2019

This lock button is a pretty bad UX practice :(

@Flexo013
Copy link
Contributor

@yujingz Could you elaborate on why it is bad and what we could do to improve this bad UX?

@sjtindell
Copy link

Really needed and appreciate this feature, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request 🌟 Issue is a new feature request.
Projects
None yet
Development

No branches or pull requests