Joplin: Allow selecting what views should be available from the Layout button

Created on 26 Sep 2019  路  4Comments  路  Source: laurent22/joplin

The layout button toggles between Editor, Viewer and Split View. There should be an option to decide what mode should be available. For example, some users might only want the Editor and Viewer modes, but never need the Split View one.

To do so, a dropdown option named "Available layouts" should be added to the Config screen, with the following settings:

  • Editor / Viewer / Split View
  • Editor / Viewer
  • Editor / Split View
  • Viewer / Split View

And that option should be linked to the behaviour of the Layout button.

The config option should be added to models/Setting.js while the NOTE_VISIBLE_PANES_TOGGLE action should be modified to support this new option.

desktop enhancement good first issue hacktoberfest

All 4 comments

Hi! Do you still need help with this? If so I'd be glad to pick up this issue.

Sure, please do.

Hmm. Better still, I suggest, would be the option of multiple buttons, one per layout. The cycling/toggling feels a bit cumbersome. Ack that it's easy to stand here and chuck rocks: not my intention to be be negative.

@laurent22 This issue doesn't seem to have been worked on in quite some time, so I created a solution for it and sent PR at https://github.com/laurent22/joplin/pull/2028.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Cybernemo picture Cybernemo  路  3Comments

v-marinkov picture v-marinkov  路  3Comments

hakim89 picture hakim89  路  3Comments

christianlupus picture christianlupus  路  3Comments

smhearty picture smhearty  路  3Comments