Ticket #3945 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

More full-featured draft management

Reported by: foolswisdom Assigned to: mdawaffe
Priority: normal Milestone: 2.3
Component: Administration Version: 2.2
Severity: normal Keywords:
Cc:

Description

More full-featured draft management

Attachments

3945.diff (18.6 kB) - added by mdawaffe on 05/27/07 00:18:27.
3945b.diff (17.6 kB) - added by mdawaffe on 05/27/07 01:13:31.
for posts. all on one tab. pagination may need some work
3945c.diff (17.7 kB) - added by mdawaffe on 05/27/07 01:35:23.
pagination tweaks
3945d.diff (18.5 kB) - added by mdawaffe on 05/27/07 04:35:23.
posts and pages
3945e.diff (25.3 kB) - added by mdawaffe on 05/28/07 03:20:59.
posts, pages, h2 from query, i18n

Change History

03/10/07 02:28:03 changed by rob1n

Can we squeeze this into 2.2? ;)

05/27/07 00:17:59 changed by mdawaffe

  • owner changed from markjaquith to mdawaffe.
  • status changed from new to assigned.
  • version set to 2.2.

It'd be nice to have drafts be on a separate page for easy reference. I've seen plenty of sites with over 100 drafts (who am I to question their workflow?) and the edit page gets insane.

Here's my proposal:

  1. Extend WP_Query to allow for post_status queries.
  2. Put Drafts on their own tab where we still separate out your own drafts from those of others.
  3. Like Manage -> Posts, make Manage -> Drafts searchable, monthable, and categoriable.

Patch accomplishes all of these, though will likely need some healthy tweaking.

Supercedes #4286.

05/27/07 00:18:27 changed by mdawaffe

  • attachment 3945.diff added.

05/27/07 00:40:48 changed by mdawaffe

rboren and I came up with what we think is a better idea.

  1. Keep it on the same tab.
  2. Combine Search, month, cat, and a new "what kind of post" (draft, future, private, normal, any) dropdown into one form.
  3. Default the dropdowns to any.

Advantages:

  1. more pivots, fewer tabs.
  2. can do the same for pages.

05/27/07 01:13:31 changed by mdawaffe

  • attachment 3945b.diff added.

for posts. all on one tab. pagination may need some work

05/27/07 01:15:08 changed by mdawaffe

3945b.diff - Just does posts, not pages.

  1. Same tab
  2. New post_status dropdown
  3. default for drops is any

05/27/07 01:35:23 changed by mdawaffe

  • attachment 3945c.diff added.

pagination tweaks

05/27/07 04:35:23 changed by mdawaffe

  • attachment 3945d.diff added.

posts and pages

05/27/07 04:36:44 changed by mdawaffe

3945d.diff

Does pages too. Same as posts, but no separation between your drafts and others' drafts.

05/27/07 05:49:04 changed by ryan

Both edit.php and edit-post-rows.php include navigation links, resulting in double sets of navigation.

edit-post-rows.php is included in an "if" block and in that block's inner "if" block. Looks like including it twice is possible. I couldn't get it to fall into both blocks though.

Would be nice if the h2 text updated to reflect the query.

Other than that looks good here.

05/28/07 03:20:59 changed by mdawaffe

  • attachment 3945e.diff added.

posts, pages, h2 from query, i18n

05/28/07 03:25:22 changed by mdawaffe

3945e.diff (make sure to delete any edit-post-pages.php copies from earlier patches before applying this one.)

  1. Navigation links fixed.
  2. Pasts: query by search terms, post_status, month, category.
  3. Pages: query by search terms, post_status.
  4. H2 element reflects query and is i18nized.

05/28/07 18:34:07 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [5575]) Better draft, private, and future post/page management from mdawaffe. fixes #3945

05/28/07 22:31:32 changed by ryan

(In [5583]) Nomenclature changes. see #3945

05/29/07 04:28:12 changed by ryan

(In [5587]) Post and page management filter additions from mdawaffe. see #3945