Trying out the latest version I see the new option to save as a draft, which is great. But I am confused about the new options.

There is a radio for 'leave' or 'stay'. I cannot figure out what that means or how that should work.

Also there is no submit button, so when I try to enter a new style name when I first use this, I can't figure out a way to submit the form. After digging into the code I realized the submit buttons are there, but are below the visible part of the page so they can't be used. I am using Firefox on a Mac, in case that is a browser issue.

CommentFileSizeAuthor
#2 sweaver.patch3.32 KBkarens

Comments

karens’s picture

Playing around with this -- it looks like there are a lot of new options, too many to really fit in the panel. It would save some space to use select boxes instead of radio buttons since the radio buttons each take up two lines.

karens’s picture

StatusFileSize
new3.32 KB

This patch to change them to select boxes got everything to fit in the panel for me.

I think the leave/stay terminology should be changed to something like 'leave draft mode' and 'stay in draft mode' to make that more clear. I'm still not clear on what draft mode actually does, but at least that makes the options easier to understand. I didn't put that into the patch.

swentel’s picture

Status: Active » Fixed

Makes more sense indeed creating select boxes. I was also playing around with CSS but the interface really got cluttered up with all the radio boxes. Committed the patch and also changed the labels of 'leave' and 'stay' into your suggestions, makes more sense too. Committed, thanks!

The difference between 'save as active' and 'save as draft' is this:

1. Save as active: save current styling and set it is as the active style for this theme. The style will be saved in both the 'live' and 'draft' table. After saving, this style is visual for every visitor of the site (loaded from the live table).
Edit: The loading from the draft table is wrong, it actually loads the style from the live table after setting a style active.

2. Save as draft: Save the current styling *only* in the draft table. This means that only you as the editor will see the changes. The visitor of the site will see either
a) nothing, because for this style there is no configuration written yet in the live table
b) the old version of the style you have saved before as active.

The sub options for save as draft:
i) stay in draft mode: save the draft and afterwards load the draft version of this style
ii) leave draft mode, save the draft and afterwards load a potential active style for this theme.

It seems confusing at first but after a few brainstorm sessions, we think this is a good workflow. The only thing missing here is visual information somewhere in the editor what you are actually looking at, because especially with the 'leave draft mode' option, this can get *very* confusing. Opened an issue for that at #908664: Better information in the editor about the current state of the style.

Hope the info is clear enough :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.