Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Discussion/Feature Idea - Toggle Preview controlled by editors #54

Open
NikRimington opened this issue Nov 23, 2018 · 4 comments
Open
Assignees
Labels

Comments

@NikRimington
Copy link

Stacked content now has the ability for preview to be enabled/disabled in the configuration of the editor and this is great, but I had a thought knowing that preview toggle was added for performance issues.

It would be useful if we could give editors the ability to toggle the preview on and off. This wouldn't be a setting that was saved but the default state could be configured in the configuration.

So my thoughts are this:

  1. Setting for enabling / disabling preview extended to be 3 states - Enabled / Disabled / Toggleable
  2. Additional setting of Preview Toggle default state - "Show / Hide"

If Toggleable is set then a toggle appears at the top of the editor for easy switching. between the two views.

It's just an idea, but if Stacked is being used for building long pages it could help have the page load quickly to get an overview of the content present and then let editors check what things are looking like (assuming devs are building the previews with that level of detail).

[Idea came from my thoughts of trying to reduce the number of times editors click the "preview" button and create "unnecessary versions" in Umbraco]

@leekelleher
Copy link
Contributor

Thanks for the suggestion @NikRimington!

We had a PR (#52) a few months back suggesting collapsible previews, (not to the extent that you've outlined). After a lot of discussion we declined the feature, here's our reasons: #52 (comment)

That said, I'm not ruling anything out yet. @mattbrailsford any thoughts?

@Webbist-dev
Copy link

I am still in favour of this

@mattbrailsford
Copy link

Ok, I'm coming round to the idea a little. I guess in some ways it's similar to when the doc type editor goes into sort mode so it could be a nice way for editors to switch between "Preview" and "Outline" mode depending on their preference.

Unlike #52 the idea of an "all or nothing" is what makes it more appealing to me atm so I'd be open to this version of it. UI / UX will need to be concidered in the implementation, but if you or @xanderakafonz wanted to give this a go on a new PR, I'd be happy to give my feedback.

@xanderakafonz appoligies for not giving this option as feedback on your PR, but I didn't really think of this alternative at the time.

@Webbist-dev
Copy link

I'll see what I can do over the holidays

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

4 participants