WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#22083 closed enhancement (fixed)

Improve the media-new.php screen

Reported by: ocean90 Owned by: helenyhou
Milestone: 3.5 Priority: high
Severity: normal Version: 3.5
Component: Media Keywords: ui-feedback ux-feedback needs-patch
Focuses: Cc:

Description

With #21391 we have the new screen for attachment edits.

nacin:

media-new.php shows the old form. (Keep in mind it allows for multiple uploads at once.) What should this workflow be? I don't know yet.

(ticket:21391#comment:37)

So ideas are welcome. How can we improve it?

See also http://wordpress.org/support/topic/suggestion-for-media-add-new-screen-upload?replies=1

Attachments (1)

22083.diff (471 bytes) - added by helenyhou 8 years ago.

Download all attachments as: .zip

Change History (14)

#1 follow-up: @helenyhou
8 years ago

Tempted to say change the "show" link to "edit" and just link to the new edit screen, even though that removes the convenience of uploading and editing the details of a batch at once.

#2 in reply to: ↑ 1 @nacin
8 years ago

Replying to helenyhou:

Tempted to say change the "show" link to "edit" and just link to the new edit screen, even though that removes the convenience of uploading and editing the details of a batch at once.

Let's do it.

#3 @nacin
8 years ago

  • Priority changed from normal to high

#4 @nacin
8 years ago

  • Owner set to helenyhou
  • Status changed from new to assigned

#5 @DrewAPicture
8 years ago

The show/hide links only show if you upload multiple files. So is it possible to detect if you've only uploaded a single file, and if so, redirect to the edit UI for that item?

#6 @DrewAPicture
8 years ago

What I tried to say in comment:5 was, when you upload a single file, the show/hide box is already expanded, correct? And if you upload multiple files you get a list of collapsed items. If we change 'Show' to an edit link, we also need to account for what happens when single items are uploaded. Do we just leave it collapsed and replace 'Show' with 'Edit'? Or perhaps redirect them directly to the edit screen?

#7 @JerrySarcastic
8 years ago

  • Cc fittingsites@… added

#8 @nacin
8 years ago

In 22751:

Split media-new.php and media-upload.php into distinct files.

  • media-new.php will remain the entry point for uploading isolated files, and for using the browser-based uploader (versus Plupload).
  • media-upload.php is the legacy (pre-3.5) media uploader.

see #22083.

#9 @nacin
8 years ago

In 22752:

Remove cruft from media-new.php. No need to keep extra parameters around (including post ID, which is always 0 here). see #22083.

#10 @nacin
8 years ago

In 22755:

Have media-new.php return simple rows of basic attachment data, with an 'Edit' link next to each taking them to post.php (in a new window). Not ideal, but this is largely a fallback screen at this point.

This is bolted on to existing code, the vast majority of which is destined to be ripped out in 3.6 once things settle.

see #22083.

@helenyhou
8 years ago

#11 @nacin
8 years ago

In 22759:

Revert accidental changes to admin/includes/media.php in [22755]. see #22083.

#12 @nacin
8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 22764:

media-new.php: Remove unused scripts, strings, error handling, save handling, and save button. fixes #22083.

#13 @nacin
8 years ago

In 22777:

Redirect post-new.php?post_type=attachment to media-new.php. see #22491, #22083, #21391.

Note: See TracTickets for help on using tickets.