Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Page Drafts
#1
I am working on implementing page drafts and there are some outstanding issues i would love to get user input on.

The feature issue is here
https://github.com/GetSimpleCMS/GetSimpleCMS/issues/570

The remaining issues basically come down to showing additional information needed to page drafts, while behaving exactly like page editing now, but with some extra functionality needed for drafts, I have drafted and mocked up a ton of flow and layout concepts, and they all sucked as they made the editpage way cluttered and altered its layout. Also we cannot use tabs for draft switching since we already have 2 tabbed sections now, and although familiar, it would be confusing.

So I came up with this pagestack UI that i have been playing with, and I am hoping people like it, but i do want input before I go any further. The main plumbing is done, so this is just the finishing touches that need to be decided.

There are also some open questions about page drafts that need to be worked out, listed in the issue.

Namely, what do we call a page that is not the draft version , the "non-draft page".
I am calling it "published" but this might be confusing down the road if we have actual page publishing for "toggle public or not" functionality, in which a page will actually be published publicly or not, this is different that drafts, pages, in that pages can be both public and have a draft version at the same time.

So theres that. There is also the issue of new pages, if we create new pages in draft mode, then we need to figure out how to show them in pages list. Which also means enumerating all drafts and adding flags to pagecache probably. This will probably be done and implemented regardless, but it is not yet done.

As of now, you must save the page first before a draft can be used for it, this is a kind of workaround so it works with our current page list and page cache system.

I also do NOT want and separate interface or page for drafts, no draft pages list, or edit draft instead of edit page.

I also want to know how people work. I know I would have reason to modify a page to add tags etc, but would also have a draft already in progress, so the live edit mode was implemented. Also on a site with pages that are not used often or does not have visitors, you might want to edit stuff in real time, but you also would want drafts for those large redos of the entire page or change its template for template building on a live site. This allows both. Drafts also give the benefit of autosaving your work. So having it the default seemed to have many cons.

But maybe someone wants to always edit live by default and manually create drafts as necessary. Do we add a option to swap this behavior? Or do we want to add draft edit links to the page list,I decided against it for clutter and compatibility reasons, alos page lists will probably be redone in 3.5.

Of course drafts can also be disabled entirely for those that do not need it.


posting a quick video in a bit
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
Page Drafts - by shawn_a - 2014-09-17, 06:33:53
RE: Page Drafts - by shawn_a - 2014-09-17, 06:43:11
RE: Page Drafts - by shawn_a - 2014-09-17, 09:22:55
RE: Page Drafts - by hameau - 2014-09-17, 18:41:39
RE: Page Drafts - by shawn_a - 2014-09-17, 22:41:22
RE: Page Drafts - by hameau - 2014-09-18, 03:45:42
RE: Page Drafts - by shawn_a - 2014-09-17, 23:16:22
RE: Page Drafts - by shawn_a - 2014-12-06, 08:45:18



Users browsing this thread: 1 Guest(s)