-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Allow selecting what views should be available from the Layout button #1900
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 #2028. |
…e available from the Layout button (laurent22#2028) * Added options for selecting layout * Toggle through the layouts based on config * Used redux state for getting layout settings * Removed duplicated strings for layout options * Moved option for selecting layouts to "View" menu
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:
And that option should be linked to the behaviour of the Layout button.
The config option should be added to
models/Setting.js
while theNOTE_VISIBLE_PANES_TOGGLE
action should be modified to support this new option.The text was updated successfully, but these errors were encountered: